ocf-data-sampler 0.1.0__py3-none-any.whl → 0.1.1__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/sample/uk_regional.py +3 -1
- {ocf_data_sampler-0.1.0.dist-info → ocf_data_sampler-0.1.1.dist-info}/METADATA +1 -1
- {ocf_data_sampler-0.1.0.dist-info → ocf_data_sampler-0.1.1.dist-info}/RECORD +6 -6
- {ocf_data_sampler-0.1.0.dist-info → ocf_data_sampler-0.1.1.dist-info}/LICENSE +0 -0
- {ocf_data_sampler-0.1.0.dist-info → ocf_data_sampler-0.1.1.dist-info}/WHEEL +0 -0
- {ocf_data_sampler-0.1.0.dist-info → ocf_data_sampler-0.1.1.dist-info}/top_level.txt +0 -0
|
@@ -65,7 +65,9 @@ class UKRegionalSample(SampleBase):
|
|
|
65
65
|
raise ValueError(f"Only .pt format is supported: {path.suffix}")
|
|
66
66
|
|
|
67
67
|
instance = cls()
|
|
68
|
-
|
|
68
|
+
# TODO: We should move away from using torch.load(..., weights_only=False)
|
|
69
|
+
# This is not recommended
|
|
70
|
+
instance._data = torch.load(path, weights_only=False)
|
|
69
71
|
logger.debug(f"Successfully loaded UKRegionalSample from {path}")
|
|
70
72
|
return instance
|
|
71
73
|
|
|
@@ -29,7 +29,7 @@ ocf_data_sampler/numpy_sample/sun_position.py,sha256=UklhucCxCT6GMlAhCWL6c4cfWrd
|
|
|
29
29
|
ocf_data_sampler/sample/__init__.py,sha256=02CM7E5nKkGiYbVW-kvzjNd4RaqGuHCkDChtmDBDUoA,248
|
|
30
30
|
ocf_data_sampler/sample/base.py,sha256=4U78tczCRsKMDwU4HkD20nyGyYjIBSZV5neF2mT--2M,1197
|
|
31
31
|
ocf_data_sampler/sample/site.py,sha256=0BvDXs0kxTjUq7kWpeoITK_uN4uE0w1IvEFXZUoKOb0,2507
|
|
32
|
-
ocf_data_sampler/sample/uk_regional.py,sha256=
|
|
32
|
+
ocf_data_sampler/sample/uk_regional.py,sha256=D1A6nQB1PYCmxb3FzU9gqbNufQfx__wcprcDm50jCJw,4381
|
|
33
33
|
ocf_data_sampler/select/__init__.py,sha256=E4AJulEbO2K-o0UlG1fgaEteuf_1ZFjHTvrotXSb4YU,332
|
|
34
34
|
ocf_data_sampler/select/dropout.py,sha256=HCx5Wzk8Oh2Z9vV94Jy-ALJsHtGduwvMaQOleQXp5z0,1142
|
|
35
35
|
ocf_data_sampler/select/fill_time_periods.py,sha256=iTtMjIPFYG5xtUYYedAFBLjTWWUa7t7WQ0-yksWf0-E,440
|
|
@@ -73,8 +73,8 @@ tests/torch_datasets/conftest.py,sha256=eRCzHE7cxS4AoskExkCGFDBeqItktAYNAdkfpMoF
|
|
|
73
73
|
tests/torch_datasets/test_merge_and_fill_utils.py,sha256=ueA0A7gZaWEgNdsU8p3CnKuvSnlleTUjEhSw2HUUROM,1229
|
|
74
74
|
tests/torch_datasets/test_pvnet_uk_regional.py,sha256=FCiFueeFqrsXe7gWguSjBz5ZeUrvyhGbGw81gaVvkHM,5087
|
|
75
75
|
tests/torch_datasets/test_site.py,sha256=J1ZDE5V5MRlq7EuZ1zUu-aFRGTDJIiO-ZZzkOXvDdWA,6757
|
|
76
|
-
ocf_data_sampler-0.1.
|
|
77
|
-
ocf_data_sampler-0.1.
|
|
78
|
-
ocf_data_sampler-0.1.
|
|
79
|
-
ocf_data_sampler-0.1.
|
|
80
|
-
ocf_data_sampler-0.1.
|
|
76
|
+
ocf_data_sampler-0.1.1.dist-info/LICENSE,sha256=F-Q3UFCR-BECSocV55BFDpn4YKxve9PKrm-lTt6o_Tg,1073
|
|
77
|
+
ocf_data_sampler-0.1.1.dist-info/METADATA,sha256=P9dwf_t7KWXN9ZhkQJrlwEH5N5ZyXY5-nCDhbgsbLXk,12173
|
|
78
|
+
ocf_data_sampler-0.1.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
79
|
+
ocf_data_sampler-0.1.1.dist-info/top_level.txt,sha256=Faob6N6cFdPc5eUpCTYcXgCaNhi4XLLteUL5W5ayYmg,31
|
|
80
|
+
ocf_data_sampler-0.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|