vortex-nwp 2.1.2__py3-none-any.whl → 2.1.3__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.
- vortex/__init__.py +2 -2
- vortex/data/geometries.py +13 -0
- {vortex_nwp-2.1.2.dist-info → vortex_nwp-2.1.3.dist-info}/METADATA +1 -1
- {vortex_nwp-2.1.2.dist-info → vortex_nwp-2.1.3.dist-info}/RECORD +7 -7
- {vortex_nwp-2.1.2.dist-info → vortex_nwp-2.1.3.dist-info}/WHEEL +0 -0
- {vortex_nwp-2.1.2.dist-info → vortex_nwp-2.1.3.dist-info}/licenses/LICENSE +0 -0
- {vortex_nwp-2.1.2.dist-info → vortex_nwp-2.1.3.dist-info}/top_level.txt +0 -0
vortex/__init__.py
CHANGED
|
@@ -53,10 +53,10 @@ from .toolbox import algo as task
|
|
|
53
53
|
|
|
54
54
|
from . import nwp as nwp # footprints import
|
|
55
55
|
|
|
56
|
-
__version__ = "2.1.
|
|
56
|
+
__version__ = "2.1.3"
|
|
57
57
|
__prompt__ = "Vortex v-" + __version__ + ":"
|
|
58
58
|
|
|
59
|
-
__nextversion__ = "2.1.
|
|
59
|
+
__nextversion__ = "2.1.4"
|
|
60
60
|
__tocinfoline__ = "VORTEX core package"
|
|
61
61
|
|
|
62
62
|
__all__ = [
|
vortex/data/geometries.py
CHANGED
|
@@ -764,12 +764,25 @@ def load(inifile="@geometries.ini", refresh=False, verbose=True):
|
|
|
764
764
|
|
|
765
765
|
The class that will be instantiated depends on the "kind" keyword..
|
|
766
766
|
"""
|
|
767
|
+
from vortex import sessions
|
|
768
|
+
|
|
767
769
|
iniconf = configparser.ConfigParser()
|
|
770
|
+
|
|
771
|
+
# Load from vortex distribution
|
|
768
772
|
with importlib.resources.open_text(
|
|
769
773
|
"vortex.data",
|
|
770
774
|
"geometries.ini",
|
|
771
775
|
) as fh:
|
|
772
776
|
iniconf.read_file(fh)
|
|
777
|
+
|
|
778
|
+
# Load from user's config directory if it exists
|
|
779
|
+
glove = sessions.current().glove
|
|
780
|
+
local = sessions.system()
|
|
781
|
+
user_geometries = glove.configrc + "/geometries.ini"
|
|
782
|
+
if local.path.exists(user_geometries):
|
|
783
|
+
with open(user_geometries, encoding="utf-8") as fh:
|
|
784
|
+
iniconf.read_file(fh)
|
|
785
|
+
|
|
773
786
|
for item in iniconf.sections():
|
|
774
787
|
gdesc = dict(iniconf.items(item))
|
|
775
788
|
gkind = gdesc.get("kind")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
vortex/__init__.py,sha256=
|
|
1
|
+
vortex/__init__.py,sha256=c5NNahiKAbT_l0w-Ni5wOdjQyybGAFjJ6g8UhnZ-7x4,4374
|
|
2
2
|
vortex/config.py,sha256=YEpcc81wR94jvn36fPONmKc1tM4ap0s8Rc7v3KfDUok,2948
|
|
3
3
|
vortex/gloves.py,sha256=GKz27S8eLfRlk8fNqVL_z1gsQ8zvEj73p5uVi11ou00,8487
|
|
4
4
|
vortex/proxy.py,sha256=OlPrVUJS5FoKt5pX8ApN1crFFDj8RJAqhDEilwvfrYU,127
|
|
@@ -19,7 +19,7 @@ vortex/data/contents.py,sha256=ZrwlJfOvkTemzikFRgYBQH3ApC-TPNrbZxpZstzDdbY,19079
|
|
|
19
19
|
vortex/data/executables.py,sha256=FeR3SA2wW97zAQXwWVecZ0v6VYT5L_3K1Czuv33Bk74,6723
|
|
20
20
|
vortex/data/flow.py,sha256=P1itBnA8jaoCWnVQjqbD_Pf26rpzud1JdwSLECDnDl4,3008
|
|
21
21
|
vortex/data/geometries.ini,sha256=J7hX5hYWqwBjdUAul6q8j10U6b3I-QEHrFJ98LBTQXM,52805
|
|
22
|
-
vortex/data/geometries.py,sha256=
|
|
22
|
+
vortex/data/geometries.py,sha256=ijRpb4Z0xhdYFlbO5thichY5g4DCK-oYG99Nlu6p9lw,27815
|
|
23
23
|
vortex/data/handlers.py,sha256=0XeVFoSKSCMdvKTx5b1pczN79d14k_uGqccG6IXMX-8,50469
|
|
24
24
|
vortex/data/outflow.py,sha256=IPKJkn75lRvhSqN5969TuhRAPnsZKlrWR4Cmw6VBFDs,1475
|
|
25
25
|
vortex/data/providers.py,sha256=dkJHW9KuvNszdoWrRxcRv2u-z3gX2RPY3rlk5sEj0Vk,15730
|
|
@@ -137,8 +137,8 @@ vortex/util/roles.py,sha256=9un_QAijaMn5iTS7PrdoWI5_NNw7uHxMWTnyhc5aNzg,1150
|
|
|
137
137
|
vortex/util/storefunctions.py,sha256=uSfG-G_A88iJf3DwFBd-j0rw6eJta8opfRT39aQHsHM,3615
|
|
138
138
|
vortex/util/structs.py,sha256=vapErq0MNhiKlsnjrv_a5M0Rn29KbP3WE_oiy4Hfwb8,683
|
|
139
139
|
vortex/util/worker.py,sha256=zp8f2tx4SXwf1v55XMdYLAx7n3vSlg8PRGrkHgnfdmg,4721
|
|
140
|
-
vortex_nwp-2.1.
|
|
141
|
-
vortex_nwp-2.1.
|
|
142
|
-
vortex_nwp-2.1.
|
|
143
|
-
vortex_nwp-2.1.
|
|
144
|
-
vortex_nwp-2.1.
|
|
140
|
+
vortex_nwp-2.1.3.dist-info/licenses/LICENSE,sha256=ewBJPmWAcQqtBPrydH10tt6ECkcYP3b1o2RfH85pJF0,21863
|
|
141
|
+
vortex_nwp-2.1.3.dist-info/METADATA,sha256=Hbbea9Uml3ko4Amutk5FO0INbWbHzhabPigBufh8eFA,2185
|
|
142
|
+
vortex_nwp-2.1.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
143
|
+
vortex_nwp-2.1.3.dist-info/top_level.txt,sha256=3xfbSD7kw8xKl0jk4GNHsOPKbhubstfWHPl6bxHciRQ,7
|
|
144
|
+
vortex_nwp-2.1.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|