climate-ref 0.5.4__py3-none-any.whl → 0.5.5__py3-none-any.whl

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/__init__.py CHANGED
@@ -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,
climate_ref/testing.py CHANGED
@@ -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
@@ -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,4 +1,4 @@
1
- climate_ref/__init__.py,sha256=OJl5EnjLyEoCQpa0zQ8edV8EcU2YxBJ0xjermIlm9Bw,820
1
+ climate_ref/__init__.py,sha256=M45QGfl0KCPK48A8MjI08weNvZHMYH__GblraQMxsoM,808
2
2
  climate_ref/_config_helpers.py,sha256=-atI5FX7SukhLE_jz_rL-EHQ7s0YYqKu3dSFYWxSyMU,6632
3
3
  climate_ref/alembic.ini,sha256=WRvbwSIFuZ7hWNMnR2-yHPJAwYUnwhvRYBzkJhtpGdg,3535
4
4
  climate_ref/config.py,sha256=tHuKNCPM9BVq9Lai6WOpBw5FbYHtVQ4fDF1MIEXuP1Q,16482
@@ -7,7 +7,7 @@ climate_ref/database.py,sha256=b_6XHdr78Mo7KeLqQJ5DjLsySHPdQE83P8dRpdMfzfM,8661
7
7
  climate_ref/provider_registry.py,sha256=dyfj4vU6unKHNXtT03HafQtAi3LilL37uvu3paCnmNY,4159
8
8
  climate_ref/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  climate_ref/solver.py,sha256=5m3L0t9JNCb7h5dcNF4Wuo9BsCzOfhkeUs1UmKdGLqI,14963
10
- climate_ref/testing.py,sha256=MbecuSUMFYtyQFvTuKQInIFJQQapvLZVk5ddADwf3Og,4105
10
+ climate_ref/testing.py,sha256=YEmyVFMwPebE_FLhU_GTycIox5C6xDFcGl05wIl3mJ4,4166
11
11
  climate_ref/cli/__init__.py,sha256=1SjCNQ2fV5GtQX_TS77rNlf0h_ECGAup58WYGlcOTTs,4112
12
12
  climate_ref/cli/_utils.py,sha256=6bIb8zEVvzXyKpv8MG58T-T2L2jH-G8WNrOOGpz3uCw,1918
13
13
  climate_ref/cli/config.py,sha256=8I6CLdqKgTu6yaASy-qG0T839Fc0lDZtLSZ6YCc4wOY,520
@@ -39,9 +39,9 @@ climate_ref/models/diagnostic.py,sha256=YB6xzbEXdpz2j-Ddf19RV8mAiWBrkmtRmiAEUV3t
39
39
  climate_ref/models/execution.py,sha256=lRCpaKLSR7rZbuoL94GW76tm9wLMsSDoIOA7bIa6xgY,9848
40
40
  climate_ref/models/metric_value.py,sha256=44OLcZz-qLx-p_9w7YWDKpD5S7Y9HyTKKsvSb77RBro,10190
41
41
  climate_ref/models/provider.py,sha256=RAE2qAAxwObu-72CdK4kt5ACMmKYEn07WJm7DU9hF28,990
42
- climate_ref-0.5.4.dist-info/METADATA,sha256=beRYbe7GKZpf3fLfzqeV8epSVaG-nZ9xw0QN1xHqtdE,4382
43
- climate_ref-0.5.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
44
- climate_ref-0.5.4.dist-info/entry_points.txt,sha256=IaggEJlDIhoYWXdXJafacWbWtCcoEqUKceP1qD7_7vU,44
45
- climate_ref-0.5.4.dist-info/licenses/LICENCE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
46
- climate_ref-0.5.4.dist-info/licenses/NOTICE,sha256=4qTlax9aX2-mswYJuVrLqJ9jK1IkN5kSBqfVvYLF3Ws,128
47
- climate_ref-0.5.4.dist-info/RECORD,,
42
+ climate_ref-0.5.5.dist-info/METADATA,sha256=es3LzPmabE-TK_PAQrZs8jvG90E0EmWeEYblmug4MQE,4388
43
+ climate_ref-0.5.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
44
+ climate_ref-0.5.5.dist-info/entry_points.txt,sha256=IaggEJlDIhoYWXdXJafacWbWtCcoEqUKceP1qD7_7vU,44
45
+ climate_ref-0.5.5.dist-info/licenses/LICENCE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
46
+ climate_ref-0.5.5.dist-info/licenses/NOTICE,sha256=4qTlax9aX2-mswYJuVrLqJ9jK1IkN5kSBqfVvYLF3Ws,128
47
+ climate_ref-0.5.5.dist-info/RECORD,,