CMIP6Plus support for ESGF download - #3160
Conversation
- Introduced CMIP6Plus project configuration in data-esmvalcore-esgf.yml. - Added CMIP6Plus facets mapping in facets.py. - Updated dataset map to include CMIP6Plus with appropriate priority and mappings.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3160 +/- ##
==========================================
+ Coverage 96.41% 96.42% +0.01%
==========================================
Files 280 280
Lines 16268 16271 +3
==========================================
+ Hits 15684 15690 +6
+ Misses 584 581 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Great addition @ghossh! It would be nice to add a bit more before merging:
- Add a documentation page, probably a copy of or addition to https://docs.esmvaltool.org/projects/ESMValCore/en/latest/reference/facets.html#cmip6
- Enable CMOR checks, here is the example for CMIP6: . Are there special tables for CMIP6Plus or do they just use the CMIP6 CMOR tables?
ESMValCore/esmvalcore/config/configurations/defaults/cmor_tables.yml
Lines 10 to 15 in 1acf602
- Add an entry to the configuration file for intake-esgf, as we recommend that people switch over to that because it supports the new ESGF search interface. It can be a copy of
ESMValCore/esmvalcore/config/configurations/data-intake-esgf.yml
Lines 3 to 16 in 1acf602
- Add an entry to the local data source so people have a good example of how to organize the directory structure according to the official DRS, can be a copy of
ESMValCore/esmvalcore/config/configurations/data-local.yml
Lines 11 to 17 in 1acf602
It is also good to be aware that derived variables may need additional work in some cases, just like for CMIP7: #2984
|
Based on the information at https://wcrp-cmip.org/cmip-phases/cmip6plus/, it looks like the CMIP6Plus CMOR tables live at https://github.com/PCMDI/mip-cmor-tables/tree/main/Tables and the CV file would need to be copied from https://github.com/WCRP-CMIP/CMIP6Plus_CVs/blob/main/CVs/CMIP6Plus_CV.json |
…rces - Introduced CMIP6Plus project configuration in data-intake-esgf.yml and data-local.yml. - Updated cmor_tables.yml to include CMIP6Plus paths. - Added facet mappings for CMIP6Plus in facets.rst.
- Introduced multiple new JSON tables for CMIP6Plus, including configurations for variables such as Lightning Flash Rate, Total Odd Oxygen Loss and Production Rates, and various aerosol metrics. - Added tables for different temporal resolutions (monthly, daily, hourly) and specific atmospheric layers. - Updated metadata to align with CF conventions and CMOR specifications for improved data handling and accessibility.
…nd VariableInfo classes - Updated the parsing of `generic_levels` to handle string input more robustly. - Enhanced the dimension assignment logic to check for generic levels more effectively. - Changed the `modeling_realm` variable to use a dedicated method for reading JSON lists, improving consistency in data handling.
…into config_CMIP6Plus
…config - Updated the test configuration to include "CMIP6Plus" as a valid model option, enhancing the coverage for testing configurations related to the CMIP6Plus project.
- Removed unnecessary whitespace in the parsing of `generic_levels` in the CMIP6Info class. - Standardized the path formatting in cmor_tables.yml for the CMIP6Plus project.
Description
This pull request adds initial support for the CMIP6Plus project in ESMValCore. CMIP6Plus is the WCRP project used for climate model data published on ESGF after the formal closure of CMIP6. This PR enables ESMValCore to recognise CMIP6Plus as a project and to search/download data from ESGF where supported.
Changes in this pull request:
Further CMIP6Plus-related improvements may be added in follow-up commits on
this branch.
Documentation Link:
https://esmvaltool--3160.org.readthedocs.build/projects/ESMValCore/en/3160/reference/facets.html#cmip6plus