climate-ref-example 0.19.2__tar.gz → 0.20.0__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.19.2 → climate_ref_example-0.20.0}/PKG-INFO +1 -1
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/pyproject.toml +1 -1
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/src/climate_ref_example/example.py +3 -3
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/src/climate_ref_example/surface_temperature.py +3 -3
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/.gitignore +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/LICENCE +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/NOTICE +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/README.md +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/src/climate_ref_example/__init__.py +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/src/climate_ref_example/py.typed +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/integration/test_diagnostics.py +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-mean-timeseries/cmip7/catalog.yaml +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-mean-timeseries/cmip7/manifest.json +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-mean-timeseries/cmip7/regression/diagnostic.json +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-mean-timeseries/cmip7/regression/output.json +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-mean-timeseries/cmip7/regression/series.json +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-mean-timeseries/default/catalog.yaml +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-mean-timeseries/default/manifest.json +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-mean-timeseries/default/regression/diagnostic.json +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-mean-timeseries/default/regression/output.json +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-mean-timeseries/default/regression/series.json +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-sst-bias/cmip7/catalog.yaml +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-sst-bias/cmip7/manifest.json +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-sst-bias/cmip7/regression/diagnostic.json +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-sst-bias/cmip7/regression/output.json +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-sst-bias/cmip7/regression/series.json +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-sst-bias/default/catalog.yaml +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-sst-bias/default/manifest.json +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-sst-bias/default/regression/diagnostic.json +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-sst-bias/default/regression/output.json +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/test-data/global-sst-bias/default/regression/series.json +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/unit/test_metrics.py +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/unit/test_provider.py +0 -0
- {climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/unit/test_surface_temperature.py +0 -0
{climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/src/climate_ref_example/example.py
RENAMED
|
@@ -11,7 +11,7 @@ from climate_ref_core.diagnostics import (
|
|
|
11
11
|
ExecutionDefinition,
|
|
12
12
|
ExecutionResult,
|
|
13
13
|
)
|
|
14
|
-
from climate_ref_core.esgf import CMIP6Request,
|
|
14
|
+
from climate_ref_core.esgf import CMIP6Request, ConvertedCMIP7Request
|
|
15
15
|
from climate_ref_core.pycmec.metric import CMECMetric
|
|
16
16
|
from climate_ref_core.pycmec.output import CMECOutput
|
|
17
17
|
from climate_ref_core.testing import TestCase, TestDataSpecification
|
|
@@ -200,7 +200,7 @@ class GlobalMeanTimeseries(Diagnostic):
|
|
|
200
200
|
name="cmip7",
|
|
201
201
|
description="CMIP7 test case with converted historical tas from ACCESS-ESM1-5",
|
|
202
202
|
requests=(
|
|
203
|
-
|
|
203
|
+
ConvertedCMIP7Request(
|
|
204
204
|
slug="example-tas-cmip7",
|
|
205
205
|
facets={
|
|
206
206
|
"source_id": "ACCESS-ESM1-5",
|
|
@@ -211,7 +211,7 @@ class GlobalMeanTimeseries(Diagnostic):
|
|
|
211
211
|
},
|
|
212
212
|
time_span=("2000-01", "2014-12"),
|
|
213
213
|
),
|
|
214
|
-
|
|
214
|
+
ConvertedCMIP7Request(
|
|
215
215
|
slug="example-areacella-cmip7",
|
|
216
216
|
facets={
|
|
217
217
|
"source_id": "ACCESS-ESM1-5",
|
|
@@ -12,7 +12,7 @@ from climate_ref_core.diagnostics import (
|
|
|
12
12
|
ExecutionDefinition,
|
|
13
13
|
ExecutionResult,
|
|
14
14
|
)
|
|
15
|
-
from climate_ref_core.esgf import CMIP6Request,
|
|
15
|
+
from climate_ref_core.esgf import CMIP6Request, ConvertedCMIP7Request, RegistryRequest
|
|
16
16
|
from climate_ref_core.metric_values import SeriesMetricValue
|
|
17
17
|
from climate_ref_core.pycmec.metric import CMECMetric
|
|
18
18
|
from climate_ref_core.pycmec.output import CMECOutput
|
|
@@ -427,7 +427,7 @@ class GlobalMeanSurfaceTemperatureBias(Diagnostic):
|
|
|
427
427
|
source_type="obs4REF",
|
|
428
428
|
facets={"source_id": _REFERENCE_SOURCE_ID, "variable_id": _REFERENCE_VARIABLE},
|
|
429
429
|
),
|
|
430
|
-
|
|
430
|
+
ConvertedCMIP7Request(
|
|
431
431
|
slug="surface-temperature-tos-cmip7",
|
|
432
432
|
facets={
|
|
433
433
|
"source_id": "ACCESS-ESM1-5",
|
|
@@ -438,7 +438,7 @@ class GlobalMeanSurfaceTemperatureBias(Diagnostic):
|
|
|
438
438
|
},
|
|
439
439
|
time_span=("2000-01", "2014-12"),
|
|
440
440
|
),
|
|
441
|
-
|
|
441
|
+
ConvertedCMIP7Request(
|
|
442
442
|
slug="surface-temperature-areacello-cmip7",
|
|
443
443
|
facets={
|
|
444
444
|
"source_id": "ACCESS-ESM1-5",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/src/climate_ref_example/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/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
|
|
File without changes
|
|
File without changes
|
{climate_ref_example-0.19.2 → climate_ref_example-0.20.0}/tests/unit/test_surface_temperature.py
RENAMED
|
File without changes
|