-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
The current PyCNAL uses the interface height of each grid cell to compute the layer thickness. However, the examples only use the cell center depth instead of cell interface height as input for the PyCNAL to computer layer thickness. This may cause issues to layer thickness in boundary files.
In the PyCNAL, depth is computed using interface height
lib_ioncdf.py, line 348: dz[:-1, :, :] = vc[1:, :, :] - vc[:-1, :, :]
In the PyCNAL examples, only cell center depth is provided:
Creating_Initial_and_Boundary_conditions_from_SODA3.py, line 59:
salt_domain.interpolate_from(sodaic,'salt',frame=0,depthname='st_ocean',coord_names=['xt_ocean','yt_ocean'],
Metadata
Metadata
Assignees
Labels
No labels