ocf-data-sampler 0.5.28__py3-none-any.whl → 0.5.29__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/select/location.py +2 -2
- ocf_data_sampler/torch_datasets/sample/uk_regional.py +1 -1
- {ocf_data_sampler-0.5.28.dist-info → ocf_data_sampler-0.5.29.dist-info}/METADATA +1 -1
- {ocf_data_sampler-0.5.28.dist-info → ocf_data_sampler-0.5.29.dist-info}/RECORD +6 -6
- {ocf_data_sampler-0.5.28.dist-info → ocf_data_sampler-0.5.29.dist-info}/WHEEL +0 -0
- {ocf_data_sampler-0.5.28.dist-info → ocf_data_sampler-0.5.29.dist-info}/top_level.txt +0 -0
|
@@ -37,9 +37,9 @@ class Location:
|
|
|
37
37
|
return self._projections[coord_system]
|
|
38
38
|
else:
|
|
39
39
|
raise ValueError(
|
|
40
|
-
"Requested the coodinate in {coord_system}. This has not yet been added. "
|
|
40
|
+
f"Requested the coodinate in {coord_system}. This has not yet been added. "
|
|
41
41
|
"The current available coordinate systems are "
|
|
42
|
-
f"{list(self.
|
|
42
|
+
f"{list(self._projections.keys())}",
|
|
43
43
|
)
|
|
44
44
|
|
|
45
45
|
def add_coord_system(self, x: float, y: float, coord_system: int) -> None:
|
|
@@ -231,7 +231,7 @@ class UKRegionalSample(SampleBase):
|
|
|
231
231
|
"""Plots the sample data for visualization."""
|
|
232
232
|
from matplotlib import pyplot as plt
|
|
233
233
|
|
|
234
|
-
|
|
234
|
+
_, axes = plt.subplots(2, 2, figsize=(12, 8))
|
|
235
235
|
|
|
236
236
|
if NWPSampleKey.nwp in self._data:
|
|
237
237
|
first_nwp = next(iter(self._data[NWPSampleKey.nwp].values()))
|
|
@@ -37,7 +37,7 @@ ocf_data_sampler/select/dropout.py,sha256=i5NDP6oQnZBkQRJW-aXVrPXawktVKQz5VMexe5
|
|
|
37
37
|
ocf_data_sampler/select/fill_time_periods.py,sha256=TlGxp1xiAqnhdWfLy0pv3FuZc00dtimjWdLzr4JoTGA,865
|
|
38
38
|
ocf_data_sampler/select/find_contiguous_time_periods.py,sha256=etkr6LuB7zxkfzWJ6SgHiULdRuFzFlq5bOUNd257Qx4,11545
|
|
39
39
|
ocf_data_sampler/select/geospatial.py,sha256=rvMy_e--3tm-KAy9pU6b9-UMBQqH2sXykr3N_4SHYy4,6528
|
|
40
|
-
ocf_data_sampler/select/location.py,sha256=
|
|
40
|
+
ocf_data_sampler/select/location.py,sha256=nicHRegnD5QPJ3-4C9vH33bIcLowjfT0xwEF6sZNOOY,2348
|
|
41
41
|
ocf_data_sampler/select/select_spatial_slice.py,sha256=NB6NtZBc_Mb5zPCItzBIEa_Nroj2kEsjUIsa_kdWoj0,7081
|
|
42
42
|
ocf_data_sampler/select/select_time_slice.py,sha256=cpkdovJMvcjxSGfq9G0OJK5aDAeCXg7exWYrJnR4N2w,4116
|
|
43
43
|
ocf_data_sampler/torch_datasets/datasets/__init__.py,sha256=o0SsEXXZ6k9iL__5_RN1Sf60lw_eqK91P3UFEHAD2k0,102
|
|
@@ -47,7 +47,7 @@ ocf_data_sampler/torch_datasets/datasets/site.py,sha256=9WOEMkqqzG_SziP3uJ7YFBKn
|
|
|
47
47
|
ocf_data_sampler/torch_datasets/sample/__init__.py,sha256=GL84vdZl_SjHDGVyh9Uekx2XhPYuZ0dnO3l6f6KXnHI,100
|
|
48
48
|
ocf_data_sampler/torch_datasets/sample/base.py,sha256=cQ1oIyhdmlotejZK8B3Cw6MNvpdnBPD8G_o2h7Ye4Vc,2206
|
|
49
49
|
ocf_data_sampler/torch_datasets/sample/site.py,sha256=40NwNTqjL1WVhPdwe02zDHHfDLG2u_bvCfRCtGAtFc0,1466
|
|
50
|
-
ocf_data_sampler/torch_datasets/sample/uk_regional.py,sha256=
|
|
50
|
+
ocf_data_sampler/torch_datasets/sample/uk_regional.py,sha256=GtChjvbFB-BqkGftgZyh8jgTUX9IostYeyaSoVMCzp0,10481
|
|
51
51
|
ocf_data_sampler/torch_datasets/utils/__init__.py,sha256=4l1VcEmxHInU9G66zrimNMa8WcyKUASQST_iF9QfxUw,457
|
|
52
52
|
ocf_data_sampler/torch_datasets/utils/add_alterate_coordinate_projections.py,sha256=w6Q4TyxNyl7PKAbhqiXvqOpnqIjwmOUcGREIvPNGYlQ,2666
|
|
53
53
|
ocf_data_sampler/torch_datasets/utils/config_normalization_values_to_dicts.py,sha256=SGt1H2nXcaj44ND14-gHzvA7dkLfgjTacCq7rOkRGwg,1991
|
|
@@ -59,7 +59,7 @@ ocf_data_sampler/torch_datasets/utils/valid_time_periods.py,sha256=xcy75cVxl0Wrg
|
|
|
59
59
|
ocf_data_sampler/torch_datasets/utils/validation_utils.py,sha256=YqmT-lExWlI8_ul3l0EP73Ik002fStr_bhsZh9mQqEU,4735
|
|
60
60
|
scripts/download_gsp_location_data.py,sha256=rRDXMoqX-RYY4jPdxhdlxJGhWdl6r245F5UARgKV6P4,3121
|
|
61
61
|
scripts/refactor_site.py,sha256=skzvsPP0Cn9yTKndzkilyNcGz4DZ88ctvCJ0XrBdc2A,3135
|
|
62
|
-
ocf_data_sampler-0.5.
|
|
63
|
-
ocf_data_sampler-0.5.
|
|
64
|
-
ocf_data_sampler-0.5.
|
|
65
|
-
ocf_data_sampler-0.5.
|
|
62
|
+
ocf_data_sampler-0.5.29.dist-info/METADATA,sha256=8DZRKXa9GpYu4eLni0TaX0R0hJMhXhn2nB8znFEnlFw,13541
|
|
63
|
+
ocf_data_sampler-0.5.29.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
64
|
+
ocf_data_sampler-0.5.29.dist-info/top_level.txt,sha256=deUxqmsONNAGZDNbsntbXH7BRA1MqWaUeAJrCo6q_xA,25
|
|
65
|
+
ocf_data_sampler-0.5.29.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|