cedadev / ceda-cc

CEDA File Compliance Checker
1 stars 3 forks source link

Add RAMIP project to ceda-cc #33

Open mollymacrae opened 5 months ago

mollymacrae commented 5 months ago

Please could RAMIP be added to the ceda-cc projects for archival at CEDA

The RAMIP tables can be found here: RAMIP-cmor-tables

martinjuckes commented 5 months ago

@mollymacrae can you give me some example file names, so I can see the approach that they use to naming files?

mollymacrae commented 5 months ago

@martinjuckes They are using filenames with CMIP6 structure:

\_\_\_\_\_[\_].nc **Some example files:** ccn02_RAMIPmon_EC-Earth3-AerChem_ssp370_r5i1p1f1_gr_202001-202012.nc huss_day_NorESM2-LM_ssp370-126aer_r2i1p1f1_gn_20150101-20191231.nc huss_day_CESM2_ssp370-126aer_r2i1p1f1_gn_20150101-20791231.nc **Full path examples:** /RAMIP/EC-Earth-Consortium/EC-Earth3-AerChem/ssp370/r5i1p1f1/RAMIPmon/ccn02/gr/v20240315/ccn02_RAMIPmon_EC-Earth3-AerChem_ssp370_r5i1p1f1_gr_202001-202012.nc /RAMIP/NorESM2-LM/ssp370-126aer/r2i1p1f1/day/huss/gn/v20230810/huss_day_NorESM2-LM_ssp370-126aer_r2i1p1f1_gn_20150101-20191231.nc /RAMIP/CESM2/CESM2/ssp370-126aer/r2i1p1f1/day/huss/gn/v20230828/huss_day_CESM2_ssp370-126aer_r2i1p1f1_gn_20150101-20791231.nc
martinjuckes commented 5 months ago

Thanks.

martinjuckes commented 4 months ago

(1) Get a local copy of the tables from the RAMIP-cmor-tables branch of the RAMIP repository. (2) In ceda-cc/Package/ceda_cc/ceda_cc_config/config create ramip/Tables and copy JSON MIP tables there. (3) in config_c4.py add 'ramip' to "knownProjects" (4) At line 273, 281, 340, 384, 405, 495 (for handling of variant id) add 'ramip', after checking that RAMIP file pattern matches CCMI 2022. (5) Add 'ramip' in c4_run.py (6) Add 'ramip' unit tests on file name (7) Run unit test. (8) Remove obsolete usage of true, false and none in code at run unit test again (9) Issue detected in tables; 'table_id' list in RAMIP_CV.json is not consistent with the list of MIP tables present in repository.

martinjuckes commented 4 months ago

Issue raised : https://github.com/ramipaerosols/RAMIP/issues/1