anemoi-utils 0.3.18__py3-none-any.whl → 0.4.0__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 anemoi-utils might be problematic. Click here for more details.
- anemoi/utils/_version.py +2 -2
- anemoi/utils/provenance.py +5 -1
- {anemoi_utils-0.3.18.dist-info → anemoi_utils-0.4.0.dist-info}/METADATA +2 -1
- {anemoi_utils-0.3.18.dist-info → anemoi_utils-0.4.0.dist-info}/RECORD +8 -8
- {anemoi_utils-0.3.18.dist-info → anemoi_utils-0.4.0.dist-info}/LICENSE +0 -0
- {anemoi_utils-0.3.18.dist-info → anemoi_utils-0.4.0.dist-info}/WHEEL +0 -0
- {anemoi_utils-0.3.18.dist-info → anemoi_utils-0.4.0.dist-info}/entry_points.txt +0 -0
- {anemoi_utils-0.3.18.dist-info → anemoi_utils-0.4.0.dist-info}/top_level.txt +0 -0
anemoi/utils/_version.py
CHANGED
anemoi/utils/provenance.py
CHANGED
|
@@ -145,11 +145,15 @@ def _module_versions(full):
|
|
|
145
145
|
|
|
146
146
|
|
|
147
147
|
@cache
|
|
148
|
-
def package_distributions():
|
|
148
|
+
def package_distributions() -> dict[str, list[str]]:
|
|
149
149
|
# Takes a significant amount of time to run
|
|
150
150
|
# so cache the result
|
|
151
151
|
from importlib import metadata
|
|
152
152
|
|
|
153
|
+
# For python 3.9 support
|
|
154
|
+
if not hasattr(metadata, "packages_distributions"):
|
|
155
|
+
import importlib_metadata as metadata
|
|
156
|
+
|
|
153
157
|
return metadata.packages_distributions()
|
|
154
158
|
|
|
155
159
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: anemoi-utils
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: A package to hold various functions to support training of ML models on ECMWF data.
|
|
5
5
|
Author-email: "European Centre for Medium-Range Weather Forecasts (ECMWF)" <software.support@ecmwf.int>
|
|
6
6
|
License: Apache License
|
|
@@ -227,6 +227,7 @@ Requires-Dist: aniso8601
|
|
|
227
227
|
Requires-Dist: pyyaml
|
|
228
228
|
Requires-Dist: tomli
|
|
229
229
|
Requires-Dist: tqdm
|
|
230
|
+
Requires-Dist: importlib-metadata ; python_version < "3.10"
|
|
230
231
|
Provides-Extra: all
|
|
231
232
|
Requires-Dist: anemoi-utils[grib,provenance,text] ; extra == 'all'
|
|
232
233
|
Provides-Extra: dev
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
anemoi/utils/__init__.py,sha256=zZZpbKIoGWwdCOuo6YSruLR7C0GzvzI1Wzhyqaa0K7M,456
|
|
2
2
|
anemoi/utils/__main__.py,sha256=cLA2PidDTOUHaDGzd0_E5iioKYNe-PSTv567Y2fuwQk,723
|
|
3
|
-
anemoi/utils/_version.py,sha256=
|
|
3
|
+
anemoi/utils/_version.py,sha256=j90u3VVU4UrJf1fgMUhaZarHK_Do2XGYXr-vZvOFzVo,411
|
|
4
4
|
anemoi/utils/caching.py,sha256=bCOjP1jcDbwi7BID3XaR9BbkD1k3UipkP74NbgJuEFA,1974
|
|
5
5
|
anemoi/utils/checkpoints.py,sha256=qWtqkQvMDlPIcfqz_GmOyUf0mmHZ6QEInpvgSJYIQjY,5275
|
|
6
6
|
anemoi/utils/cli.py,sha256=9TrBXkDjBsos2d0z6wdFDRZIjft3HWGutSgAFi0zCK4,3712
|
|
@@ -9,7 +9,7 @@ anemoi/utils/dates.py,sha256=dgGbTqpGOpYDGgWfXL_69HutXTCHDFI2DhvG-9I9WQI,12341
|
|
|
9
9
|
anemoi/utils/grib.py,sha256=mrk1drJm2jaPYERQX45QfX2MP4eUqRv0J-Y8IRSRTRE,3073
|
|
10
10
|
anemoi/utils/hindcasts.py,sha256=X8k-81ltmkTDHdviY0SJgvMg7XDu07xoc5ALlUxyPoo,1453
|
|
11
11
|
anemoi/utils/humanize.py,sha256=-xQraQWMLwNaLQAWfPi4K05qieQLgkiyYmV6bfhr10U,16611
|
|
12
|
-
anemoi/utils/provenance.py,sha256=
|
|
12
|
+
anemoi/utils/provenance.py,sha256=iSq4Y5eoWK_SNBMpMfInOB3shQlMZqE8iMBp-LgKtJk,10882
|
|
13
13
|
anemoi/utils/s3.py,sha256=MuY-PrHpt6iKM2RK7v74YoCdqvVJ8UjBDJh0wxUR9Co,18720
|
|
14
14
|
anemoi/utils/sanitise.py,sha256=VKIUiwm0EHPdkFUR6FkAxe94933yQx2obQtN6YROH5M,2862
|
|
15
15
|
anemoi/utils/sanitize.py,sha256=6HJrfCMnrmH5lfxydcBc-AjxkmkFXdCc1wotzm9NBCw,488
|
|
@@ -19,9 +19,9 @@ anemoi/utils/commands/__init__.py,sha256=qAybFZPBBQs0dyx7dZ3X5JsLpE90pwrqt1vSV7c
|
|
|
19
19
|
anemoi/utils/commands/config.py,sha256=KEffXZh0ZQfn8t6LXresfd94kDY0gEyulx9Wto5ttW0,824
|
|
20
20
|
anemoi/utils/mars/__init__.py,sha256=RAeY8gJ7ZvsPlcIvrQ4fy9xVHs3SphTAPw_XJDtNIKo,1750
|
|
21
21
|
anemoi/utils/mars/mars.yaml,sha256=R0dujp75lLA4wCWhPeOQnzJ45WZAYLT8gpx509cBFlc,66
|
|
22
|
-
anemoi_utils-0.
|
|
23
|
-
anemoi_utils-0.
|
|
24
|
-
anemoi_utils-0.
|
|
25
|
-
anemoi_utils-0.
|
|
26
|
-
anemoi_utils-0.
|
|
27
|
-
anemoi_utils-0.
|
|
22
|
+
anemoi_utils-0.4.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
23
|
+
anemoi_utils-0.4.0.dist-info/METADATA,sha256=k5BeXc7ZFltIC92FqulfU0PnQ0wY3OwVmyHyQKXjj6g,15114
|
|
24
|
+
anemoi_utils-0.4.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
25
|
+
anemoi_utils-0.4.0.dist-info/entry_points.txt,sha256=LENOkn88xzFQo-V59AKoA_F_cfYQTJYtrNTtf37YgHY,60
|
|
26
|
+
anemoi_utils-0.4.0.dist-info/top_level.txt,sha256=DYn8VPs-fNwr7fNH9XIBqeXIwiYYd2E2k5-dUFFqUz0,7
|
|
27
|
+
anemoi_utils-0.4.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|