climate-ref 0.5.4__tar.gz → 0.5.5__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.
Files changed (77) hide show
  1. {climate_ref-0.5.4 → climate_ref-0.5.5}/PKG-INFO +3 -3
  2. {climate_ref-0.5.4 → climate_ref-0.5.5}/pyproject.toml +6 -7
  3. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/__init__.py +3 -3
  4. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/testing.py +2 -1
  5. {climate_ref-0.5.4 → climate_ref-0.5.5}/.gitignore +0 -0
  6. {climate_ref-0.5.4 → climate_ref-0.5.5}/Dockerfile +0 -0
  7. {climate_ref-0.5.4 → climate_ref-0.5.5}/LICENCE +0 -0
  8. {climate_ref-0.5.4 → climate_ref-0.5.5}/NOTICE +0 -0
  9. {climate_ref-0.5.4 → climate_ref-0.5.5}/README.md +0 -0
  10. {climate_ref-0.5.4 → climate_ref-0.5.5}/conftest.py +0 -0
  11. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/_config_helpers.py +0 -0
  12. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/alembic.ini +0 -0
  13. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/cli/__init__.py +0 -0
  14. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/cli/_utils.py +0 -0
  15. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/cli/config.py +0 -0
  16. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/cli/datasets.py +0 -0
  17. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/cli/executions.py +0 -0
  18. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/cli/providers.py +0 -0
  19. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/cli/solve.py +0 -0
  20. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/config.py +0 -0
  21. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/constants.py +0 -0
  22. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/database.py +0 -0
  23. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/dataset_registry/obs4ref_reference.txt +0 -0
  24. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/dataset_registry/sample_data.txt +0 -0
  25. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/datasets/__init__.py +0 -0
  26. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/datasets/base.py +0 -0
  27. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/datasets/cmip6.py +0 -0
  28. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/datasets/obs4mips.py +0 -0
  29. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/datasets/pmp_climatology.py +0 -0
  30. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/datasets/utils.py +0 -0
  31. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/executor/__init__.py +0 -0
  32. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/executor/local.py +0 -0
  33. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/executor/result_handling.py +0 -0
  34. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/executor/synchronous.py +0 -0
  35. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/migrations/README +0 -0
  36. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/migrations/env.py +0 -0
  37. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/migrations/script.py.mako +0 -0
  38. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/migrations/versions/2025-05-02T1418_341a4aa2551e_regenerate.py +0 -0
  39. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/migrations/versions/2025-05-09T2032_03dbb4998e49_series_metric_value.py +0 -0
  40. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/models/__init__.py +0 -0
  41. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/models/base.py +0 -0
  42. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/models/dataset.py +0 -0
  43. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/models/diagnostic.py +0 -0
  44. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/models/execution.py +0 -0
  45. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/models/metric_value.py +0 -0
  46. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/models/provider.py +0 -0
  47. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/provider_registry.py +0 -0
  48. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/py.typed +0 -0
  49. {climate_ref-0.5.4 → climate_ref-0.5.5}/src/climate_ref/solver.py +0 -0
  50. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/cli/test_config.py +0 -0
  51. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/cli/test_datasets.py +0 -0
  52. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/cli/test_executions/test_inspect.txt +0 -0
  53. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/cli/test_executions.py +0 -0
  54. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/cli/test_providers.py +0 -0
  55. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/cli/test_root.py +0 -0
  56. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/cli/test_solve.py +0 -0
  57. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/datasets/conftest.py +0 -0
  58. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/datasets/test_cmip6/cmip6_catalog_db.yml +0 -0
  59. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/datasets/test_cmip6/cmip6_catalog_local.yml +0 -0
  60. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/datasets/test_cmip6.py +0 -0
  61. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/datasets/test_datasets.py +0 -0
  62. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/datasets/test_obs4mips/obs4mips_catalog_db.yml +0 -0
  63. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/datasets/test_obs4mips/obs4mips_catalog_local.yml +0 -0
  64. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/datasets/test_obs4mips.py +0 -0
  65. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/datasets/test_pmp_climatology/pmp_catalog_local.yml +0 -0
  66. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/datasets/test_pmp_climatology.py +0 -0
  67. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/datasets/test_utils.py +0 -0
  68. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/executor/test_local_executor.py +0 -0
  69. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/executor/test_result_handling.py +0 -0
  70. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/executor/test_synchronous_executor.py +0 -0
  71. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/models/test_metric_execution.py +0 -0
  72. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/models/test_metric_value.py +0 -0
  73. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/test_config.py +0 -0
  74. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/test_database.py +0 -0
  75. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/test_provider_registry.py +0 -0
  76. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/test_solver/test_solve_metrics.yml +0 -0
  77. {climate_ref-0.5.4 → climate_ref-0.5.5}/tests/unit/test_solver.py +0 -0
@@ -1,12 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: climate-ref
3
- Version: 0.5.4
3
+ Version: 0.5.5
4
4
  Summary: Application which runs the CMIP Rapid Evaluation Framework
5
5
  Author-email: Jared Lewis <jared.lewis@climate-resource.com>, Mika Pflueger <mika.pflueger@climate-resource.com>, Bouwe Andela <b.andela@esciencecenter.nl>, Jiwoo Lee <lee1043@llnl.gov>, Min Xu <xum1@ornl.gov>, Nathan Collier <collierno@ornl.gov>, Dora Hegedus <dora.hegedus@stfc.ac.uk>
6
6
  License: Apache-2.0
7
7
  License-File: LICENCE
8
8
  License-File: NOTICE
9
- Classifier: Development Status :: 2 - Pre-Alpha
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Intended Audience :: Developers
10
11
  Classifier: Intended Audience :: Science/Research
11
12
  Classifier: License :: OSI Approved :: Apache Software License
12
13
  Classifier: Operating System :: OS Independent
@@ -25,7 +26,6 @@ Requires-Dist: ecgtools>=2024.7.31
25
26
  Requires-Dist: environs>=11.0.0
26
27
  Requires-Dist: loguru>=0.7.2
27
28
  Requires-Dist: platformdirs>=4.3.6
28
- Requires-Dist: setuptools>=75.8.0
29
29
  Requires-Dist: sqlalchemy>=2.0.36
30
30
  Requires-Dist: tomlkit>=0.13.2
31
31
  Requires-Dist: tqdm>=4.67.1
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "climate-ref"
3
- version = "0.5.4"
3
+ version = "0.5.5"
4
4
  description = "Application which runs the CMIP Rapid Evaluation Framework"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -14,9 +14,9 @@ authors = [
14
14
  ]
15
15
  requires-python = ">=3.11"
16
16
  classifiers = [
17
- "Development Status :: 2 - Pre-Alpha",
17
+ "Development Status :: 3 - Alpha",
18
18
  "Operating System :: OS Independent",
19
- "License :: OSI Approved :: Apache Software License",
19
+ "Intended Audience :: Developers",
20
20
  "Intended Audience :: Science/Research",
21
21
  "Programming Language :: Python",
22
22
  "Programming Language :: Python :: 3",
@@ -24,6 +24,7 @@ classifiers = [
24
24
  "Programming Language :: Python :: 3.12",
25
25
  "Programming Language :: Python :: 3.13",
26
26
  "Topic :: Scientific/Engineering",
27
+ "License :: OSI Approved :: Apache Software License",
27
28
  ]
28
29
  dependencies = [
29
30
  "climate-ref-core",
@@ -37,7 +38,6 @@ dependencies = [
37
38
  "loguru>=0.7.2",
38
39
  "ecgtools>=2024.7.31",
39
40
  "platformdirs>=4.3.6",
40
- "setuptools>=75.8.0",
41
41
  "tqdm>=4.67.1"
42
42
  ]
43
43
 
@@ -65,9 +65,8 @@ text = "Apache-2.0"
65
65
  [project.scripts]
66
66
  ref = "climate_ref.cli:app"
67
67
 
68
- [tool.uv]
69
- dev-dependencies = [
70
- ]
68
+ [dependency-groups]
69
+ dev = []
71
70
 
72
71
  [build-system]
73
72
  requires = ["hatchling"]
@@ -8,19 +8,19 @@ __version__ = importlib.metadata.version("climate-ref")
8
8
 
9
9
 
10
10
  from climate_ref.testing import SAMPLE_DATA_VERSION
11
- from climate_ref_core.dataset_registry import dataset_registry_manager
11
+ from climate_ref_core.dataset_registry import DATASET_URL, dataset_registry_manager
12
12
 
13
13
  # Register the obs4REF data registry
14
14
  dataset_registry_manager.register(
15
15
  "obs4ref",
16
- "https://pub-b093171261094c4ea9adffa01f94ee06.r2.dev/",
16
+ base_url=DATASET_URL,
17
17
  package="climate_ref.dataset_registry",
18
18
  resource="obs4ref_reference.txt",
19
19
  )
20
20
  # Register the sample data registry -- used for testing
21
21
  dataset_registry_manager.register(
22
22
  "sample-data",
23
- "https://raw.githubusercontent.com/Climate-REF/ref-sample-data/refs/tags/{version}/data/",
23
+ base_url="https://raw.githubusercontent.com/Climate-REF/ref-sample-data/refs/tags/{version}/data/",
24
24
  package="climate_ref.dataset_registry",
25
25
  resource="sample_data.txt",
26
26
  version=SAMPLE_DATA_VERSION,
@@ -102,7 +102,8 @@ def validate_result(diagnostic: Diagnostic, config: Config, result: ExecutionRes
102
102
 
103
103
  # Validate bundles
104
104
  metric_bundle = CMECMetric.load_from_json(result.to_output_path(result.metric_bundle_filename))
105
- assert diagnostic.facets == tuple(metric_bundle.DIMENSIONS.root["json_structure"])
105
+ bundle_dimensions = tuple(metric_bundle.DIMENSIONS.root["json_structure"])
106
+ assert diagnostic.facets == bundle_dimensions, bundle_dimensions
106
107
  CMECOutput.load_from_json(result.to_output_path(result.output_bundle_filename))
107
108
 
108
109
  # Create a fake log file if one doesn't exist
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes