diff --git a/esmvalcore/config/configurations/data-intake-esgf.yml b/esmvalcore/config/configurations/data-intake-esgf.yml index 2fd02037ee..d538c58d1e 100644 --- a/esmvalcore/config/configurations/data-intake-esgf.yml +++ b/esmvalcore/config/configurations/data-intake-esgf.yml @@ -86,6 +86,22 @@ projects: frequency: "time_frequency" project: "project" short_name: "variable" + CORDEX-CMIP6: + data: + intake-esgf: + type: esmvalcore.io.intake_esgf.IntakeESGFDataSource + facets: + activity: "activity_id" + dataset: "source_id" + domain: "domain_id" + driver: "driving_source_id" + ensemble: "driving_variant_label" + exp: "driving_experiment_id" + frequency: "frequency" + institute: "institution_id" + project: "project" + rcm_version: "version_realization" + short_name: "variable_id" obs4MIPs: data: intake-esgf-v2: diff --git a/tests/unit/io/test_intake_esgf.py b/tests/unit/io/test_intake_esgf.py index 6d225b3e08..f534b88da5 100644 --- a/tests/unit/io/test_intake_esgf.py +++ b/tests/unit/io/test_intake_esgf.py @@ -367,6 +367,22 @@ def data_sources(session: Session) -> list[esmvalcore.io.protocol.DataSource]: }, id="CMIP3", ), + pytest.param( + { + "dataset": "CRCM5-SN", + "driver": "CNRM-ESM2-1", + "domain": "NAM-12", + "ensemble": "r1i1p1f2", + "exp": "historical", + "frequency": "mon", + "project": "CORDEX-CMIP6", + "short_name": "tas", + }, + { + "CORDEX-CMIP6.DD.NAM-12.OURANOS.CNRM-ESM2-1.historical.r1i1p1f2.CRCM5-SN.v2-r1.mon.tas", + }, + id="CORDEX-CMIP6", + ), pytest.param( { "dataset": "ERA-5",