Closed matthew-mizielinski closed 1 year ago
Note that @charliepascoe has a different take on the table_id
field (see #12) -- I've had to restore the Table
prefix in this pull request to ensure that our code around (but not in) CMOR works as this is the structure we are used to with the CMIP6 tables.
Thanks Matthew, I now need to remember to pull this update into the MIP tables that ceda-cc references.
@charliepascoe, you might be able to shortcut that process using the git submodule command -- I've seen this done in other repositories and then you may not have to manually copy files across.
Changes I've made to get this past CMOR:
table_id
in every MIP tablemip_era
from "CMIP6" to "SNAPSI" everywhere (CMOR will look for tables & CVs named "CMIP6_*" otherwise)activity_id
andparent_experiment_id
fields need to be listsallowed_model_components
with a default ofAOGCM
andAER
. Therequired_model_components
can also be used if there are requirements on experiments.SNAPSI_coordinate.json
was invalid as the entry for the plev137 pressure level set was not closed properly. Note that this entry may be missing a number of required fields.sdepth1
dimension which is used inmrsos
in the6hrPt
table.Conventions
field in the grids definition table to be consistent with else where.Other changes:
data_specs_version
to0.9.3
and ensured that this format is allowed by the CVstable_date
consistently to today's datetracking_id
pattern in CVs set toSNAPSI/.*
-- CMOR doesn't like absent prefixes and it needs to include the.*
pattern.A number of the above should be reviewed and possibly altered depending on your purposes. In particular the use of
allowed_model_components
/required_model_components
in the experiment definitions, theplev137
pressure level entry and the license pattern should be considered further.P.S. The edits to the CVs were made a little crudely. Might be worth pushing through the JSON library to get a cleaner structure (
python -m json.tool <input file>
would clean this up).