geos-chem
geos-chem copied to clipboard
[FEATURE REQUEST] Update IsCoards script to give GEOS-Chem compatibility warnings
This feature request is a follow-up to GCHP issue https://github.com/geoschem/GCHP/issues/166. That issue reported problems reading a file into GCHP due to formatting issues. These issues have been encountered by users in the past but are hard to debug.
We recommend users run the IsCoards script on new input files. Putting checks for these common issues into the script would be useful. Since these format requirements are specific to GEOS-Chem we could issue warnings that the file will not be compatible with GEOS-Chem even if COARDS-compliant, and print a suggestion on what to change.
Here are requirements that could be added:
Dimension ordering 'lat', 'lon', 'time'
Use lowercase letters for dimension names
Units string does not include decimals (e.g. does not contain 00:00:0.0
)
Include positive attribute if level dimension is present
Also see https://github.com/geoschem/geos-chem/issues/281