climate-ref-example 0.14.4__tar.gz → 0.14.6__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 (17) hide show
  1. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/PKG-INFO +1 -1
  2. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/pyproject.toml +1 -1
  3. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/src/climate_ref_example/example.py +8 -1
  4. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/.gitignore +0 -0
  5. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/LICENCE +0 -0
  6. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/NOTICE +0 -0
  7. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/README.md +0 -0
  8. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/src/climate_ref_example/__init__.py +0 -0
  9. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/src/climate_ref_example/py.typed +0 -0
  10. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/tests/integration/test_diagnostics.py +0 -0
  11. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/tests/test-data/global-mean-timeseries/default/catalog.yaml +0 -0
  12. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/tests/test-data/global-mean-timeseries/default/regression/annual_mean_global_mean_timeseries.nc +0 -0
  13. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/tests/test-data/global-mean-timeseries/default/regression/diagnostic.json +0 -0
  14. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/tests/test-data/global-mean-timeseries/default/regression/output.json +0 -0
  15. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/tests/test-data/global-mean-timeseries/default/regression/series.json +0 -0
  16. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/tests/unit/test_metrics.py +0 -0
  17. {climate_ref_example-0.14.4 → climate_ref_example-0.14.6}/tests/unit/test_provider.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: climate-ref-example
3
- Version: 0.14.4
3
+ Version: 0.14.6
4
4
  Summary: Example diagnostic provider for the Rapid Evaluation Framework
5
5
  Author-email: Jared Lewis <jared.lewis@climate-resource.com>
6
6
  License-Expression: Apache-2.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "climate-ref-example"
3
- version = "0.14.4"
3
+ version = "0.14.6"
4
4
  description = "Example diagnostic provider for the Rapid Evaluation Framework"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -38,7 +38,14 @@ def calculate_annual_mean_timeseries(input_files: list[Path]) -> xr.Dataset:
38
38
  The annual mean timeseries of the dataset
39
39
  """
40
40
  time_coder = xr.coders.CFDatetimeCoder(use_cftime=True)
41
- xr_ds = xr.open_mfdataset(input_files, combine="by_coords", chunks=None, decode_times=time_coder)
41
+ xr_ds = xr.open_mfdataset(
42
+ input_files,
43
+ combine="by_coords",
44
+ chunks=None,
45
+ decode_times=time_coder,
46
+ data_vars="all",
47
+ compat="no_conflicts",
48
+ )
42
49
 
43
50
  annual_mean = xr_ds.resample(time="YS").mean()
44
51