ocf-data-sampler 0.5.0__py3-none-any.whl → 0.5.2__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.
- ocf_data_sampler/load/gsp.py +6 -3
- {ocf_data_sampler-0.5.0.dist-info → ocf_data_sampler-0.5.2.dist-info}/METADATA +2 -2
- {ocf_data_sampler-0.5.0.dist-info → ocf_data_sampler-0.5.2.dist-info}/RECORD +5 -5
- {ocf_data_sampler-0.5.0.dist-info → ocf_data_sampler-0.5.2.dist-info}/WHEEL +0 -0
- {ocf_data_sampler-0.5.0.dist-info → ocf_data_sampler-0.5.2.dist-info}/top_level.txt +0 -0
ocf_data_sampler/load/gsp.py
CHANGED
|
@@ -52,9 +52,12 @@ def open_gsp(
|
|
|
52
52
|
backend_kwargs = {"storage_options": {"anon": True}}
|
|
53
53
|
# Currently only compatible with S3 bucket.
|
|
54
54
|
|
|
55
|
-
ds = xr.open_dataset(
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
ds = xr.open_dataset(
|
|
56
|
+
zarr_path,
|
|
57
|
+
engine="zarr",
|
|
58
|
+
chunks=None,
|
|
59
|
+
backend_kwargs=backend_kwargs,
|
|
60
|
+
).rename({"datetime_gmt": "time_utc"})
|
|
58
61
|
|
|
59
62
|
if not (ds.gsp_id.isin(df_gsp_loc.index)).all():
|
|
60
63
|
raise ValueError(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ocf-data-sampler
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Author: James Fulton, Peter Dudfield
|
|
5
5
|
Author-email: Open Climate Fix team <info@openclimatefix.org>
|
|
6
6
|
License: MIT License
|
|
@@ -34,7 +34,7 @@ Requires-Dist: torch
|
|
|
34
34
|
Requires-Dist: numpy
|
|
35
35
|
Requires-Dist: pandas
|
|
36
36
|
Requires-Dist: xarray
|
|
37
|
-
Requires-Dist: zarr
|
|
37
|
+
Requires-Dist: zarr
|
|
38
38
|
Requires-Dist: numcodecs==0.13.1
|
|
39
39
|
Requires-Dist: dask
|
|
40
40
|
Requires-Dist: matplotlib
|
|
@@ -7,7 +7,7 @@ ocf_data_sampler/config/save.py,sha256=m8SPw5rXjkMm1rByjh3pK5StdBi4e8ysnn3jQopdR
|
|
|
7
7
|
ocf_data_sampler/data/uk_gsp_locations_20220314.csv,sha256=RSh7DRh55E3n8lVAaWXGTaXXHevZZtI58td4d4DhGos,10415772
|
|
8
8
|
ocf_data_sampler/data/uk_gsp_locations_20250109.csv,sha256=XZISFatnbpO9j8LwaxNKFzQSjs6hcHFsV8a9uDDpy2E,9055334
|
|
9
9
|
ocf_data_sampler/load/__init__.py,sha256=-vQP9g0UOWdVbjEGyVX_ipa7R1btmiETIKAf6aw4d78,201
|
|
10
|
-
ocf_data_sampler/load/gsp.py,sha256=
|
|
10
|
+
ocf_data_sampler/load/gsp.py,sha256=d30jQWnwFaLj6rKNMHdz1qD8fzF8q--RNnEXT7bGiX0,2981
|
|
11
11
|
ocf_data_sampler/load/load_dataset.py,sha256=K8rWykjII-3g127If7WRRFivzHNx3SshCvZj4uQlf28,2089
|
|
12
12
|
ocf_data_sampler/load/open_tensorstore_zarrs.py,sha256=_RHWe0GmrBSA9s1TH5I9VCMPpeZEsuRuhDt5Vyyx5Fo,2725
|
|
13
13
|
ocf_data_sampler/load/satellite.py,sha256=RylkJz8avxdM5pK_liaTlD1DTboyPMgykXJ4_Ek9WBA,1840
|
|
@@ -56,7 +56,7 @@ ocf_data_sampler/torch_datasets/utils/validation_utils.py,sha256=YqmT-lExWlI8_ul
|
|
|
56
56
|
scripts/download_gsp_location_data.py,sha256=rRDXMoqX-RYY4jPdxhdlxJGhWdl6r245F5UARgKV6P4,3121
|
|
57
57
|
scripts/refactor_site.py,sha256=skzvsPP0Cn9yTKndzkilyNcGz4DZ88ctvCJ0XrBdc2A,3135
|
|
58
58
|
utils/compute_icon_mean_stddev.py,sha256=a1oWMRMnny39rV-dvu8rcx85sb4bXzPFrR1gkUr4Jpg,2296
|
|
59
|
-
ocf_data_sampler-0.5.
|
|
60
|
-
ocf_data_sampler-0.5.
|
|
61
|
-
ocf_data_sampler-0.5.
|
|
62
|
-
ocf_data_sampler-0.5.
|
|
59
|
+
ocf_data_sampler-0.5.2.dist-info/METADATA,sha256=mYEZX1GRP6sJoaRs3B5DY5SAFUl1r4OqkgJYXemLzOM,12580
|
|
60
|
+
ocf_data_sampler-0.5.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
61
|
+
ocf_data_sampler-0.5.2.dist-info/top_level.txt,sha256=LEFU4Uk-PEo72QGLAfnVZIUEm37Q8mKuMeg_Xk-p33g,31
|
|
62
|
+
ocf_data_sampler-0.5.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|