diff --git a/changelog/557.feature.md b/changelog/557.feature.md new file mode 100644 index 000000000..af8e3eb74 --- /dev/null +++ b/changelog/557.feature.md @@ -0,0 +1 @@ +Metric for diagnostics of double ITCZ was added: Spatial corrleation of simulated DJF precipitation climatology against reference dataset over the area of 20S to 0 latitude and 100 to 210 longitude. diff --git a/packages/climate-ref-pmp/src/climate_ref_pmp/diagnostics/annual_cycle.py b/packages/climate-ref-pmp/src/climate_ref_pmp/diagnostics/annual_cycle.py index c2e2a8fe2..144e4ef2b 100644 --- a/packages/climate-ref-pmp/src/climate_ref_pmp/diagnostics/annual_cycle.py +++ b/packages/climate-ref-pmp/src/climate_ref_pmp/diagnostics/annual_cycle.py @@ -320,7 +320,7 @@ class AnnualCycle(CommandLineDiagnostic): test_data_spec = TestDataSpecification( test_cases=( TestCase( - name="cmip6", + name="cmip6-ts", description="Test with CMIP6 ts data and ERA-5 climatology", requests=( RegistryRequest( @@ -342,7 +342,30 @@ class AnnualCycle(CommandLineDiagnostic): ), ), TestCase( - name="cmip7", + name="cmip6-pr", + description="Test with CMIP6 pr data and GPCP-Monthly-3-2 climatology. " + "Produces double ITCZ pattern in the diagnostics.", + requests=( + RegistryRequest( + slug="annual-cycle-gpcp-pr", + registry_name="pmp-climatology", + facets={"variable_id": "pr", "source_id": "GPCP-Monthly-3-2"}, + ), + CMIP6Request( + slug="annual-cycle-cmip6-pr", + facets={ + "source_id": "ACCESS-ESM1-5", + "experiment_id": "historical", + "variable_id": "pr", + "member_id": "r1i1p1f1", + "table_id": "Amon", + }, + time_span=("2000-01", "2014-12"), + ), + ), + ), + TestCase( + name="cmip7-ts", description="CMIP7 test case with converted historical ts from ACCESS-ESM1-5", requests=( RegistryRequest( diff --git a/packages/climate-ref-pmp/src/climate_ref_pmp/params/pmp_param_annualcycle_2-metrics.py b/packages/climate-ref-pmp/src/climate_ref_pmp/params/pmp_param_annualcycle_2-metrics.py index bacc14826..b2eb20e9d 100644 --- a/packages/climate-ref-pmp/src/climate_ref_pmp/params/pmp_param_annualcycle_2-metrics.py +++ b/packages/climate-ref-pmp/src/climate_ref_pmp/params/pmp_param_annualcycle_2-metrics.py @@ -41,7 +41,8 @@ generate_sftlf = True # if land surface type mask cannot be found, generate one # Region -regions = {"rlut": ["Global"]} +regions_specs = {"global": {}, "doubleITCZ": {"domain": {"latitude": (-20.0, 0), "longitude": (100, 210)}}} +regions = {"rlut": ["global"], "pr": ["global", "doubleITCZ"]} # ROOT PATH FOR MODELS CLIMATOLOGIES test_data_path = "demo_data_tmp/CMIP5_demo_clims/"