In [1]:
%matplotlib inline
import pandas as pd
import socket
host = socket.getfqdn()

from core import  load, zoom, calc, save,plots,monitor
In [2]:
#reload funcs after updating ./core/*.py
import importlib
importlib.reload(load)
importlib.reload(zoom)
importlib.reload(calc)
importlib.reload(save)
importlib.reload(plots)
importlib.reload(monitor)
Out[2]:
<module 'core.monitor' from '/ccc/work/cont003/gen7420/odakatin/monitor-sedna/notebook/core/monitor.py'>

If you submit the job with job scheduler, above¶

below are list of enviroment variable one can pass

%env local='2"¶

local : if True run dask local cluster, if not true, put number of workers setted in the 'local' if no 'local ' given, local will be setted automatically to 'True'

%env ychunk='2'¶

%env tchunk='2'¶

controls chunk. 'False' sets no modification from original netcdf file's chunk.¶

ychunk=10 will group the original netcdf file to 10 by 10¶

tchunk=1 will chunk the time coordinate one by one¶

%env file_exp=¶

'file_exp': Which 'experiment' name is it?¶

. this corresopnds to intake catalog name without path and .yaml¶

%env year=¶

for Validation, this correspoinds to path/year/month 's year¶

for monitoring, this corresponids to 'date' having * means do all files in the monitoring directory¶

setting it as 0[0-9] &1[0-9]& *[2-3][0-9], the job can be separated in three lots.¶

%env month=¶

for monitoring this corresponds to file path path-XIOS.{month}/¶

#

%env control=FWC_SSH¶

name of control file to be used for computation/plots/save/ & how it is called from Monitor.sh¶

Monitor.sh calls M_MLD_2D

and AWTD.sh, Fluxnet.sh, Siconc.sh, IceClim.sh, FWC_SSH.sh

  • AWTD.sh M_AWTMD

  • Fluxnet.sh M_Fluxnet

  • Siconc.sh M_Ice_quantities
  • IceClim.sh M_IceClim M_IceConce M_IceThick

FWC_SSH.sh M_FWC_2D M_FWC_integrals M_FWC_SSH M_SSH_anomaly

Integrals.sh M_Mean_temp_velo M_Mooring M_Sectionx M_Sectiony

%env save= proceed saving? True or False , Default is setted as True¶

%env plot= proceed plotting? True or False , Default is setted as True¶

%env calc= proceed computation? or just load computed result? True or False , Default is setted as True¶

%env save=False¶

%env lazy=False¶

For debugging this cell can help¶

%env file_exp=SEDNA_DELTA_MONITOR %env year=2012 %env month=01

0[1-2]¶

%env ychunk=10 %env ychunk=False %env save=False %env plot=True %env calc=True # %env lazy=False

False¶

%env control=M_Fluxnet

M_Sectiony ok with ychunk=False local=True lazy=False¶

In [3]:
%%time
# 'savefig': Do we save output in html? or not. keep it true. 
savefig=True
client,cluster,control,catalog_url,month,year,daskreport,outputpath = load.set_control(host)
!mkdir -p $outputpath
!mkdir -p $daskreport
client
local True
using host= irene6193.c-irene.mg1.tgcc.ccc.cea.fr starting dask cluster on local= True workers 16
10000000000
False
tgcc local cluster starting
This code is running on  irene6193.c-irene.mg1.tgcc.ccc.cea.fr using  SEDNA_DELTA_MONITOR file experiment, read from  ../lib/SEDNA_DELTA_MONITOR.yaml  on year= 2012  on month= 02  outputpath= ../results/SEDNA_DELTA_MONITOR/ daskreport= ../results/dask/6419109irene6193.c-irene.mg1.tgcc.ccc.cea.fr_SEDNA_DELTA_MONITOR_02M_IceClim/
CPU times: user 3.83 s, sys: 693 ms, total: 4.52 s
Wall time: 1min 32s
Out[3]:

Client

Client-97917075-13da-11ed-97bb-080038b94f59

Connection method: Cluster object Cluster type: distributed.LocalCluster
Dashboard: http://127.0.0.1:8787/status

Cluster Info

LocalCluster

c866d9a6

Dashboard: http://127.0.0.1:8787/status Workers: 64
Total threads: 256 Total memory: 251.06 GiB
Status: running Using processes: True

Scheduler Info

Scheduler

Scheduler-929294af-bc4a-4d18-bac3-1f634767b291

Comm: tcp://127.0.0.1:37458 Workers: 64
Dashboard: http://127.0.0.1:8787/status Total threads: 256
Started: 1 minute ago Total memory: 251.06 GiB

Workers

Worker: 0

Comm: tcp://127.0.0.1:45957 Total threads: 4
Dashboard: http://127.0.0.1:39026/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:34194
Local directory: /tmp/dask-worker-space/worker-uagzzxbi

Worker: 1

Comm: tcp://127.0.0.1:34934 Total threads: 4
Dashboard: http://127.0.0.1:44715/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:33835
Local directory: /tmp/dask-worker-space/worker-ywge_oxo

Worker: 2

Comm: tcp://127.0.0.1:40389 Total threads: 4
Dashboard: http://127.0.0.1:33307/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:37971
Local directory: /tmp/dask-worker-space/worker-62824nfm

Worker: 3

Comm: tcp://127.0.0.1:33667 Total threads: 4
Dashboard: http://127.0.0.1:46603/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:40247
Local directory: /tmp/dask-worker-space/worker-c07ul4o2

Worker: 4

Comm: tcp://127.0.0.1:44033 Total threads: 4
Dashboard: http://127.0.0.1:35614/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:39715
Local directory: /tmp/dask-worker-space/worker-1mp0p7fe

Worker: 5

Comm: tcp://127.0.0.1:38697 Total threads: 4
Dashboard: http://127.0.0.1:44252/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:46182
Local directory: /tmp/dask-worker-space/worker-0oqfjll8

Worker: 6

Comm: tcp://127.0.0.1:38209 Total threads: 4
Dashboard: http://127.0.0.1:40379/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:40685
Local directory: /tmp/dask-worker-space/worker-umkmxwjm

Worker: 7

Comm: tcp://127.0.0.1:40113 Total threads: 4
Dashboard: http://127.0.0.1:45385/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:32945
Local directory: /tmp/dask-worker-space/worker-v5csb2u8

Worker: 8

Comm: tcp://127.0.0.1:34031 Total threads: 4
Dashboard: http://127.0.0.1:43852/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:45340
Local directory: /tmp/dask-worker-space/worker-yfskcops

Worker: 9

Comm: tcp://127.0.0.1:43843 Total threads: 4
Dashboard: http://127.0.0.1:45178/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:42856
Local directory: /tmp/dask-worker-space/worker-a_49chq1

Worker: 10

Comm: tcp://127.0.0.1:42857 Total threads: 4
Dashboard: http://127.0.0.1:41087/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:34264
Local directory: /tmp/dask-worker-space/worker-afajyut1

Worker: 11

Comm: tcp://127.0.0.1:33579 Total threads: 4
Dashboard: http://127.0.0.1:39458/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:43224
Local directory: /tmp/dask-worker-space/worker-jthxykki

Worker: 12

Comm: tcp://127.0.0.1:33729 Total threads: 4
Dashboard: http://127.0.0.1:40684/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:44284
Local directory: /tmp/dask-worker-space/worker-x58rv_du

Worker: 13

Comm: tcp://127.0.0.1:37389 Total threads: 4
Dashboard: http://127.0.0.1:44493/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:36729
Local directory: /tmp/dask-worker-space/worker-sequ2xeu

Worker: 14

Comm: tcp://127.0.0.1:45033 Total threads: 4
Dashboard: http://127.0.0.1:36305/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:36577
Local directory: /tmp/dask-worker-space/worker-p_9me8vi

Worker: 15

Comm: tcp://127.0.0.1:41214 Total threads: 4
Dashboard: http://127.0.0.1:43231/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:36120
Local directory: /tmp/dask-worker-space/worker-iomfxe19

Worker: 16

Comm: tcp://127.0.0.1:43997 Total threads: 4
Dashboard: http://127.0.0.1:43498/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:42181
Local directory: /tmp/dask-worker-space/worker-_og7lrm9

Worker: 17

Comm: tcp://127.0.0.1:35935 Total threads: 4
Dashboard: http://127.0.0.1:39053/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:41986
Local directory: /tmp/dask-worker-space/worker-pixjzkcg

Worker: 18

Comm: tcp://127.0.0.1:33949 Total threads: 4
Dashboard: http://127.0.0.1:39203/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:40973
Local directory: /tmp/dask-worker-space/worker-yne41vdk

Worker: 19

Comm: tcp://127.0.0.1:32855 Total threads: 4
Dashboard: http://127.0.0.1:44575/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:44735
Local directory: /tmp/dask-worker-space/worker-eablhvp_

Worker: 20

Comm: tcp://127.0.0.1:43051 Total threads: 4
Dashboard: http://127.0.0.1:34097/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:39701
Local directory: /tmp/dask-worker-space/worker-85pyr01_

Worker: 21

Comm: tcp://127.0.0.1:39298 Total threads: 4
Dashboard: http://127.0.0.1:46537/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:34487
Local directory: /tmp/dask-worker-space/worker-yned81v6

Worker: 22

Comm: tcp://127.0.0.1:34722 Total threads: 4
Dashboard: http://127.0.0.1:46821/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:46324
Local directory: /tmp/dask-worker-space/worker-e4xatcck

Worker: 23

Comm: tcp://127.0.0.1:46553 Total threads: 4
Dashboard: http://127.0.0.1:34718/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:43540
Local directory: /tmp/dask-worker-space/worker-ot7ton3x

Worker: 24

Comm: tcp://127.0.0.1:43430 Total threads: 4
Dashboard: http://127.0.0.1:34142/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:39644
Local directory: /tmp/dask-worker-space/worker-oxol206d

Worker: 25

Comm: tcp://127.0.0.1:44821 Total threads: 4
Dashboard: http://127.0.0.1:43227/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:45086
Local directory: /tmp/dask-worker-space/worker-m9l3a3le

Worker: 26

Comm: tcp://127.0.0.1:35801 Total threads: 4
Dashboard: http://127.0.0.1:34597/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:37190
Local directory: /tmp/dask-worker-space/worker-1dh612tx

Worker: 27

Comm: tcp://127.0.0.1:32956 Total threads: 4
Dashboard: http://127.0.0.1:33890/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:42475
Local directory: /tmp/dask-worker-space/worker-3imnbx2n

Worker: 28

Comm: tcp://127.0.0.1:34658 Total threads: 4
Dashboard: http://127.0.0.1:36878/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:34785
Local directory: /tmp/dask-worker-space/worker-xu_4tdw8

Worker: 29

Comm: tcp://127.0.0.1:35568 Total threads: 4
Dashboard: http://127.0.0.1:42898/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:32889
Local directory: /tmp/dask-worker-space/worker-y7s_yhhp

Worker: 30

Comm: tcp://127.0.0.1:41721 Total threads: 4
Dashboard: http://127.0.0.1:42631/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:45672
Local directory: /tmp/dask-worker-space/worker-asiuuvjk

Worker: 31

Comm: tcp://127.0.0.1:38207 Total threads: 4
Dashboard: http://127.0.0.1:32994/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:41406
Local directory: /tmp/dask-worker-space/worker-iwvaqglg

Worker: 32

Comm: tcp://127.0.0.1:42058 Total threads: 4
Dashboard: http://127.0.0.1:45688/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:45541
Local directory: /tmp/dask-worker-space/worker-3skl7nxg

Worker: 33

Comm: tcp://127.0.0.1:46477 Total threads: 4
Dashboard: http://127.0.0.1:35449/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:35380
Local directory: /tmp/dask-worker-space/worker-7pnjaees

Worker: 34

Comm: tcp://127.0.0.1:35308 Total threads: 4
Dashboard: http://127.0.0.1:34154/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:33479
Local directory: /tmp/dask-worker-space/worker-bdtkm3z8

Worker: 35

Comm: tcp://127.0.0.1:45314 Total threads: 4
Dashboard: http://127.0.0.1:36362/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:37972
Local directory: /tmp/dask-worker-space/worker-gyhzv_kc

Worker: 36

Comm: tcp://127.0.0.1:41912 Total threads: 4
Dashboard: http://127.0.0.1:35226/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:37081
Local directory: /tmp/dask-worker-space/worker-n3xmrij0

Worker: 37

Comm: tcp://127.0.0.1:34717 Total threads: 4
Dashboard: http://127.0.0.1:40115/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:46845
Local directory: /tmp/dask-worker-space/worker-kh9j7sfe

Worker: 38

Comm: tcp://127.0.0.1:39216 Total threads: 4
Dashboard: http://127.0.0.1:46235/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:39108
Local directory: /tmp/dask-worker-space/worker-lif_3hd6

Worker: 39

Comm: tcp://127.0.0.1:40535 Total threads: 4
Dashboard: http://127.0.0.1:36578/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:38602
Local directory: /tmp/dask-worker-space/worker-ftjjou8u

Worker: 40

Comm: tcp://127.0.0.1:44720 Total threads: 4
Dashboard: http://127.0.0.1:34277/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:38983
Local directory: /tmp/dask-worker-space/worker-pi0_hul0

Worker: 41

Comm: tcp://127.0.0.1:36796 Total threads: 4
Dashboard: http://127.0.0.1:42244/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:44929
Local directory: /tmp/dask-worker-space/worker-c7ngpgpw

Worker: 42

Comm: tcp://127.0.0.1:44285 Total threads: 4
Dashboard: http://127.0.0.1:44009/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:37471
Local directory: /tmp/dask-worker-space/worker-oj863ic1

Worker: 43

Comm: tcp://127.0.0.1:38313 Total threads: 4
Dashboard: http://127.0.0.1:34816/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:34953
Local directory: /tmp/dask-worker-space/worker-yehrzwi6

Worker: 44

Comm: tcp://127.0.0.1:42769 Total threads: 4
Dashboard: http://127.0.0.1:34574/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:42000
Local directory: /tmp/dask-worker-space/worker-0dyw59mc

Worker: 45

Comm: tcp://127.0.0.1:36005 Total threads: 4
Dashboard: http://127.0.0.1:46297/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:33842
Local directory: /tmp/dask-worker-space/worker-lu9aeak_

Worker: 46

Comm: tcp://127.0.0.1:34721 Total threads: 4
Dashboard: http://127.0.0.1:38108/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:39695
Local directory: /tmp/dask-worker-space/worker-ucw603o6

Worker: 47

Comm: tcp://127.0.0.1:36113 Total threads: 4
Dashboard: http://127.0.0.1:40841/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:45414
Local directory: /tmp/dask-worker-space/worker-89rgyfv5

Worker: 48

Comm: tcp://127.0.0.1:38618 Total threads: 4
Dashboard: http://127.0.0.1:33807/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:39488
Local directory: /tmp/dask-worker-space/worker-6k6k66_v

Worker: 49

Comm: tcp://127.0.0.1:43821 Total threads: 4
Dashboard: http://127.0.0.1:46017/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:34206
Local directory: /tmp/dask-worker-space/worker-3npodwc7

Worker: 50

Comm: tcp://127.0.0.1:38746 Total threads: 4
Dashboard: http://127.0.0.1:39753/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:35712
Local directory: /tmp/dask-worker-space/worker-5ywlpcsw

Worker: 51

Comm: tcp://127.0.0.1:42182 Total threads: 4
Dashboard: http://127.0.0.1:46566/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:42973
Local directory: /tmp/dask-worker-space/worker-woo44eei

Worker: 52

Comm: tcp://127.0.0.1:45755 Total threads: 4
Dashboard: http://127.0.0.1:33547/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:39504
Local directory: /tmp/dask-worker-space/worker-bmglirdy

Worker: 53

Comm: tcp://127.0.0.1:34214 Total threads: 4
Dashboard: http://127.0.0.1:36449/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:34096
Local directory: /tmp/dask-worker-space/worker-unfd7exn

Worker: 54

Comm: tcp://127.0.0.1:34265 Total threads: 4
Dashboard: http://127.0.0.1:35708/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:33699
Local directory: /tmp/dask-worker-space/worker-y9lv7vae

Worker: 55

Comm: tcp://127.0.0.1:34119 Total threads: 4
Dashboard: http://127.0.0.1:38609/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:36650
Local directory: /tmp/dask-worker-space/worker-qbvbq21l

Worker: 56

Comm: tcp://127.0.0.1:41339 Total threads: 4
Dashboard: http://127.0.0.1:33822/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:39985
Local directory: /tmp/dask-worker-space/worker-g9aiklv5

Worker: 57

Comm: tcp://127.0.0.1:40823 Total threads: 4
Dashboard: http://127.0.0.1:34995/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:40930
Local directory: /tmp/dask-worker-space/worker-tirdxg44

Worker: 58

Comm: tcp://127.0.0.1:46327 Total threads: 4
Dashboard: http://127.0.0.1:45218/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:43138
Local directory: /tmp/dask-worker-space/worker-uh0i8no0

Worker: 59

Comm: tcp://127.0.0.1:42276 Total threads: 4
Dashboard: http://127.0.0.1:33263/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:42677
Local directory: /tmp/dask-worker-space/worker-r01nffoj

Worker: 60

Comm: tcp://127.0.0.1:36803 Total threads: 4
Dashboard: http://127.0.0.1:40485/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:44826
Local directory: /tmp/dask-worker-space/worker-w2__vtlt

Worker: 61

Comm: tcp://127.0.0.1:38365 Total threads: 4
Dashboard: http://127.0.0.1:43201/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:43338
Local directory: /tmp/dask-worker-space/worker-sctkgry4

Worker: 62

Comm: tcp://127.0.0.1:44994 Total threads: 4
Dashboard: http://127.0.0.1:44950/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:36355
Local directory: /tmp/dask-worker-space/worker-ojigxezj

Worker: 63

Comm: tcp://127.0.0.1:34758 Total threads: 4
Dashboard: http://127.0.0.1:43440/status Memory: 3.92 GiB
Nanny: tcp://127.0.0.1:40784
Local directory: /tmp/dask-worker-space/worker-ytxjlfsp

read plotting information from a csv file¶

In [4]:
df=load.controlfile(control)
#Take out 'later' tagged computations
#df=df[~df['Value'].str.contains('later')]
df
Out[4]:
Value Inputs Equation Zone Plot Colourmap MinMax Unit Oldname Unnamed: 10
IceClim calc.IceClim_load(data,nc_outputpath) ALL IceClim Spectral (0,5) m M-4

Computation starts here¶

Each computation consists of

  1. Load NEMO data set
  2. Zoom data set
  3. Compute (or load computed data set)
  4. Save
  5. Plot
  6. Close
In [5]:
%%time
import os
calcswitch=os.environ.get('calc', 'True') 
lazy=os.environ.get('lazy','False' )
loaddata=((df.Inputs != '').any()) 
print('calcswitch=',calcswitch,'df.Inputs != nothing',loaddata, 'lazy=',lazy)
data = load.datas(catalog_url,df.Inputs,month,year,daskreport,lazy=lazy) if ((calcswitch=='True' )*loaddata) else 0 
data
calcswitch= True df.Inputs != nothing False lazy= True
CPU times: user 399 µs, sys: 0 ns, total: 399 µs
Wall time: 399 µs
Out[5]:
0
In [6]:
%%time
monitor.auto(df,data,savefig,daskreport,outputpath,file_exp='SEDNA'
            )
#calc= True
#save= False
#plot= True
Value='IceClim'
Zone='ALL'
Plot='IceClim'
cmap='Spectral'
clabel='m'
clim= (0, 5)
outputpath='../results/SEDNA_DELTA_MONITOR/'
nc_outputpath='../nc_results/SEDNA_DELTA_MONITOR/'
filename='SEDNA_IceClim_ALL_IceClim'
#3 Start computing 
data= calc.IceClim_load(data,nc_outputpath)
monitor.optimize_dataset(data)
start saving data
filename= ../nc_results/SEDNA_DELTA_MONITOR/SEDNA_maps_ALL_IceConce/t_*/y_*/x_*.nc
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
File <timed eval>:1, in <module>

File /ccc/work/cont003/gen7420/odakatin/monitor-sedna/notebook/core/monitor.py:67, in auto(df, val, savefig, daskreport, outputpath, file_exp)
     65 #print('count:',data.count())
     66 with performance_report(filename=daskreport+"_calc_"+step.Value+".html"):
---> 67     data=eval(command)
     68     #print('persist ')
     69     #data=data.persist()
     70     print('add optimise here once otimise can recognise')

File <string>:1, in <module>

File /ccc/work/cont003/gen7420/odakatin/monitor-sedna/notebook/core/calc.py:231, in IceClim_load(data, nc_outputpath)
    229 import xarray as xr
    230 filename='SEDNA_maps_ALL_IceConce'
--> 231 ds=save.load_data(plot='map',path=nc_outputpath,filename=filename)
    232 filename='SEDNA_maps_ALL_IceThickness'
    233 ds['sivolu']=save.load_data(plot='map',path=nc_outputpath,filename=filename).sivolu

File /ccc/work/cont003/gen7420/odakatin/monitor-sedna/notebook/core/save.py:38, in load_data(plot, path, filename)
     36     data=load_twoD(path,filename,nested=False)    
     37 else:
---> 38     data=load_twoD(path,filename)        
     39 print('load computed data completed')    
     40 return data

File /ccc/work/cont003/gen7420/odakatin/monitor-sedna/notebook/core/save.py:48, in load_twoD(path, filename, nested)
     46 dim=('x','y','t') if nested else ('t')
     47 print ('filename=',filename)
---> 48 return xr.open_mfdataset(filename,parallel=True
     49               ,compat='override'
     50               ,data_vars='minimal'
     51               ,concat_dim=dim
     52               ,combine='nested' #param_xios
     53               ,coords='minimal')

File /ccc/cont003/home/ra5563/ra5563/monitor/lib/python3.10/site-packages/xarray/backends/api.py:937, in open_mfdataset(paths, chunks, concat_dim, compat, preprocess, engine, data_vars, coords, combine, parallel, join, attrs_file, combine_attrs, **kwargs)
    934     paths = [os.fspath(p) if isinstance(p, os.PathLike) else p for p in paths]
    936 if not paths:
--> 937     raise OSError("no files to open")
    939 if combine == "nested":
    940     if isinstance(concat_dim, (str, DataArray)) or concat_dim is None:

OSError: no files to open