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

@@ -31,6 +31,6 @@ def open_gfs(zarr_path: str | list[str]) -> xr.DataArray:
31
31
  check_time_unique_increasing(nwp.init_time_utc)
32
32
  nwp = make_spatial_coords_increasing(nwp, x_coord="longitude", y_coord="latitude")
33
33
 
34
- nwp = nwp.transpose("init_time_utc", "step", "channel", "latitude", "longitude")
34
+ nwp = nwp.transpose("init_time_utc", "step", "channel", "longitude", "latitude")
35
35
 
36
36
  return nwp
@@ -41,6 +41,6 @@ def open_icon_eu(zarr_path: str) -> xr.Dataset:
41
41
  nwp = nwp.isel(step=slice(0, 78))
42
42
  nwp = remove_isobaric_lelvels_from_coords(nwp)
43
43
  nwp = nwp.to_array().rename({"variable": "channel"})
44
- nwp = nwp.transpose("init_time_utc", "step", "channel", "latitude", "longitude")
44
+ nwp = nwp.transpose("init_time_utc", "step", "channel", "longitude", "latitude")
45
45
  nwp = make_spatial_coords_increasing(nwp, x_coord="longitude", y_coord="latitude")
46
46
  return nwp
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ocf-data-sampler
3
- Version: 0.2.5
3
+ Version: 0.2.6
4
4
  Author: James Fulton, Peter Dudfield
5
5
  Author-email: Open Climate Fix team <info@openclimatefix.org>
6
6
  License: MIT License
@@ -16,8 +16,8 @@ ocf_data_sampler/load/nwp/nwp.py,sha256=OUK6thsKfEcqGUj4WoxDiyqGcVwwoujePdmQRis8
16
16
  ocf_data_sampler/load/nwp/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  ocf_data_sampler/load/nwp/providers/cloudcasting.py,sha256=mGsEqo5nVGQhfIK1KC-ywLsaFKU18-UFKqQVtB8gpnw,1564
18
18
  ocf_data_sampler/load/nwp/providers/ecmwf.py,sha256=5AzktPJgertCx6oij6aePRosPuZHGFznMxTgtkk_mgc,994
19
- ocf_data_sampler/load/nwp/providers/gfs.py,sha256=JSDeh4YG1wibV8--P3X-zTO8LP0dsJcpFvIyglBbhi0,979
20
- ocf_data_sampler/load/nwp/providers/icon.py,sha256=yYUrs5HgjU0C5pMHBB6FGn3tLjswi990IY6QCXS1Zmw,1569
19
+ ocf_data_sampler/load/nwp/providers/gfs.py,sha256=pPqVqZqC9eK1gKfRsvR_hB-eiQ1V9LeYB15DVJElUX0,979
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
22
  ocf_data_sampler/load/nwp/providers/utils.py,sha256=cJZ9JA4W_ZeTcLQ5z71w46_DJaPcW_2JMmBdjP9r3qs,835
23
23
  ocf_data_sampler/numpy_sample/__init__.py,sha256=nY5C6CcuxiWZ_jrXRzWtN7WyKXhJImSiVTIG6Rz4B_4,401
@@ -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.5.dist-info/METADATA,sha256=1UkNAa8EWbFSGJZT8GHg6ZzhxaPmaNJRXFEsA9yJals,11594
56
- ocf_data_sampler-0.2.5.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
57
- ocf_data_sampler-0.2.5.dist-info/top_level.txt,sha256=LEFU4Uk-PEo72QGLAfnVZIUEm37Q8mKuMeg_Xk-p33g,31
58
- ocf_data_sampler-0.2.5.dist-info/RECORD,,
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,,