Skip to content

Question: cmip7 - cmip6 mapping #60

@treerink

Description

@treerink

Hi,

I am trying to find access to the mapping between the cmip7 - cmip6 compound variables. I am interested to find a piece of python dreqCMIP7 code in which I can iterate over the CMIP7 compound variables and then to find for each CMIP7 compound variable its CMIP6 table - variable combination (for all those which do have an equivalent). And if possible also for the opposite direction: CMIP6 => CMIP7.

For instance in the export_dreq_lists_json.py script I have been looking into the dc.mapping_table with:

     for k, v in dc.mapping_table.items():
      print("key: ", k, "; value: ", v)

I see for instance CMIP6 Frequency (legacy), but I doubt this is the easy way to go.

I read from the README.md:
Each listed variable in the output file is currently identified by a unique "compound name" using CMIP6-era table names and short variable names (Amon.tas, Omon.tos, etc). Variable names may change in upcoming releases, but in any case a mapping to CMIP6-era variable names will be retained in the data request so as to allow comparison with CMIP6 output (for those variables that were defined in CMIP6).

We have our own mapping of EC-Earth3 against CMIP6 about what we are able to deliver. In order to reuse this to a large extent it would be very helpful to have a few lines code to do this iteration and CMIP7 - CMIP7 mapping. Hoping for some lines of code which can do this, any suggestion?

Thanks in advance
Thomas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions