ocf-data-sampler 0.2.6__py3-none-any.whl → 0.2.7__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.

Potentially problematic release.


This version of ocf-data-sampler might be problematic. Click here for more details.

@@ -20,6 +20,7 @@ def open_zarr_paths(zarr_path: str | list[str], time_dim: str = "init_time") ->
20
20
  concat_dim=time_dim,
21
21
  combine="nested",
22
22
  chunks="auto",
23
+ decode_timedelta=True,
23
24
  ).sortby(time_dim)
24
25
  else:
25
26
  ds = xr.open_dataset(
@@ -28,5 +29,6 @@ def open_zarr_paths(zarr_path: str | list[str], time_dim: str = "init_time") ->
28
29
  consolidated=True,
29
30
  mode="r",
30
31
  chunks="auto",
32
+ decode_timedelta=True,
31
33
  )
32
34
  return ds
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ocf-data-sampler
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Author: James Fulton, Peter Dudfield
5
5
  Author-email: Open Climate Fix team <info@openclimatefix.org>
6
6
  License: MIT License
@@ -19,7 +19,7 @@ ocf_data_sampler/load/nwp/providers/ecmwf.py,sha256=5AzktPJgertCx6oij6aePRosPuZH
19
19
  ocf_data_sampler/load/nwp/providers/gfs.py,sha256=pPqVqZqC9eK1gKfRsvR_hB-eiQ1V9LeYB15DVJElUX0,979
20
20
  ocf_data_sampler/load/nwp/providers/icon.py,sha256=q2ZJIKYptXFvoHzb9y3iNKSJZ0PNtnH54h2gwYbgIJ8,1569
21
21
  ocf_data_sampler/load/nwp/providers/ukv.py,sha256=-0v8JCLH8ypz8GMXZ6Rrx-I0LoHuHO8sXFupbC1RpM0,1013
22
- ocf_data_sampler/load/nwp/providers/utils.py,sha256=cJZ9JA4W_ZeTcLQ5z71w46_DJaPcW_2JMmBdjP9r3qs,835
22
+ ocf_data_sampler/load/nwp/providers/utils.py,sha256=Rau6j6it2D4YLavoey-bdOlixgn5gDQioToAmRPAvtA,905
23
23
  ocf_data_sampler/numpy_sample/__init__.py,sha256=nY5C6CcuxiWZ_jrXRzWtN7WyKXhJImSiVTIG6Rz4B_4,401
24
24
  ocf_data_sampler/numpy_sample/collate.py,sha256=hoxIc5SoHoIs3Nx37aRZzWChpswjy9lHUgaKgHIoo80,2039
25
25
  ocf_data_sampler/numpy_sample/common_types.py,sha256=9CjYHkUTx0ObduWh43fhsybZCTXvexql7qC2ptMDoek,377
@@ -52,7 +52,7 @@ ocf_data_sampler/torch_datasets/utils/merge_and_fill_utils.py,sha256=we7BTxRH7B7
52
52
  ocf_data_sampler/torch_datasets/utils/valid_time_periods.py,sha256=xcy75cVxl0WrglnX5YUAFjXXlO2GwEBHWyqo8TDuiOA,4714
53
53
  scripts/refactor_site.py,sha256=skzvsPP0Cn9yTKndzkilyNcGz4DZ88ctvCJ0XrBdc2A,3135
54
54
  utils/compute_icon_mean_stddev.py,sha256=a1oWMRMnny39rV-dvu8rcx85sb4bXzPFrR1gkUr4Jpg,2296
55
- ocf_data_sampler-0.2.6.dist-info/METADATA,sha256=ukSZN_SjzikTkSkCNpRHFUcE-BO6EPxSUXnUxLZUBz4,11594
56
- ocf_data_sampler-0.2.6.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
57
- ocf_data_sampler-0.2.6.dist-info/top_level.txt,sha256=LEFU4Uk-PEo72QGLAfnVZIUEm37Q8mKuMeg_Xk-p33g,31
58
- ocf_data_sampler-0.2.6.dist-info/RECORD,,
55
+ ocf_data_sampler-0.2.7.dist-info/METADATA,sha256=XjzoJNcebQ_9UTsC--_HX9gG7mrBQBKmih3wDGOWtQQ,11594
56
+ ocf_data_sampler-0.2.7.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
57
+ ocf_data_sampler-0.2.7.dist-info/top_level.txt,sha256=LEFU4Uk-PEo72QGLAfnVZIUEm37Q8mKuMeg_Xk-p33g,31
58
+ ocf_data_sampler-0.2.7.dist-info/RECORD,,