-
Notifications
You must be signed in to change notification settings - Fork 6
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
How to design the way the metadata file is generated for each MIP experiment? #214
Comments
The Google doc certainly needs an update, I can have a look at it next week. What I wonder is whether or not is is sufficient to have the Google doc (or similar) with instructions and the leave it to every users of the ece2cmor3 tool to make sure that everything is filled in correctly? Or could we have a utility that would create the metadata template from user provided input (MIP, experiment, etc)? I have no idea how complicated such a utility would be. |
We are thinking of generating the meta file (or several meta files for each experiment, see remark below), by the Probably we need several meta files for each experiment (at the moment Gijs uses one for NEMO and one for IFS, because of the grid labeling in the file names), for IFS, NEMO and maybe different ones for LPJ-GUESS and TM5 as well. Anyway an update of the description file will be certainly handy before starting this. |
About the contact email address: A web address is maybe also possible (if the checks allow). |
A CMIP6 CMIP piControl template of an metadat.json file is added in:
Some inside-quotes-comments concern fields that we probably don't have to specify in the metadata file because they will be anyhow overwritten by cmor using the CV data. This file needs some more discussion and testing and if the basic template for a CMIP6 experiment has its final form, we can think of generating other MIP experiment metadata templates. |
The |
I went through the resources/metadata-templates/cmip6-CMIP-piControl-metadata-template.json file and cleaned it even more because some attributes don't need to be set manually (e.g. data_specs_version). Notes:
|
We would like to remove the |
Next task is to be able to remove the following lines
from the meta data file:
Therefore ece2cmor3 will write this grid info to the netcdf files directly, and it will be only specific to the model component in charge. In this way the correct extension for the TM5 and LPJ-GUESS grid info can also easily be added. |
Hi Gijs, It is still not possible to remove the
|
@treerink can we either close this issue or remove the release tag since it won't be resolved before the release? Shall we for now just point people to the documentation that Klaus wrote, and give support either here, on the EC-Earth portal or via email on adapting the template to the MIP/experiment? |
As it is not possible to add decent comment in the metadata file itself, it is maybe good to add a README in the resources/metadata-templates/ dir. It can point to Klaus' documents and also emphasis the main points to think about when modifying the metadata template. And also stress the archiving policy for other metadata template files. This README can then also be referenced from elsewhere, e.g. from the README.md |
If |
…late file (under development). A matrix with the model configuration specific properties has been added, but not used so far #214.
…late file (under development). A matrix with the model configuration specific properties has been added and until now partly used #214.
… spaces in the ece_res array elements #214.
The script |
… piControl: then parent_source_id = EC-Earth3-Veg #214.
Finally the parent info is also part of the adjustment in the |
So done. Closing. |
At least in
it says
but I think ORCA1 provides a nominal resolution of 100 km. |
@klauswyser What's your view on this? 50 km is not what is says in your google doc on metadata for EC-Earth, but @treerink tells me that it is what is should be. |
Well, 50 km is wrong and needs to be changed! Computing the average maximal length of a gridcell (with land points masked!) according to Appendix 2 of the document that describes the CMIP6 metadata yields 120.6 km which is larger than 72 km and therefore the nominal resolution should be 100 km. BTW: here is the cdo command that computes the average maximum gridcell length in case you don't believe me:
|
I always believe you Klaus, I see also overhere that ORCA1 is always classified with a 100 km nominal resolution, so I will adjust. Lets check everything:
Any other errors? Please also check the source type (last columns), do we agree? |
An update with Closing. |
In fact the question is how the metadata file is generated and how it is used for each MIP experiment. It seems that quite some fields need to be manually filled out or at least checked for each MIP, some will be always the same, others could be generated from the CV file.
The meaning of the fields in this
metadata-template.json
is described in this google doc by Klaus.The text was updated successfully, but these errors were encountered: