generated from WCRP-CMIP/mipcvs-wiki
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
We will need some guidance on CVs, data request and CMOR tables. I know there are individual issues for these pieces (sorry I didn't find and link them), but I think these come as a bit more of a package so here are some notes on the set up as I see it now, in the hope that this will guide discussion and also be helpful for anyone trying to follow along with this work.
As I understand it, our guidance at present is:
- if you want anything to do with the data request, then you should use the data request API. The recommendation is always to use the latest version
- this also includes anything to do with variable definitions. There is a plan to split out a variable registry in the medium-term, but for the short-term that will not be available so all variable information should be retrieved via the data request API
- if you want anything to do with CVs, you should use esgvoc, esgvoc docs
- this means allowed values for global attributes, definition of the DRS etc.
- esgvoc also defines schemas for all data descriptors used within CMIP, they can be found in https://github.com/ESGF/esgf-vocab/tree/main/src/esgvoc/api/data_descriptors. These schemas are currently being refined and updated. We will update this issue when they are finalised. They are being updated in line with this spreadsheet (https://zenodo.org/records/17250297), although changes during this translation process are likely so please take that spreadsheet as a first, albeit relatively stable, draft rather than the final word
- the source data for esgvoc comes from the
esgvocof various CVs repositories (https://github.com/WCRP-CMIP/WCRP-universe/tree/esgvoc, https://github.com/WCRP-CMIP/CMIP7-CVs/tree/esgvoc, https://github.com/WCRP-CMIP/CMIP6_CVs/tree/esgvoc). While you can obviously see this source data, please use esgvoc to access the information rather than trying to parse the schemas yourself. Parsing the schemas is real effort: esgvoc has made this effort so you don't have to
- in global attributes, we will include a
data_specs_versionthat will identify different releases of esgvoc and the data request API. We are still exploring exactly how this will be defined. We will update this issue as we make progress on this. For now, feel free to just use the placeholder value "0.0.0" - if you want CMOR tables, they are in the process of being produced. The variable tables will be produced via the data request API. The CVs JSON file will be produced via an 'esgvoc app'. The outputs of both these processes will be made publicly available. We will update this issue with details as they solidify
- if you would like to see an early prototype of exporting the variables tables from the data request, see https://gist.github.com/matthew-mizielinski/3103beb41e2b83a51b7ae923592489cf
- if you would like to see an early prototype of exporting the CVs table from esgvoc, see Demo do not merge: add exporting of CMOR CVs table ESGF/esgf-vocab#51
JamesAnstey
Metadata
Metadata
Assignees
Labels
No labels