-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Looking at the calculation of time-independent ocean variables.
I have a bunch of variables requiring ancillary variables.
See functions from APP4:
def oceanFrac():
fname=ancillary_path+'grid_spec.auscom.20110618.nc' #file with grids specifications
f=cdms2.open(fname,'r')
ofrac=np.float32(f.variables['wet'][:,:])
return ofrac
def oceanFrac_025():
fname=ancillary_path+'om2-025_ocean_mask.nc' #file with grids specifications
f=cdms2.open(fname,'r')
ofrac=np.float32(f.variables['mask'][:,:])
return ofrac
def getBasinMask():
mask_file=ancillary_path+'lsmask_ACCESS-OM2_1deg_20110618.nc'
return cdms2.open(mask_file,'r').variables['mask_ttcell'][0,:,:]
def getBasinMask_025():
mask_file=ancillary_path+'lsmask_ACCESS-OM2_025deg_20201130.nc'
return cdms2.open(mask_file,'r').variables['mask_ttcell'][0,:,:]Where can I reliably find those files? @dougiesquire @anton-seaice
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels