%matplotlib inline
import pandas as pd
import socket
host = socket.getfqdn()
from core import load, zoom, calc, save,plots,monitor
#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)
<module 'core.monitor' from '/ccc/work/cont003/gen7420/odakatin/monitor-sedna/notebook/core/monitor.py'>
below are list of enviroment variable one can pass
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'
#
AWTD.sh M_AWTMD
Fluxnet.sh M_Fluxnet
FWC_SSH.sh M_FWC_2D M_FWC_integrals M_FWC_SSH M_SSH_anomaly
Siconc.sh M_Ice_quantities
IceClim.sh M_IceClim M_IceConce M_IceThick
M_Mean_temp_velo M_MLD_2D M_Mooring M_Sectionx M_Sectiony
%%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= irene5512.c-irene.mg1.tgcc.ccc.cea.fr starting dask cluster on local= True This code is running on irene5512.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/6418601irene5512.c-irene.mg1.tgcc.ccc.cea.fr_SEDNA_DELTA_MONITOR_02M_Fluxnet/ CPU times: user 3.77 s, sys: 681 ms, total: 4.45 s Wall time: 1min 37s
Client-192e36d0-13d2-11ed-ae65-080038b9409b
Connection method: Cluster object | Cluster type: distributed.LocalCluster |
Dashboard: http://127.0.0.1:8787/status |
3c99bd72
Dashboard: http://127.0.0.1:8787/status | Workers: 64 |
Total threads: 256 | Total memory: 251.06 GiB |
Status: running | Using processes: True |
Scheduler-840dc3ca-736e-4553-b2a1-b12f35316244
Comm: tcp://127.0.0.1:45941 | Workers: 64 |
Dashboard: http://127.0.0.1:8787/status | Total threads: 256 |
Started: 1 minute ago | Total memory: 251.06 GiB |
Comm: tcp://127.0.0.1:39193 | Total threads: 4 |
Dashboard: http://127.0.0.1:45328/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:36661 | |
Local directory: /tmp/dask-worker-space/worker-gtdlh9wa |
Comm: tcp://127.0.0.1:36499 | Total threads: 4 |
Dashboard: http://127.0.0.1:46763/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:43830 | |
Local directory: /tmp/dask-worker-space/worker-gmt44qg4 |
Comm: tcp://127.0.0.1:35976 | Total threads: 4 |
Dashboard: http://127.0.0.1:41981/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:37680 | |
Local directory: /tmp/dask-worker-space/worker-t8dqgw6v |
Comm: tcp://127.0.0.1:42627 | Total threads: 4 |
Dashboard: http://127.0.0.1:45600/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:39725 | |
Local directory: /tmp/dask-worker-space/worker-q_t1fiou |
Comm: tcp://127.0.0.1:44423 | Total threads: 4 |
Dashboard: http://127.0.0.1:41637/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:42493 | |
Local directory: /tmp/dask-worker-space/worker-5c0_r0q7 |
Comm: tcp://127.0.0.1:45160 | Total threads: 4 |
Dashboard: http://127.0.0.1:43537/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:41422 | |
Local directory: /tmp/dask-worker-space/worker-fadjrk9j |
Comm: tcp://127.0.0.1:42459 | Total threads: 4 |
Dashboard: http://127.0.0.1:33056/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:45898 | |
Local directory: /tmp/dask-worker-space/worker-gwo0ulvs |
Comm: tcp://127.0.0.1:39562 | Total threads: 4 |
Dashboard: http://127.0.0.1:41092/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:36602 | |
Local directory: /tmp/dask-worker-space/worker-0rcgz5al |
Comm: tcp://127.0.0.1:36509 | Total threads: 4 |
Dashboard: http://127.0.0.1:39431/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:36925 | |
Local directory: /tmp/dask-worker-space/worker-oq7y_78_ |
Comm: tcp://127.0.0.1:44164 | Total threads: 4 |
Dashboard: http://127.0.0.1:33354/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:35104 | |
Local directory: /tmp/dask-worker-space/worker-g0j1i65u |
Comm: tcp://127.0.0.1:35059 | Total threads: 4 |
Dashboard: http://127.0.0.1:46706/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:39987 | |
Local directory: /tmp/dask-worker-space/worker-_jjgweoq |
Comm: tcp://127.0.0.1:38231 | Total threads: 4 |
Dashboard: http://127.0.0.1:44303/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:42481 | |
Local directory: /tmp/dask-worker-space/worker-9d_4ieku |
Comm: tcp://127.0.0.1:33521 | Total threads: 4 |
Dashboard: http://127.0.0.1:35332/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:35760 | |
Local directory: /tmp/dask-worker-space/worker-ah1qyozu |
Comm: tcp://127.0.0.1:40158 | Total threads: 4 |
Dashboard: http://127.0.0.1:41280/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:44312 | |
Local directory: /tmp/dask-worker-space/worker-mq_k37k2 |
Comm: tcp://127.0.0.1:34738 | Total threads: 4 |
Dashboard: http://127.0.0.1:43061/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:40537 | |
Local directory: /tmp/dask-worker-space/worker-g2bioich |
Comm: tcp://127.0.0.1:43773 | Total threads: 4 |
Dashboard: http://127.0.0.1:37679/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:43622 | |
Local directory: /tmp/dask-worker-space/worker-qjhorf3o |
Comm: tcp://127.0.0.1:38823 | Total threads: 4 |
Dashboard: http://127.0.0.1:38940/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:36838 | |
Local directory: /tmp/dask-worker-space/worker-m_0fp2ff |
Comm: tcp://127.0.0.1:40102 | Total threads: 4 |
Dashboard: http://127.0.0.1:39721/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:34737 | |
Local directory: /tmp/dask-worker-space/worker-4ye5o8xn |
Comm: tcp://127.0.0.1:37030 | Total threads: 4 |
Dashboard: http://127.0.0.1:43648/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:43303 | |
Local directory: /tmp/dask-worker-space/worker-5tt9ujdg |
Comm: tcp://127.0.0.1:46729 | Total threads: 4 |
Dashboard: http://127.0.0.1:34986/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:37846 | |
Local directory: /tmp/dask-worker-space/worker-g1ki602v |
Comm: tcp://127.0.0.1:41199 | Total threads: 4 |
Dashboard: http://127.0.0.1:35072/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:38293 | |
Local directory: /tmp/dask-worker-space/worker-ndr3mo4b |
Comm: tcp://127.0.0.1:33598 | Total threads: 4 |
Dashboard: http://127.0.0.1:45415/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:42131 | |
Local directory: /tmp/dask-worker-space/worker-oidf_h59 |
Comm: tcp://127.0.0.1:36409 | Total threads: 4 |
Dashboard: http://127.0.0.1:39038/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:43123 | |
Local directory: /tmp/dask-worker-space/worker-1egequ8k |
Comm: tcp://127.0.0.1:44010 | Total threads: 4 |
Dashboard: http://127.0.0.1:46216/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:45950 | |
Local directory: /tmp/dask-worker-space/worker-aw4bjkba |
Comm: tcp://127.0.0.1:36763 | Total threads: 4 |
Dashboard: http://127.0.0.1:41205/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:46529 | |
Local directory: /tmp/dask-worker-space/worker-zbn0shmj |
Comm: tcp://127.0.0.1:35945 | Total threads: 4 |
Dashboard: http://127.0.0.1:38936/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:41169 | |
Local directory: /tmp/dask-worker-space/worker-ammgz6_7 |
Comm: tcp://127.0.0.1:36115 | Total threads: 4 |
Dashboard: http://127.0.0.1:34606/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:45880 | |
Local directory: /tmp/dask-worker-space/worker-aq300h6z |
Comm: tcp://127.0.0.1:39470 | Total threads: 4 |
Dashboard: http://127.0.0.1:37553/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:33868 | |
Local directory: /tmp/dask-worker-space/worker-1oggu60v |
Comm: tcp://127.0.0.1:42444 | Total threads: 4 |
Dashboard: http://127.0.0.1:39240/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:41410 | |
Local directory: /tmp/dask-worker-space/worker-f254ae7i |
Comm: tcp://127.0.0.1:42018 | Total threads: 4 |
Dashboard: http://127.0.0.1:41601/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:32831 | |
Local directory: /tmp/dask-worker-space/worker-wz2dvgzr |
Comm: tcp://127.0.0.1:40746 | Total threads: 4 |
Dashboard: http://127.0.0.1:41198/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:36394 | |
Local directory: /tmp/dask-worker-space/worker-2vuqeeib |
Comm: tcp://127.0.0.1:46685 | Total threads: 4 |
Dashboard: http://127.0.0.1:32927/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:41840 | |
Local directory: /tmp/dask-worker-space/worker-ebo812x9 |
Comm: tcp://127.0.0.1:43788 | Total threads: 4 |
Dashboard: http://127.0.0.1:40187/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:43998 | |
Local directory: /tmp/dask-worker-space/worker-dp767_sr |
Comm: tcp://127.0.0.1:40036 | Total threads: 4 |
Dashboard: http://127.0.0.1:40983/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:35740 | |
Local directory: /tmp/dask-worker-space/worker-fdkeabsa |
Comm: tcp://127.0.0.1:36022 | Total threads: 4 |
Dashboard: http://127.0.0.1:41828/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:40171 | |
Local directory: /tmp/dask-worker-space/worker-dy1dupun |
Comm: tcp://127.0.0.1:34517 | Total threads: 4 |
Dashboard: http://127.0.0.1:43819/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:45009 | |
Local directory: /tmp/dask-worker-space/worker-qjsq1dfg |
Comm: tcp://127.0.0.1:42082 | Total threads: 4 |
Dashboard: http://127.0.0.1:40282/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:38861 | |
Local directory: /tmp/dask-worker-space/worker-dk178e0t |
Comm: tcp://127.0.0.1:35811 | Total threads: 4 |
Dashboard: http://127.0.0.1:46011/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:39464 | |
Local directory: /tmp/dask-worker-space/worker-ruqwsive |
Comm: tcp://127.0.0.1:44508 | Total threads: 4 |
Dashboard: http://127.0.0.1:33045/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:43339 | |
Local directory: /tmp/dask-worker-space/worker-q5jvvvop |
Comm: tcp://127.0.0.1:33603 | Total threads: 4 |
Dashboard: http://127.0.0.1:44181/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:36645 | |
Local directory: /tmp/dask-worker-space/worker-cwi0h8z8 |
Comm: tcp://127.0.0.1:38608 | Total threads: 4 |
Dashboard: http://127.0.0.1:36179/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:42832 | |
Local directory: /tmp/dask-worker-space/worker-th2gl5m0 |
Comm: tcp://127.0.0.1:40190 | Total threads: 4 |
Dashboard: http://127.0.0.1:41155/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:33199 | |
Local directory: /tmp/dask-worker-space/worker-6pt50et3 |
Comm: tcp://127.0.0.1:41040 | Total threads: 4 |
Dashboard: http://127.0.0.1:34903/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:37983 | |
Local directory: /tmp/dask-worker-space/worker-3y2sobw4 |
Comm: tcp://127.0.0.1:35298 | Total threads: 4 |
Dashboard: http://127.0.0.1:44902/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:39817 | |
Local directory: /tmp/dask-worker-space/worker-sks050nu |
Comm: tcp://127.0.0.1:41897 | Total threads: 4 |
Dashboard: http://127.0.0.1:45820/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:35081 | |
Local directory: /tmp/dask-worker-space/worker-dfg0jw_g |
Comm: tcp://127.0.0.1:43147 | Total threads: 4 |
Dashboard: http://127.0.0.1:43404/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:35073 | |
Local directory: /tmp/dask-worker-space/worker-czz4nqrq |
Comm: tcp://127.0.0.1:46520 | Total threads: 4 |
Dashboard: http://127.0.0.1:41815/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:36365 | |
Local directory: /tmp/dask-worker-space/worker-jnk17p8d |
Comm: tcp://127.0.0.1:36170 | Total threads: 4 |
Dashboard: http://127.0.0.1:35999/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:45703 | |
Local directory: /tmp/dask-worker-space/worker-r979l7lh |
Comm: tcp://127.0.0.1:41425 | Total threads: 4 |
Dashboard: http://127.0.0.1:35826/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:38729 | |
Local directory: /tmp/dask-worker-space/worker-v0utveos |
Comm: tcp://127.0.0.1:43533 | Total threads: 4 |
Dashboard: http://127.0.0.1:45786/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:35696 | |
Local directory: /tmp/dask-worker-space/worker-dob4og4b |
Comm: tcp://127.0.0.1:39499 | Total threads: 4 |
Dashboard: http://127.0.0.1:38783/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:37336 | |
Local directory: /tmp/dask-worker-space/worker-2jym3_zc |
Comm: tcp://127.0.0.1:35054 | Total threads: 4 |
Dashboard: http://127.0.0.1:44350/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:36846 | |
Local directory: /tmp/dask-worker-space/worker-6s5m6zs0 |
Comm: tcp://127.0.0.1:46405 | Total threads: 4 |
Dashboard: http://127.0.0.1:35844/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:40152 | |
Local directory: /tmp/dask-worker-space/worker-twfvv2f8 |
Comm: tcp://127.0.0.1:39756 | Total threads: 4 |
Dashboard: http://127.0.0.1:46597/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:42531 | |
Local directory: /tmp/dask-worker-space/worker-xji3bp04 |
Comm: tcp://127.0.0.1:42399 | Total threads: 4 |
Dashboard: http://127.0.0.1:35033/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:33959 | |
Local directory: /tmp/dask-worker-space/worker-7s25q85k |
Comm: tcp://127.0.0.1:43585 | Total threads: 4 |
Dashboard: http://127.0.0.1:46434/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:41172 | |
Local directory: /tmp/dask-worker-space/worker-7lze7mkb |
Comm: tcp://127.0.0.1:37220 | Total threads: 4 |
Dashboard: http://127.0.0.1:42770/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:35181 | |
Local directory: /tmp/dask-worker-space/worker-j2tbdjub |
Comm: tcp://127.0.0.1:41192 | Total threads: 4 |
Dashboard: http://127.0.0.1:39592/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:32820 | |
Local directory: /tmp/dask-worker-space/worker-6tr34mm0 |
Comm: tcp://127.0.0.1:34008 | Total threads: 4 |
Dashboard: http://127.0.0.1:43749/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:44216 | |
Local directory: /tmp/dask-worker-space/worker-mvqo51gm |
Comm: tcp://127.0.0.1:37451 | Total threads: 4 |
Dashboard: http://127.0.0.1:35966/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:36827 | |
Local directory: /tmp/dask-worker-space/worker-9pndqcog |
Comm: tcp://127.0.0.1:33282 | Total threads: 4 |
Dashboard: http://127.0.0.1:41838/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:37567 | |
Local directory: /tmp/dask-worker-space/worker-8nbw0r11 |
Comm: tcp://127.0.0.1:40077 | Total threads: 4 |
Dashboard: http://127.0.0.1:41367/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:45124 | |
Local directory: /tmp/dask-worker-space/worker-hidipagk |
Comm: tcp://127.0.0.1:38964 | Total threads: 4 |
Dashboard: http://127.0.0.1:46765/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:41440 | |
Local directory: /tmp/dask-worker-space/worker-g5e1onez |
Comm: tcp://127.0.0.1:45263 | Total threads: 4 |
Dashboard: http://127.0.0.1:38643/status | Memory: 3.92 GiB |
Nanny: tcp://127.0.0.1:33587 | |
Local directory: /tmp/dask-worker-space/worker-bz8tludx |
df=load.controlfile(control)
#Take out 'later' tagged computations
#df=df[~df['Value'].str.contains('later')]
df
Value | Inputs | Equation | Zone | Plot | Colourmap | MinMax | Unit | Oldname | Unnamed: 10 | |
---|---|---|---|---|---|---|---|---|---|---|
Fluxnet | gridV.vomecrty,param.e3v_0,param.e1v,param.mas... | calc.Fluxnet(data) | FramS_All | Fluxnet_integrals | None | ((-10,10),(-10,50) ,(-150,50),(-25,5) ) | (Sv,TW, mSv,10^-2 Sv) | I-6 | ||
Fluxnet | gridV.vomecrty,param.e3v_0,param.e1v,param.mas... | calc.Fluxnet(data) | Davis | Fluxnet_integrals | None | ((-5.0,5.0),(-25,27) ,(-200,50),(-9,5) ) | (Sv,TW, mSv,10^-2 Sv) | I-6 | ||
Fluxnet | gridV.vomecrty,param.e3v_0,param.e1v,param.mas... | calc.Fluxnet(data) | Bering | Fluxnet_integrals | None | ((-2,2),(-10,50) ,(-150,50),(-2,4) ) | (Sv,TW, mSv,10^-2 Sv) | I-6 |
Each computation consists of
%%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 True lazy= False ../lib/SEDNA_DELTA_MONITOR.yaml using param_xios reading ../lib/SEDNA_DELTA_MONITOR.yaml using param_xios reading <bound method DataSourceBase.describe of sources: param_xios: args: combine: nested concat_dim: y urlpath: /ccc/work/cont003/gen7420/odakatin/CONFIGS/SEDNA/SEDNA-I/SEDNA_Domain_cfg_Tgt_20210423_tsh10m_L1/param_f32/x_*.nc xarray_kwargs: compat: override coords: minimal data_vars: minimal parallel: true description: SEDNA NEMO parameters from MPI output nav_lon lat fails driver: intake_xarray.netcdf.NetCDFSource metadata: catalog_dir: /ccc/work/cont003/gen7420/odakatin/monitor-sedna/notebook/../lib/ > {'name': 'param_xios', 'container': 'xarray', 'plugin': ['netcdf'], 'driver': ['netcdf'], 'description': 'SEDNA NEMO parameters from MPI output nav_lon lat fails', 'direct_access': 'forbid', 'user_parameters': [{'name': 'path', 'description': 'file coordinate', 'type': 'str', 'default': '/ccc/work/cont003/gen7420/odakatin/CONFIGS/SEDNA/MESH/SEDNA_mesh_mask_Tgt_20210423_tsh10m_L1/param'}], 'metadata': {}, 'args': {'urlpath': '/ccc/work/cont003/gen7420/odakatin/CONFIGS/SEDNA/SEDNA-I/SEDNA_Domain_cfg_Tgt_20210423_tsh10m_L1/param_f32/x_*.nc', 'combine': 'nested', 'concat_dim': 'y'}} 0 read gridS ['vosaline'] lazy= False using load_data_xios_kerchunk reading gridS using load_data_xios_kerchunk reading <bound method DataSourceBase.describe of sources: data_xios_kerchunk: args: consolidated: false storage_options: fo: file:////ccc/cont003/home/ra5563/ra5563/catalogue/DELTA/201202/gridS_0[0-5][0-9][0-9].json target_protocol: file urlpath: reference:// description: CREG025 NEMO outputs from different xios server in kerchunk format driver: intake_xarray.xzarr.ZarrSource metadata: catalog_dir: /ccc/work/cont003/gen7420/odakatin/monitor-sedna/notebook/../lib/ > took 38.8782901763916 seconds 0 merging gridS ['vosaline'] 1 read gridT ['votemper'] lazy= False using load_data_xios_kerchunk reading gridT using load_data_xios_kerchunk reading <bound method DataSourceBase.describe of sources: data_xios_kerchunk: args: consolidated: false storage_options: fo: file:////ccc/cont003/home/ra5563/ra5563/catalogue/DELTA/201202/gridT_0[0-5][0-9][0-9].json target_protocol: file urlpath: reference:// description: CREG025 NEMO outputs from different xios server in kerchunk format driver: intake_xarray.xzarr.ZarrSource metadata: catalog_dir: /ccc/work/cont003/gen7420/odakatin/monitor-sedna/notebook/../lib/ > took 39.93875789642334 seconds 1 merging gridT ['votemper'] took 0.8699800968170166 seconds 2 read gridV ['vomecrty'] lazy= False using load_data_xios_kerchunk reading gridV using load_data_xios_kerchunk reading <bound method DataSourceBase.describe of sources: data_xios_kerchunk: args: consolidated: false storage_options: fo: file:////ccc/cont003/home/ra5563/ra5563/catalogue/DELTA/201202/gridV_0[0-5][0-9][0-9].json target_protocol: file urlpath: reference:// description: CREG025 NEMO outputs from different xios server in kerchunk format driver: intake_xarray.xzarr.ZarrSource metadata: catalog_dir: /ccc/work/cont003/gen7420/odakatin/monitor-sedna/notebook/../lib/ > took 43.85555124282837 seconds 2 merging gridV ['vomecrty'] took 1.0417890548706055 seconds 3 read icemod ['sivelv', 'sivolu'] lazy= False using load_data_xios_kerchunk reading icemod using load_data_xios_kerchunk reading <bound method DataSourceBase.describe of sources: data_xios_kerchunk: args: consolidated: false storage_options: fo: file:////ccc/cont003/home/ra5563/ra5563/catalogue/DELTA/201202/icemod_0[0-5][0-9][0-9].json target_protocol: file urlpath: reference:// description: CREG025 NEMO outputs from different xios server in kerchunk format driver: intake_xarray.xzarr.ZarrSource metadata: catalog_dir: /ccc/work/cont003/gen7420/odakatin/monitor-sedna/notebook/../lib/ > took 31.662859678268433 seconds 3 merging icemod ['sivelv', 'sivolu'] took 0.9133799076080322 seconds param e3v_0 will be included in data param nav_lon will be included in data param e1v will be included in data param mask2d will be included in data param mask will be included in data param nav_lat will be included in data CPU times: user 1min 44s, sys: 24 s, total: 2min 8s Wall time: 3min 37s
<xarray.Dataset> Dimensions: (t: 28, z: 150, y: 6540, x: 6560) Coordinates: time_centered (t) object dask.array<chunksize=(1,), meta=np.ndarray> * t (t) object 2012-02-01 12:00:00 ... 2012-02-28 12:00:00 * y (y) int64 1 2 3 4 5 6 7 ... 6535 6536 6537 6538 6539 6540 * x (x) int64 1 2 3 4 5 6 7 ... 6555 6556 6557 6558 6559 6560 nav_lat (y, x) float32 dask.array<chunksize=(13, 6560), meta=np.ndarray> nav_lon (y, x) float32 dask.array<chunksize=(13, 6560), meta=np.ndarray> * z (z) int64 1 2 3 4 5 6 7 8 ... 143 144 145 146 147 148 149 150 e3v_0 (z, y, x) float64 dask.array<chunksize=(150, 13, 6560), meta=np.ndarray> e1v (y, x) float64 dask.array<chunksize=(13, 6560), meta=np.ndarray> mask2d (y, x) bool dask.array<chunksize=(13, 6560), meta=np.ndarray> mask (z, y, x) bool dask.array<chunksize=(150, 13, 6560), meta=np.ndarray> Data variables: vosaline (t, z, y, x) float32 dask.array<chunksize=(1, 150, 13, 6560), meta=np.ndarray> votemper (t, z, y, x) float32 dask.array<chunksize=(1, 150, 13, 6560), meta=np.ndarray> vomecrty (t, z, y, x) float32 dask.array<chunksize=(1, 150, 13, 6560), meta=np.ndarray> sivelv (t, y, x) float32 dask.array<chunksize=(1, 13, 6560), meta=np.ndarray> sivolu (t, y, x) float32 dask.array<chunksize=(1, 13, 6560), meta=np.ndarray> Attributes: (12/26) CASE: DELTA CONFIG: SEDNA Conventions: CF-1.6 DOMAIN_dimensions_ids: [2, 3] DOMAIN_halo_size_end: [0, 0] DOMAIN_halo_size_start: [0, 0] ... ... nj: 13 output_frequency: 1d start_date: 20090101 timeStamp: 2022-Jan-18 16:51:26 GMT title: ocean T grid variables uuid: 6ca3a74a-269a-44e2-91db-2aea875dbf84
%%time
monitor.auto(df,data,savefig,daskreport,outputpath,file_exp='SEDNA'
)
#calc= True #save= True #plot= False Value='Fluxnet' Zone='FramS_All' Plot='Fluxnet_integrals' cmap='None' clabel='(Sv,TW, mSv,10^-2 Sv)' clim= ((-10, 10), (-10, 50), (-150, 50), (-25, 5)) outputpath='../results/SEDNA_DELTA_MONITOR/' nc_outputpath='../nc_results/SEDNA_DELTA_MONITOR/' filename='SEDNA_Fluxnet_integrals_FramS_All_Fluxnet' data=monitor.optimize_dataset(data) #2 Zooming Data data= zoom.FramS_All(data) data=monitor.optimize_dataset(data)
<xarray.Dataset> Dimensions: (t: 28, z: 150, y: 2, x: 601) Coordinates: time_centered (t) object dask.array<chunksize=(1,), meta=np.ndarray> * t (t) object 2012-02-01 12:00:00 ... 2012-02-28 12:00:00 * y (y) int64 2608 2609 * x (x) int64 3734 3735 3736 3737 3738 ... 4331 4332 4333 4334 nav_lat (y, x) float32 dask.array<chunksize=(2, 601), meta=np.ndarray> nav_lon (y, x) float32 dask.array<chunksize=(2, 601), meta=np.ndarray> * z (z) int64 1 2 3 4 5 6 7 8 ... 143 144 145 146 147 148 149 150 e3v_0 (z, y, x) float64 dask.array<chunksize=(150, 2, 601), meta=np.ndarray> e1v (y, x) float64 dask.array<chunksize=(2, 601), meta=np.ndarray> mask2d (y, x) bool dask.array<chunksize=(2, 601), meta=np.ndarray> mask (z, y, x) bool dask.array<chunksize=(150, 2, 601), meta=np.ndarray> Data variables: vosaline (t, z, y, x) float32 dask.array<chunksize=(1, 150, 2, 601), meta=np.ndarray> votemper (t, z, y, x) float32 dask.array<chunksize=(1, 150, 2, 601), meta=np.ndarray> vomecrty (t, z, y, x) float32 dask.array<chunksize=(1, 150, 2, 601), meta=np.ndarray> sivelv (t, y, x, z) float32 dask.array<chunksize=(1, 2, 601, 150), meta=np.ndarray> sivolu (t, y, x, z) float32 dask.array<chunksize=(1, 2, 601, 150), meta=np.ndarray> Attributes: (12/26) CASE: DELTA CONFIG: SEDNA Conventions: CF-1.6 DOMAIN_dimensions_ids: [2, 3] DOMAIN_halo_size_end: [0, 0] DOMAIN_halo_size_start: [0, 0] ... ... nj: 13 output_frequency: 1d start_date: 20090101 timeStamp: 2022-Jan-18 16:51:26 GMT title: ocean T grid variables uuid: 6ca3a74a-269a-44e2-91db-2aea875dbf84
#3 Start computing data= calc.Fluxnet(data) monitor.optimize_dataset(data) add optimise here once otimise can recognise
<xarray.Dataset> Dimensions: (t: 28) Coordinates: time_centered (t) object dask.array<chunksize=(1,), meta=np.ndarray> * t (t) object 2012-02-01 12:00:00 ... 2012-02-28 12:0... y int64 2608 Data variables: Volume flux Net (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Volume flux Northward (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Heat flux Net (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Heat flux Northward (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Freshwater Net (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Freshwater Northward (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Ice export (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Volume flux South (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Heat flux South (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Freshwater South (t) float64 dask.array<chunksize=(1,), meta=np.ndarray>
#4 Saving SEDNA_Fluxnet_integrals_FramS_All_Fluxnet data=save.datas(data,plot=Plot,path=nc_outputpath,filename=filename) start saving data saving data in a csv file ../nc_results/SEDNA_DELTA_MONITOR/SEDNA_Fluxnet_integrals_FramS_All_Fluxnet2012-02-01_2012-02-28.nc save computed data at ../nc_results/SEDNA_DELTA_MONITOR/SEDNA_Fluxnet_integrals_FramS_All_Fluxnet2012-02-01_2012-02-28.nc completed Value='Fluxnet' Zone='Davis' Plot='Fluxnet_integrals' cmap='None' clabel='(Sv,TW, mSv,10^-2 Sv)' clim= ((-5.0, 5.0), (-25, 27), (-200, 50), (-9, 5)) outputpath='../results/SEDNA_DELTA_MONITOR/' nc_outputpath='../nc_results/SEDNA_DELTA_MONITOR/' filename='SEDNA_Fluxnet_integrals_Davis_Fluxnet' data=monitor.optimize_dataset(data) #2 Zooming Data data= zoom.Davis(data) data=monitor.optimize_dataset(data)
<xarray.Dataset> Dimensions: (t: 28, z: 150, y: 2, x: 421) Coordinates: time_centered (t) object dask.array<chunksize=(1,), meta=np.ndarray> * t (t) object 2012-02-01 12:00:00 ... 2012-02-28 12:00:00 * y (y) int64 1308 1309 * x (x) int64 1749 1750 1751 1752 1753 ... 2166 2167 2168 2169 nav_lat (y, x) float32 dask.array<chunksize=(1, 421), meta=np.ndarray> nav_lon (y, x) float32 dask.array<chunksize=(1, 421), meta=np.ndarray> * z (z) int64 1 2 3 4 5 6 7 8 ... 143 144 145 146 147 148 149 150 e3v_0 (z, y, x) float64 dask.array<chunksize=(150, 1, 421), meta=np.ndarray> e1v (y, x) float64 dask.array<chunksize=(1, 421), meta=np.ndarray> mask2d (y, x) bool dask.array<chunksize=(1, 421), meta=np.ndarray> mask (z, y, x) bool dask.array<chunksize=(150, 1, 421), meta=np.ndarray> Data variables: vosaline (t, z, y, x) float32 dask.array<chunksize=(1, 150, 1, 421), meta=np.ndarray> votemper (t, z, y, x) float32 dask.array<chunksize=(1, 150, 1, 421), meta=np.ndarray> vomecrty (t, z, y, x) float32 dask.array<chunksize=(1, 150, 1, 421), meta=np.ndarray> sivelv (t, y, x, z) float32 dask.array<chunksize=(1, 1, 421, 150), meta=np.ndarray> sivolu (t, y, x, z) float32 dask.array<chunksize=(1, 1, 421, 150), meta=np.ndarray> Attributes: (12/26) CASE: DELTA CONFIG: SEDNA Conventions: CF-1.6 DOMAIN_dimensions_ids: [2, 3] DOMAIN_halo_size_end: [0, 0] DOMAIN_halo_size_start: [0, 0] ... ... nj: 13 output_frequency: 1d start_date: 20090101 timeStamp: 2022-Jan-18 16:51:26 GMT title: ocean T grid variables uuid: 6ca3a74a-269a-44e2-91db-2aea875dbf84
#3 Start computing data= calc.Fluxnet(data) monitor.optimize_dataset(data) add optimise here once otimise can recognise
<xarray.Dataset> Dimensions: (t: 28) Coordinates: time_centered (t) object dask.array<chunksize=(1,), meta=np.ndarray> * t (t) object 2012-02-01 12:00:00 ... 2012-02-28 12:0... y int64 1308 Data variables: Volume flux Net (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Volume flux Northward (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Heat flux Net (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Heat flux Northward (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Freshwater Net (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Freshwater Northward (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Ice export (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Volume flux South (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Heat flux South (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Freshwater South (t) float64 dask.array<chunksize=(1,), meta=np.ndarray>
#4 Saving SEDNA_Fluxnet_integrals_Davis_Fluxnet data=save.datas(data,plot=Plot,path=nc_outputpath,filename=filename) start saving data saving data in a csv file ../nc_results/SEDNA_DELTA_MONITOR/SEDNA_Fluxnet_integrals_Davis_Fluxnet2012-02-01_2012-02-28.nc save computed data at ../nc_results/SEDNA_DELTA_MONITOR/SEDNA_Fluxnet_integrals_Davis_Fluxnet2012-02-01_2012-02-28.nc completed Value='Fluxnet' Zone='Bering' Plot='Fluxnet_integrals' cmap='None' clabel='(Sv,TW, mSv,10^-2 Sv)' clim= ((-2, 2), (-10, 50), (-150, 50), (-2, 4)) outputpath='../results/SEDNA_DELTA_MONITOR/' nc_outputpath='../nc_results/SEDNA_DELTA_MONITOR/' filename='SEDNA_Fluxnet_integrals_Bering_Fluxnet' data=monitor.optimize_dataset(data) #2 Zooming Data data= zoom.Bering(data) data=monitor.optimize_dataset(data)
<xarray.Dataset> Dimensions: (t: 28, z: 150, y: 2, x: 146) Coordinates: time_centered (t) object dask.array<chunksize=(1,), meta=np.ndarray> * t (t) object 2012-02-01 12:00:00 ... 2012-02-28 12:00:00 * y (y) int64 6538 6539 * x (x) int64 2421 2422 2423 2424 2425 ... 2563 2564 2565 2566 nav_lat (y, x) float32 dask.array<chunksize=(2, 146), meta=np.ndarray> nav_lon (y, x) float32 dask.array<chunksize=(2, 146), meta=np.ndarray> * z (z) int64 1 2 3 4 5 6 7 8 ... 143 144 145 146 147 148 149 150 e3v_0 (z, y, x) float64 dask.array<chunksize=(150, 2, 146), meta=np.ndarray> e1v (y, x) float64 dask.array<chunksize=(2, 146), meta=np.ndarray> mask2d (y, x) bool dask.array<chunksize=(2, 146), meta=np.ndarray> mask (z, y, x) bool dask.array<chunksize=(150, 2, 146), meta=np.ndarray> Data variables: vosaline (t, z, y, x) float32 dask.array<chunksize=(1, 150, 2, 146), meta=np.ndarray> votemper (t, z, y, x) float32 dask.array<chunksize=(1, 150, 2, 146), meta=np.ndarray> vomecrty (t, z, y, x) float32 dask.array<chunksize=(1, 150, 2, 146), meta=np.ndarray> sivelv (t, y, x, z) float32 dask.array<chunksize=(1, 2, 146, 150), meta=np.ndarray> sivolu (t, y, x, z) float32 dask.array<chunksize=(1, 2, 146, 150), meta=np.ndarray> Attributes: (12/26) CASE: DELTA CONFIG: SEDNA Conventions: CF-1.6 DOMAIN_dimensions_ids: [2, 3] DOMAIN_halo_size_end: [0, 0] DOMAIN_halo_size_start: [0, 0] ... ... nj: 13 output_frequency: 1d start_date: 20090101 timeStamp: 2022-Jan-18 16:51:26 GMT title: ocean T grid variables uuid: 6ca3a74a-269a-44e2-91db-2aea875dbf84
#3 Start computing data= calc.Fluxnet(data) monitor.optimize_dataset(data) add optimise here once otimise can recognise
<xarray.Dataset> Dimensions: (t: 28) Coordinates: time_centered (t) object dask.array<chunksize=(1,), meta=np.ndarray> * t (t) object 2012-02-01 12:00:00 ... 2012-02-28 12:0... y int64 6538 Data variables: Volume flux Net (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Volume flux Northward (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Heat flux Net (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Heat flux Northward (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Freshwater Net (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Freshwater Northward (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Ice export (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Volume flux South (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Heat flux South (t) float64 dask.array<chunksize=(1,), meta=np.ndarray> Freshwater South (t) float64 dask.array<chunksize=(1,), meta=np.ndarray>
#4 Saving SEDNA_Fluxnet_integrals_Bering_Fluxnet data=save.datas(data,plot=Plot,path=nc_outputpath,filename=filename) start saving data saving data in a csv file ../nc_results/SEDNA_DELTA_MONITOR/SEDNA_Fluxnet_integrals_Bering_Fluxnet2012-02-01_2012-02-28.nc save computed data at ../nc_results/SEDNA_DELTA_MONITOR/SEDNA_Fluxnet_integrals_Bering_Fluxnet2012-02-01_2012-02-28.nc completed CPU times: user 27.5 s, sys: 2.81 s, total: 30.3 s Wall time: 34.1 s