You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the MOM6 code, it says this in a comment about the initial conditions:
! Read input grid coordinates for temperature and salinity field
! in z-coordinate dataset. The file is REQUIRED to contain the
! following:
!
! dimension variables:
! lon (degrees_E), lat (degrees_N), depth(meters)
! variables:
! ptemp(lon,lat,depth) : degC, potential temperature
! salt (lon,lat,depth) : ppt, salinity
!
! The first record will be read if there are multiple time levels.
! The observation grid MUST tile the model grid. If the model grid extends
! to the North/South Pole past the limits of the input data, they are extrapolated using the average
! value at the northernmost/southernmost latitude.
It appears this is not enforced, as our current initial conditions use different dimension names:
In the MOM6 code, it says this in a comment about the initial conditions:
It appears this is not enforced, as our current initial conditions use different dimension names:
We should change to the MOM names, as these data are on the MOM grid after the regridding.
Similarly, the time coordinates have the wrong metadata:
We need to update this to use
months since
and use a valid calendar (Gregorian starts in 1582).These two changes are in https://github.com/COSIMA/ocean-regrid/blob/e3e5404807c05ec4060624dcc0773f419860c8f0/util.py#L121
Once we've done that, we should use a cf-compliance checker on the output also.
The text was updated successfully, but these errors were encountered: