-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non CF compliant standard names for ocean transport diagnostics #287
Comments
These also seem to be non-standard
|
Generated above list from a list of MOM diagnostics (https://github.com/COSIMA/access-om2/blob/master/MOM_diags.txt) like so:
and then ran that through: import xml.etree.ElementTree as ET
tree = ET.parse('cf-standard-name-table.xml')
root = tree.getroot()
names = set()
for child in root:
if 'id' in child.attrib:
names.add(child.attrib["id"])
mom_names = set(open('MOM_cf_standard_names').read().splitlines())
missing = mom_names.difference(names)
for v in missing:
print(v) |
Good catches @aidanheerdegen . I suggest modifying the names to be CF compliant, unless there are any backward compatibility needs/desires. |
MOM6 has some code to support both CF and legacy names, might be worth a look. For the most part it's a wrapper around https://github.com/NOAA-GFDL/MOM6/blob/dev/gfdl/src/framework/MOM_diag_mediator.F90#L1810 Doubt it's worth adopting wholemeal, but the idea might be useful. |
Neat. I also notice it is logging available diagnostics. This is something I've been thinking about for quite some time. I was thinking to add it to FMS and do a PR after we separate FMS out of the main codebase https://github.com/NOAA-GFDL/MOM6/blob/dev/gfdl/src/framework/MOM_diag_mediator.F90#L3332-L3363 |
So there aren't many CMOR supported variables, at least from the diag listings I found lying about
I can see MOM6 makes a lot of use of this derived diagnostic stuff to allow more straightforward output of z-grid interpolated fields and such. I agree @StephenGriffies that the two variables I highlighted first should be changed to reflect the correct standard_name. The others I am unsure about. For example, The others seem to not correspond closely to any CF diagnostic. I will leave them for the time being. |
Fixed two incorrect CF standard_names: ocean_x_mass_transport -> ocean_mass_x_transport ocean_y_mass_transport -> ocean_mass_y_transport
The MOM5 diagnostics were written largely around 2012 or before. The CMIP6 names, however, evolved afterwards. So there will be many holes and inconsistencies. I suspect the CSIRO did some of the leg-work as part of CMIP6. Perhaps they developed a diag_table with MOM5 names and the corresponding CMIP6/CF names. If given that translation, then it would be a straightforward job to update the CF names in MOM5 to correspond to CMIP6. |
The two variables I have just changed in the pull request were picked up in a QC check by NCI data folks. No other variables were highlighted in their checks. The check I did above is not exhaustive, but it certainly captures every diagnostic with a |
* #287 Fixed two incorrect CF standard_names: ocean_x_mass_transport -> ocean_mass_x_transport ocean_y_mass_transport -> ocean_mass_y_transport * Made OASIS compilation conditional on compiling ACCESS model in travis to isolate OASIS errors
@aidanheerdegen @StephenGriffies just FYI, the CMIP6 diagnostics are listed in either the data request (http://clipc-services.ceda.ac.uk/dreq/index.html) or the cmip6-cmor-tables (cmip6-cmor-tables) which is used by CMOR. This is the complete exhaustive list of CMIP6 variables requested (and their names etc), which has expanded considerably from cmip5 (which was documented in the cmip5-cmor-tables) |
Thanks @durack1 |
The standard names for T-cell mass transport are not CF compliant:
MOM5/src/mom5/ocean_diag/ocean_adv_vel_diag.F90
Lines 231 to 238 in 9f5866b
According to this
http://cfconventions.org/Data/cf-standard-names/28/build/cf-standard-name-table.html
ocean_x_mass_transport
should beocean_mass_x_transport
ocean_y_mass_transport
should beocean_mass_y_transport
The text was updated successfully, but these errors were encountered: