Notebook
ij,ii=places.PLACES['S3']['NEMO grid ji'] diat=dict() myri=dict() nano=dict() tt=dict() for key in rundict: print(key,dt.datetime.now()) fin=et.index_model_files(startdate,enddate,rundict[key],namfmt[key],1,'ptrc_T',tres[key]) fobj=xr.open_mfdataset(fin['paths']) tt[key]=fobj.time_centered if 'time_centered' in fobj.coords else fobj.time_counter diat[key]=fobj.diatoms.isel(deptht=slice(0,3),y=ij,x=ii).mean(dim='deptht').compute() myri[key]=fobj.ciliates.isel(deptht=slice(0,3),y=ij,x=ii).mean(dim='deptht').compute() nano[key]=fobj.flagellates.isel(deptht=slice(0,3),y=ij,x=ii).mean(dim='deptht').compute() fobj.close()
mumaxJ={'d':5.9e-05,'f':1.8e-05} IoptJ={'d':68,'f':20} aJ={'d':0.048,'f':0.25}mumaxJ={'d':5.8e-05,'f':1.8e-05} IoptJ={'d':75,'f':20} aJ={'d':0.052,'f':0.25}