climate-ref-example 0.17.2__tar.gz → 0.18.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/PKG-INFO +1 -1
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/pyproject.toml +1 -1
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/src/climate_ref_example/surface_temperature.py +5 -4
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-sst-bias/cmip7/catalog.yaml +2 -2
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-sst-bias/default/catalog.yaml +2 -2
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/.gitignore +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/LICENCE +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/NOTICE +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/README.md +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/src/climate_ref_example/__init__.py +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/src/climate_ref_example/example.py +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/src/climate_ref_example/py.typed +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/integration/test_diagnostics.py +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-mean-timeseries/cmip7/catalog.yaml +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-mean-timeseries/cmip7/manifest.json +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-mean-timeseries/cmip7/regression/diagnostic.json +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-mean-timeseries/cmip7/regression/output.json +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-mean-timeseries/cmip7/regression/series.json +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-mean-timeseries/default/catalog.yaml +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-mean-timeseries/default/manifest.json +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-mean-timeseries/default/regression/diagnostic.json +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-mean-timeseries/default/regression/output.json +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-mean-timeseries/default/regression/series.json +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-sst-bias/cmip7/manifest.json +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-sst-bias/cmip7/regression/diagnostic.json +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-sst-bias/cmip7/regression/output.json +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-sst-bias/cmip7/regression/series.json +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-sst-bias/default/manifest.json +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-sst-bias/default/regression/diagnostic.json +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-sst-bias/default/regression/output.json +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/test-data/global-sst-bias/default/regression/series.json +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/unit/test_metrics.py +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/unit/test_provider.py +0 -0
- {climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/unit/test_surface_temperature.py +0 -0
|
@@ -324,6 +324,7 @@ class GlobalMeanSurfaceTemperatureBias(Diagnostic):
|
|
|
324
324
|
# data is available alongside the reference dataset.
|
|
325
325
|
_reference_requirement = DataRequirement(
|
|
326
326
|
source_type=SourceDatasetType.obs4MIPs,
|
|
327
|
+
fallback_source_types=(SourceDatasetType.obs4REF,),
|
|
327
328
|
filters=(
|
|
328
329
|
FacetFilter(facets={"source_id": (_REFERENCE_SOURCE_ID,), "variable_id": (_REFERENCE_VARIABLE,)}),
|
|
329
330
|
),
|
|
@@ -338,7 +339,7 @@ class GlobalMeanSurfaceTemperatureBias(Diagnostic):
|
|
|
338
339
|
FacetFilter(
|
|
339
340
|
facets={
|
|
340
341
|
"variable_id": (_MODEL_VARIABLE,),
|
|
341
|
-
"experiment_id": ("historical",),
|
|
342
|
+
"experiment_id": ("historical", "esm-hist"),
|
|
342
343
|
}
|
|
343
344
|
),
|
|
344
345
|
),
|
|
@@ -358,7 +359,7 @@ class GlobalMeanSurfaceTemperatureBias(Diagnostic):
|
|
|
358
359
|
FacetFilter(
|
|
359
360
|
facets={
|
|
360
361
|
"variable_id": (_MODEL_VARIABLE,),
|
|
361
|
-
"experiment_id": ("historical",),
|
|
362
|
+
"experiment_id": ("historical", "esm-hist"),
|
|
362
363
|
}
|
|
363
364
|
),
|
|
364
365
|
),
|
|
@@ -390,7 +391,7 @@ class GlobalMeanSurfaceTemperatureBias(Diagnostic):
|
|
|
390
391
|
RegistryRequest(
|
|
391
392
|
slug="surface-temperature-obs",
|
|
392
393
|
registry_name="obs4ref",
|
|
393
|
-
source_type="
|
|
394
|
+
source_type="obs4REF",
|
|
394
395
|
facets={"source_id": _REFERENCE_SOURCE_ID, "variable_id": _REFERENCE_VARIABLE},
|
|
395
396
|
),
|
|
396
397
|
CMIP6Request(
|
|
@@ -423,7 +424,7 @@ class GlobalMeanSurfaceTemperatureBias(Diagnostic):
|
|
|
423
424
|
RegistryRequest(
|
|
424
425
|
slug="surface-temperature-obs-cmip7",
|
|
425
426
|
registry_name="obs4ref",
|
|
426
|
-
source_type="
|
|
427
|
+
source_type="obs4REF",
|
|
427
428
|
facets={"source_id": _REFERENCE_SOURCE_ID, "variable_id": _REFERENCE_VARIABLE},
|
|
428
429
|
),
|
|
429
430
|
CMIP7Request(
|
|
@@ -88,14 +88,14 @@ obs4mips:
|
|
|
88
88
|
source_id: HadISST-1-1
|
|
89
89
|
variable_id: ts
|
|
90
90
|
datasets:
|
|
91
|
-
- activity_id:
|
|
91
|
+
- activity_id: obs4REF
|
|
92
92
|
end_time: '2025-01-16 12:00:00'
|
|
93
93
|
filename: ts_mon_HadISST-1-1_PCMDI_gn_187001-202501.nc
|
|
94
94
|
finalised: true
|
|
95
95
|
frequency: mon
|
|
96
96
|
grid: 1x1 degree latitude x longitude
|
|
97
97
|
grid_label: gn
|
|
98
|
-
instance_id:
|
|
98
|
+
instance_id: obs4REF.obs4REF.MOHC.HadISST-1-1.mon.ts.250km.gn.v20250415
|
|
99
99
|
institution_id: MOHC
|
|
100
100
|
long_name: Surface Temperature
|
|
101
101
|
nominal_resolution: 250 km
|
|
@@ -92,14 +92,14 @@ obs4mips:
|
|
|
92
92
|
source_id: HadISST-1-1
|
|
93
93
|
variable_id: ts
|
|
94
94
|
datasets:
|
|
95
|
-
- activity_id:
|
|
95
|
+
- activity_id: obs4REF
|
|
96
96
|
end_time: '2025-01-16 12:00:00'
|
|
97
97
|
filename: ts_mon_HadISST-1-1_PCMDI_gn_187001-202501.nc
|
|
98
98
|
finalised: true
|
|
99
99
|
frequency: mon
|
|
100
100
|
grid: 1x1 degree latitude x longitude
|
|
101
101
|
grid_label: gn
|
|
102
|
-
instance_id:
|
|
102
|
+
instance_id: obs4REF.obs4REF.MOHC.HadISST-1-1.mon.ts.250km.gn.v20250415
|
|
103
103
|
institution_id: MOHC
|
|
104
104
|
long_name: Surface Temperature
|
|
105
105
|
nominal_resolution: 250 km
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/src/climate_ref_example/__init__.py
RENAMED
|
File without changes
|
{climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/src/climate_ref_example/example.py
RENAMED
|
File without changes
|
|
File without changes
|
{climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/integration/test_diagnostics.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{climate_ref_example-0.17.2 → climate_ref_example-0.18.1}/tests/unit/test_surface_temperature.py
RENAMED
|
File without changes
|