wolfhece 2.1.34__py3-none-any.whl → 2.1.38__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.
- wolfhece/GraphProfile.py +8 -8
- wolfhece/apps/splashscreen.py +7 -7
- wolfhece/apps/version.py +1 -1
- wolfhece/cli.py +18 -0
- wolfhece/hydrology/Comparison.py +11 -8
- wolfhece/hydrometry/kiwispie.py +1 -4
- wolfhece/lagrangian/advection.py +3 -2
- wolfhece/libs/get_infos.cp310-win_amd64.pyd +0 -0
- wolfhece/libs/verify_wolf.cp310-win_amd64.pyd +0 -0
- wolfhece/libs/wolfogl.cp310-win_amd64.pyd +0 -0
- wolfhece/wolf_array.py +24 -24
- wolfhece/wolfresults_2D.py +5 -11
- {wolfhece-2.1.34.dist-info → wolfhece-2.1.38.dist-info}/METADATA +3 -1
- {wolfhece-2.1.34.dist-info → wolfhece-2.1.38.dist-info}/RECORD +17 -47
- {wolfhece-2.1.34.dist-info → wolfhece-2.1.38.dist-info}/entry_points.txt +1 -0
- wolfhece/libs/MSVCP140.dll +0 -0
- wolfhece/libs/WolfDll.dll +0 -0
- wolfhece/libs/WolfOGL.c +0 -42489
- wolfhece/libs/WolfOGL.pyx +0 -1979
- wolfhece/libs/api-ms-win-crt-heap-l1-1-0.dll +0 -0
- wolfhece/libs/api-ms-win-crt-math-l1-1-0.dll +0 -0
- wolfhece/libs/api-ms-win-crt-runtime-l1-1-0.dll +0 -0
- wolfhece/libs/fribidi-0.dll +0 -0
- wolfhece/libs/glu32.dll +0 -0
- wolfhece/libs/hdf5.dll +0 -0
- wolfhece/libs/hdf5_hl.dll +0 -0
- wolfhece/libs/libcurl.dll +0 -0
- wolfhece/libs/libifcoremd.dll +0 -0
- wolfhece/libs/libifcoremdd.dll +0 -0
- wolfhece/libs/libifportmd.dll +0 -0
- wolfhece/libs/libiomp5md.dll +0 -0
- wolfhece/libs/libmmd.dll +0 -0
- wolfhece/libs/libmmdd.dll +0 -0
- wolfhece/libs/libpardiso600-WIN-X86-64.dll +0 -0
- wolfhece/libs/libraqm.dll +0 -0
- wolfhece/libs/mkl_core.2.dll +0 -0
- wolfhece/libs/mkl_intel_thread.2.dll +0 -0
- wolfhece/libs/mkl_rt.2.dll +0 -0
- wolfhece/libs/msvcr100.dll +0 -0
- wolfhece/libs/netcdf.dll +0 -0
- wolfhece/libs/paho-mqtt3cs.dll +0 -0
- wolfhece/libs/svml_dispmd.dll +0 -0
- wolfhece/libs/vcomp100.dll +0 -0
- wolfhece/libs/vcruntime140.dll +0 -0
- wolfhece/libs/vcruntime140_1.dll +0 -0
- wolfhece/libs/verify_license.cp310-win_amd64.pyd +0 -0
- wolfhece/libs/zlib1.dll +0 -0
- {wolfhece-2.1.34.dist-info → wolfhece-2.1.38.dist-info}/WHEEL +0 -0
- {wolfhece-2.1.34.dist-info → wolfhece-2.1.38.dist-info}/top_level.txt +0 -0
wolfhece/GraphProfile.py
CHANGED
@@ -15,8 +15,8 @@ import wx
|
|
15
15
|
import wx.lib.agw.aui as aui
|
16
16
|
import copy
|
17
17
|
from shapely.geometry import LineString,Point
|
18
|
-
from matplotlib import
|
19
|
-
from matplotlib import
|
18
|
+
from matplotlib.figure import Figure
|
19
|
+
from matplotlib.axis import Axis
|
20
20
|
import matplotlib.pyplot as plt
|
21
21
|
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas, NavigationToolbar2WxAgg as NavigationToolbar
|
22
22
|
from wx.grid import Grid
|
@@ -37,7 +37,7 @@ class ProfilePanel(wx.Panel):
|
|
37
37
|
"""
|
38
38
|
A wx.panel on which the matplolib figure is displayed.
|
39
39
|
"""
|
40
|
-
figure:
|
40
|
+
figure: Figure
|
41
41
|
|
42
42
|
def __init__(self, parent, id =-1, dpi= None, toolbar = True, **kwargs):
|
43
43
|
|
@@ -47,7 +47,7 @@ class ProfilePanel(wx.Panel):
|
|
47
47
|
|
48
48
|
#Figure
|
49
49
|
if self.wx_exists:
|
50
|
-
self.figure =
|
50
|
+
self.figure = Figure(dpi = dpi, figsize=(8,4))
|
51
51
|
else:
|
52
52
|
self.figure = plt.figure(dpi = dpi, figsize=(15,10)) # FIXME not exactly the same than mplfig.Figure, probably rendering machine
|
53
53
|
|
@@ -97,7 +97,7 @@ class ProfilePanel(wx.Panel):
|
|
97
97
|
|
98
98
|
return self.ax_cs_real, self.ax_img, self.ax_dis, self.ax_hsw
|
99
99
|
|
100
|
-
def get_fig_ax(self) ->
|
100
|
+
def get_fig_ax(self) -> tuple[Figure, Axis, Axis, Axis, Axis, Axis]:
|
101
101
|
"""
|
102
102
|
This method returns the active axes of the matplotlib figure.
|
103
103
|
"""
|
@@ -969,7 +969,7 @@ class PlotCSAll(ProfilePanel):
|
|
969
969
|
self.plot_hspw()
|
970
970
|
self.plot_cs()
|
971
971
|
|
972
|
-
def plot_profile(self, figax:tuple
|
972
|
+
def plot_profile(self, figax:tuple[Figure, Axis] = None):
|
973
973
|
"""
|
974
974
|
This method plots the geometric profiles on the first and third graph.
|
975
975
|
The third graph is anamorphosed to allow comparisons with other graphs using the same scale.
|
@@ -1039,7 +1039,7 @@ class PlotCSAll(ProfilePanel):
|
|
1039
1039
|
if self.wx_exists:
|
1040
1040
|
leg4.set_draggable(True)
|
1041
1041
|
|
1042
|
-
def plot_discharge(self, figax:tuple
|
1042
|
+
def plot_discharge(self, figax:tuple[Figure, Axis] = None):
|
1043
1043
|
"""
|
1044
1044
|
This method plots the discharge relationships of the active profile on the 5th axis of the matplotlib figure.
|
1045
1045
|
"""
|
@@ -1069,7 +1069,7 @@ class PlotCSAll(ProfilePanel):
|
|
1069
1069
|
if self.wx_exists:
|
1070
1070
|
leg5.set_draggable(True)
|
1071
1071
|
|
1072
|
-
def plot_hspw(self, figax:tuple
|
1072
|
+
def plot_hspw(self, figax:tuple[Figure, Axis] = None):
|
1073
1073
|
"""
|
1074
1074
|
The methods plots the hydraulic radius - H, the wetted area - S, the wetted perimeter - P and top width - W on sixth axis and last graph of the figure.
|
1075
1075
|
"""
|
wolfhece/apps/splashscreen.py
CHANGED
@@ -17,12 +17,12 @@ import wx
|
|
17
17
|
import time
|
18
18
|
from wx.adv import SplashScreen as SplashScreen,SPLASH_CENTRE_ON_SCREEN,SPLASH_TIMEOUT,Sound
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
20
|
+
try:
|
21
|
+
from ..libs import wolfogl
|
22
|
+
except:
|
23
|
+
print("** WolfOGL not found **")
|
24
|
+
print("Without WolfOGL, the application will not work !")
|
25
|
+
print("Please reinstall 'wolfhece' package -- pip install wolfhece --force-reinstall")
|
26
26
|
|
27
27
|
class WolfLauncher(SplashScreen):
|
28
28
|
"""
|
@@ -32,7 +32,7 @@ class WolfLauncher(SplashScreen):
|
|
32
32
|
done = False
|
33
33
|
|
34
34
|
def __init__(self, parent=None, play_sound=True):
|
35
|
-
|
35
|
+
|
36
36
|
if self.done:
|
37
37
|
return
|
38
38
|
|
wolfhece/apps/version.py
CHANGED
wolfhece/cli.py
CHANGED
@@ -13,6 +13,24 @@ def check():
|
|
13
13
|
from .apps.check_install import main
|
14
14
|
main()
|
15
15
|
|
16
|
+
def license():
|
17
|
+
""" Main wolf application : License """
|
18
|
+
from .libs.wolfogl import request_license
|
19
|
+
from pathlib import Path
|
20
|
+
|
21
|
+
if Path(__file__).parent / 'license' / 'wolf.lic':
|
22
|
+
print('License file found -- Regenerate !')
|
23
|
+
|
24
|
+
email = ''
|
25
|
+
while not '@' in email:
|
26
|
+
email = input('Enter your email and press enter : ')
|
27
|
+
|
28
|
+
request_license(email)
|
29
|
+
if Path(__file__).parent / 'license' / 'wolf.lic':
|
30
|
+
print('Done !')
|
31
|
+
else:
|
32
|
+
print('Error ! - Please retry. If the error persists, contact the support.')
|
33
|
+
|
16
34
|
def accept():
|
17
35
|
""" Main wolf application : Accept """
|
18
36
|
from .acceptability.cli import main
|
wolfhece/hydrology/Comparison.py
CHANGED
@@ -419,10 +419,10 @@ class Comparison:
|
|
419
419
|
tzPlot = plotDict["General Parameters"]["Time Zone Plot"]
|
420
420
|
tzDelta = datetime.timedelta(hours=tzPlot)
|
421
421
|
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
422
|
+
if(envelop and not("Ref Name" in plotDict["General Parameters"])):
|
423
|
+
refName = "Catchment 1"
|
424
|
+
else:
|
425
|
+
refName = plotDict["General Parameters"]["Ref Name"]
|
426
426
|
|
427
427
|
if(not("Add Table" in plotDict["General Parameters"])):
|
428
428
|
addTable = False
|
@@ -1076,10 +1076,13 @@ class Comparison:
|
|
1076
1076
|
tzPlot = plotDict["General Parameters"]["Time Zone Plot"]
|
1077
1077
|
tzDelta = datetime.timedelta(hours=tzPlot)
|
1078
1078
|
|
1079
|
-
|
1080
|
-
#
|
1081
|
-
|
1082
|
-
|
1079
|
+
#******************************************************
|
1080
|
+
#FIXME : is it correct ??
|
1081
|
+
if(envelop and not("Ref Name" in plotDict["General Parameters"])):
|
1082
|
+
refName = "Catchment 1"
|
1083
|
+
else:
|
1084
|
+
refName = plotDict["General Parameters"]["Ref Name"]
|
1085
|
+
#******************************************************
|
1083
1086
|
|
1084
1087
|
if(not("Add Table" in plotDict["General Parameters"])):
|
1085
1088
|
addTable = False
|
wolfhece/hydrometry/kiwispie.py
CHANGED
wolfhece/lagrangian/advection.py
CHANGED
@@ -12,6 +12,7 @@ from wolfhece.lagrangian.velocity_field import Velocity_Field, Velocity_Field_nu
|
|
12
12
|
|
13
13
|
import numpy as np
|
14
14
|
from numba import jit
|
15
|
+
from typing import Union, Literal
|
15
16
|
|
16
17
|
@jit(nopython=True)
|
17
18
|
def advection_xy(start_x:np.ndarray,
|
@@ -20,7 +21,7 @@ def advection_xy(start_x:np.ndarray,
|
|
20
21
|
end_y:np.ndarray,
|
21
22
|
uv_field:Velocity_Field_numba,
|
22
23
|
dt:float,
|
23
|
-
scheme:['Euler_expl', 'RK22', 'RK4', 'RK45']) -> float:
|
24
|
+
scheme:Literal['Euler_expl', 'RK22', 'RK4', 'RK45']) -> float:
|
24
25
|
"""
|
25
26
|
Update the position of the particles.
|
26
27
|
"""
|
@@ -122,7 +123,7 @@ def advection_xy_2fields(start_x:np.ndarray,
|
|
122
123
|
uv_fields:Velocity_2Fields_numba,
|
123
124
|
current_time:float,
|
124
125
|
dt:float,
|
125
|
-
scheme:['Euler_expl', 'RK22', 'RK4', 'RK45']) -> float:
|
126
|
+
scheme:Literal['Euler_expl', 'RK22', 'RK4', 'RK45']) -> float:
|
126
127
|
"""
|
127
128
|
Update the position of the particles.
|
128
129
|
"""
|
Binary file
|
Binary file
|
Binary file
|
wolfhece/wolf_array.py
CHANGED
@@ -694,7 +694,7 @@ class header_wolf():
|
|
694
694
|
"""
|
695
695
|
|
696
696
|
dtype = raster.GetRasterBand(1).DataType
|
697
|
-
|
697
|
+
|
698
698
|
if dtype == 1:
|
699
699
|
self.wolftype = WOLF_ARRAY_FULL_INTEGER8
|
700
700
|
elif dtype in [2,3]:
|
@@ -745,8 +745,8 @@ class header_wolf():
|
|
745
745
|
shape, fortran, dtype = np.lib.format.read_array_header_2_0(f)
|
746
746
|
else:
|
747
747
|
raise ValueError("Unknown numpy version: %s" % version)
|
748
|
-
|
749
|
-
self.nbx, self.nby = shape
|
748
|
+
|
749
|
+
self.nbx, self.nby = shape
|
750
750
|
|
751
751
|
if dtype == np.float32:
|
752
752
|
self.wolftype = WOLF_ARRAY_FULL_SINGLE
|
@@ -4349,7 +4349,7 @@ class WolfArray(Element_To_Draw, header_wolf):
|
|
4349
4349
|
"""
|
4350
4350
|
|
4351
4351
|
if self.nbz == 0:
|
4352
|
-
size = self.nbx * self.nby
|
4352
|
+
size = self.nbx * self.nby
|
4353
4353
|
else:
|
4354
4354
|
size = self.nbx * self.nby * self.nbz
|
4355
4355
|
|
@@ -4365,7 +4365,7 @@ class WolfArray(Element_To_Draw, header_wolf):
|
|
4365
4365
|
return size
|
4366
4366
|
else:
|
4367
4367
|
return size * 4
|
4368
|
-
|
4368
|
+
|
4369
4369
|
@property
|
4370
4370
|
def memory_usage_mask(self):
|
4371
4371
|
"""
|
@@ -4383,13 +4383,13 @@ class WolfArray(Element_To_Draw, header_wolf):
|
|
4383
4383
|
""" Destructeur de la classe """
|
4384
4384
|
import gc
|
4385
4385
|
self.delete_lists()
|
4386
|
-
del self.array
|
4386
|
+
del self.array
|
4387
4387
|
if VERSION_RGB==1 : del self.rgb
|
4388
4388
|
del self._array3d
|
4389
4389
|
del self.mypal
|
4390
4390
|
del self.shaded
|
4391
4391
|
gc.collect()
|
4392
|
-
|
4392
|
+
|
4393
4393
|
def extract_selection(self):
|
4394
4394
|
""" Extract the current selection """
|
4395
4395
|
|
@@ -4449,9 +4449,9 @@ class WolfArray(Element_To_Draw, header_wolf):
|
|
4449
4449
|
|
4450
4450
|
self._quads = self.get_centers()
|
4451
4451
|
ztext = np.require(self.array.data.copy(), dtype=np.float32, requirements=['C'])
|
4452
|
-
|
4452
|
+
|
4453
4453
|
assert ztext.flags.c_contiguous, _('ztext is not C-contiguous')
|
4454
|
-
|
4454
|
+
|
4455
4455
|
ztext[self.array.mask] = self.array.min()
|
4456
4456
|
self._array3d = WolfArray_plot3D(self._quads,
|
4457
4457
|
self.dx, self.dy,
|
@@ -4820,7 +4820,7 @@ class WolfArray(Element_To_Draw, header_wolf):
|
|
4820
4820
|
band.ComputeStatistics(True)
|
4821
4821
|
|
4822
4822
|
def _import_npy(self, fn:str='', crop:list[float]=None):
|
4823
|
-
"""
|
4823
|
+
"""
|
4824
4824
|
Import a numpy file.
|
4825
4825
|
|
4826
4826
|
Must be called after the header is initialized, e.g. read_txt_header.
|
@@ -6055,7 +6055,7 @@ class WolfArray(Element_To_Draw, header_wolf):
|
|
6055
6055
|
|
6056
6056
|
self.loaded = True
|
6057
6057
|
|
6058
|
-
if VERSION_RGB==1 :
|
6058
|
+
if VERSION_RGB==1 :
|
6059
6059
|
if self.rgb is None:
|
6060
6060
|
self.updatepalette(0)
|
6061
6061
|
|
@@ -6569,7 +6569,7 @@ class WolfArray(Element_To_Draw, header_wolf):
|
|
6569
6569
|
if self.wx_exists:
|
6570
6570
|
logging.warning(_('No data file : ')+self.filename)
|
6571
6571
|
return
|
6572
|
-
|
6572
|
+
|
6573
6573
|
def check_threshold(nbx, nby, THRESHOLD) -> bool:
|
6574
6574
|
if nbx * nby > THRESHOLD:
|
6575
6575
|
logging.info(_('The array is very large > 100M pixels'))
|
@@ -6585,7 +6585,7 @@ class WolfArray(Element_To_Draw, header_wolf):
|
|
6585
6585
|
self.read_txt_header()
|
6586
6586
|
|
6587
6587
|
if self.preload:
|
6588
|
-
|
6588
|
+
|
6589
6589
|
update_min_max = check_threshold(self.nbx, self.nby, THRESHOLD)
|
6590
6590
|
|
6591
6591
|
self.import_geotif(which= which_band, crop = self.cropini)
|
@@ -7346,7 +7346,7 @@ class WolfArray(Element_To_Draw, header_wolf):
|
|
7346
7346
|
else:
|
7347
7347
|
self.mypal.isopop(self.get_working_array(), self.nbnotnull)
|
7348
7348
|
|
7349
|
-
if VERSION_RGB==1 :
|
7349
|
+
if VERSION_RGB==1 :
|
7350
7350
|
if self.nbx * self.nby > 1_000_000 : logging.info(_('Computing colors'))
|
7351
7351
|
if self.wolftype not in [WOLF_ARRAY_FULL_SINGLE, WOLF_ARRAY_FULL_INTEGER8]:
|
7352
7352
|
# FIXME: Currently, only some types are supported in Cython/OpenGL library
|
@@ -7357,7 +7357,7 @@ class WolfArray(Element_To_Draw, header_wolf):
|
|
7357
7357
|
self.rgb = self.mypal.get_rgba(self.array)
|
7358
7358
|
if self.nbx * self.nby > 1_000_000 : logging.info(_('Colors computed'))
|
7359
7359
|
elif VERSION_RGB==2 :
|
7360
|
-
if self.wolftype not in [WOLF_ARRAY_FULL_SINGLE,
|
7360
|
+
if self.wolftype not in [WOLF_ARRAY_FULL_SINGLE,
|
7361
7361
|
WOLF_ARRAY_FULL_INTEGER8,
|
7362
7362
|
WOLF_ARRAY_FULL_INTEGER16,
|
7363
7363
|
WOLF_ARRAY_FULL_INTEGER16_2,
|
@@ -7539,7 +7539,7 @@ class WolfArray(Element_To_Draw, header_wolf):
|
|
7539
7539
|
def fillonecellgrid(self, curscale, loci, locj, force=False):
|
7540
7540
|
""" Fill one cell of the plotted grid """
|
7541
7541
|
|
7542
|
-
|
7542
|
+
|
7543
7543
|
|
7544
7544
|
cursize = curscale # 2**curscale
|
7545
7545
|
|
@@ -7651,12 +7651,12 @@ class WolfArray(Element_To_Draw, header_wolf):
|
|
7651
7651
|
|
7652
7652
|
curlist['done'][loci, locj] = 1
|
7653
7653
|
|
7654
|
-
def suxsuy_contour(self,
|
7655
|
-
filename:str='',
|
7654
|
+
def suxsuy_contour(self,
|
7655
|
+
filename:str='',
|
7656
7656
|
abs:bool=False,
|
7657
|
-
one_vec_if_ml:bool = True) -> tuple[list[int,int],
|
7658
|
-
list[int,int],
|
7659
|
-
vector | zone,
|
7657
|
+
one_vec_if_ml:bool = True) -> tuple[list[int,int],
|
7658
|
+
list[int,int],
|
7659
|
+
vector | zone,
|
7660
7660
|
bool]:
|
7661
7661
|
"""
|
7662
7662
|
The borders are computed on basis of the current *mask*
|
@@ -8160,7 +8160,7 @@ class WolfArrayMB(WolfArray):
|
|
8160
8160
|
if self.masknull:
|
8161
8161
|
self.mask_data(self.nullvalue)
|
8162
8162
|
|
8163
|
-
if VERSION_RGB==1 :
|
8163
|
+
if VERSION_RGB==1 :
|
8164
8164
|
if self.rgb is None:
|
8165
8165
|
self.rgb = np.ones((self.nbx, self.nby, 4), order='F', dtype=np.integer)
|
8166
8166
|
|
@@ -8434,8 +8434,8 @@ class WolfArrayMB(WolfArray):
|
|
8434
8434
|
self.mypal.isopop(allarrays, self.nbnotnull)
|
8435
8435
|
|
8436
8436
|
self.link_palette()
|
8437
|
-
|
8438
|
-
if VERSION_RGB ==1:
|
8437
|
+
|
8438
|
+
if VERSION_RGB ==1:
|
8439
8439
|
for curblock in self.myblocks.values():
|
8440
8440
|
curblock.rgb = self.mypal.get_rgba(curblock.array)
|
8441
8441
|
|
wolfhece/wolfresults_2D.py
CHANGED
@@ -64,12 +64,6 @@ except Exception as ex:
|
|
64
64
|
if is_submodule:
|
65
65
|
msg = _("wolfpy was found but we were not able to load it. It may be an issue with its DLL dependencies")
|
66
66
|
msg += _("The actual error was: {}").format(str(ex))
|
67
|
-
else:
|
68
|
-
msg=_('Error importing wolfpy.pyd')
|
69
|
-
msg+=_(' Python version : ' + sys.version)
|
70
|
-
msg+=_(' If your Python version is not 3.7.x or 3.9.x, you need to compile an adapted library with compile_wcython.py in wolfhece library path')
|
71
|
-
msg+=_(' See comments in compile_wcython.py or launch *python compile_wcython.py build_ext --inplace* in :')
|
72
|
-
msg+=' ' + dirname(__file__)
|
73
67
|
|
74
68
|
raise Exception(msg)
|
75
69
|
|
@@ -1789,7 +1783,7 @@ class OneWolfResult:
|
|
1789
1783
|
|
1790
1784
|
self._current.mypal = curpal
|
1791
1785
|
self._current.mypal.interval_cst = curpal.interval_cst
|
1792
|
-
if VERSION_RGB==1 :
|
1786
|
+
if VERSION_RGB==1 :
|
1793
1787
|
self._current.rgb = curpal.get_rgba(self._current.array)
|
1794
1788
|
self._current.rgb[self._current.array.mask] = [1., 1., 1., 1.]
|
1795
1789
|
|
@@ -2022,7 +2016,7 @@ class Wolfresults_2D(Element_To_Draw):
|
|
2022
2016
|
self._epsilon_default = self.epsilon
|
2023
2017
|
|
2024
2018
|
self.loaded=True
|
2025
|
-
|
2019
|
+
|
2026
2020
|
self.current_result = -1
|
2027
2021
|
self._step_interval = 1
|
2028
2022
|
|
@@ -2328,7 +2322,7 @@ class Wolfresults_2D(Element_To_Draw):
|
|
2328
2322
|
@property
|
2329
2323
|
def step_interval_results(self):
|
2330
2324
|
return self._step_interval
|
2331
|
-
|
2325
|
+
|
2332
2326
|
@step_interval_results.setter
|
2333
2327
|
def step_interval_results(self, value:int):
|
2334
2328
|
self._step_interval = value
|
@@ -4184,7 +4178,7 @@ class Wolfresults_2D(Element_To_Draw):
|
|
4184
4178
|
|
4185
4179
|
ij = np.where(~wd.array.mask)
|
4186
4180
|
|
4187
|
-
#
|
4181
|
+
#
|
4188
4182
|
mom = np.zeros_like(wd.array)
|
4189
4183
|
v = np.zeros_like(wd.array)
|
4190
4184
|
z = np.zeros_like(wd.array)
|
@@ -4208,7 +4202,7 @@ class Wolfresults_2D(Element_To_Draw):
|
|
4208
4202
|
|
4209
4203
|
ij = np.where(~wd.array.mask)
|
4210
4204
|
|
4211
|
-
#
|
4205
|
+
#
|
4212
4206
|
mom = np.zeros_like(wd.array)
|
4213
4207
|
v = np.zeros_like(wd.array)
|
4214
4208
|
z = np.zeros_like(wd.array)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: wolfhece
|
3
|
-
Version: 2.1.
|
3
|
+
Version: 2.1.38
|
4
4
|
Author-email: Pierre Archambeau <pierre.archambeau@uliege.be>
|
5
5
|
License: Copyright (c) 2024 University of Liege. All rights reserved.
|
6
6
|
Project-URL: Homepage, https://uee.uliege.be/hece
|
@@ -13,6 +13,8 @@ Classifier: Topic :: Scientific/Engineering :: Physics
|
|
13
13
|
Requires-Python: <3.11,>=3.10
|
14
14
|
Description-Content-Type: text/markdown
|
15
15
|
Requires-Dist: wxpython
|
16
|
+
Requires-Dist: intel-fortran-rt
|
17
|
+
Requires-Dist: scikit-learn
|
16
18
|
Requires-Dist: cryptography
|
17
19
|
Requires-Dist: jax
|
18
20
|
Requires-Dist: triangle
|
@@ -1,6 +1,6 @@
|
|
1
1
|
wolfhece/CpGrid.py,sha256=ke4n1khTUoed2asJl1GR25PsEkI4TpiBDCo4u0aSo9M,10658
|
2
2
|
wolfhece/GraphNotebook.py,sha256=V1_Ak4F_hoIpKm2GAakuyKOALhujjIXB5FwzFHtM5-8,28021
|
3
|
-
wolfhece/GraphProfile.py,sha256=
|
3
|
+
wolfhece/GraphProfile.py,sha256=OCgJo0YFFBI6H1z-5egJsOOoWF_iziiza0-bbPejNMc,69656
|
4
4
|
wolfhece/Lidar2002.py,sha256=bX-nIzdpjD7rOfEgJpTeaW6rIdAXwDp_z4YTM9CgANY,6068
|
5
5
|
wolfhece/ManageParams.py,sha256=EeuUI5Vvh9ixCvYf8YShMC1s1Yacc7OxOCN7q81gqiQ,517
|
6
6
|
wolfhece/Model1D.py,sha256=uL1DJVmDI2xVSE7H6n3icn3QbsPtTHeg8E-6wkDloKw,476914
|
@@ -24,7 +24,7 @@ wolfhece/ReadDataDCENN.py,sha256=vm-I4YMryvRldjXTvRYEUCxZsjb_tM7U9yj6OaPyD0k,153
|
|
24
24
|
wolfhece/Results2DGPU.py,sha256=P42XCqKQVFMkUt6ZTbNeIT7CV6aRqAIcBQLmRbsj4Cs,23336
|
25
25
|
wolfhece/__init__.py,sha256=FRDE8PiJAWxX9PMXsShRMZ8YADAY4WIgKMRh52rmhiw,23
|
26
26
|
wolfhece/_add_path.py,sha256=nudniS-lsgHwXXq5o626XRDzIeYj76GoGKYt6lcu2Nc,616
|
27
|
-
wolfhece/cli.py,sha256=
|
27
|
+
wolfhece/cli.py,sha256=3S1Hbp2tOl51LwLcloAm1DqV9QuUWJx_Ui_vdKNtGxo,2915
|
28
28
|
wolfhece/color_constants.py,sha256=Snc5RX11Ydi756EkBp_83C7DiAQ_Z1aHD9jFIBsosAU,37121
|
29
29
|
wolfhece/drawing_obj.py,sha256=znIQY8dkYhnmoq3mEsVkVzd-hSKDbFY6i8TV-Tf37jM,4040
|
30
30
|
wolfhece/flow_SPWMI.py,sha256=XDAelwAY-3rYOR0WKW3fgYJ_r8DU4IP6Y5xULW421tk,20956
|
@@ -47,13 +47,13 @@ wolfhece/pywalous.py,sha256=yRaWJjKckXef1d9D5devP0yFHC9uc6kRV4G5x9PNq9k,18972
|
|
47
47
|
wolfhece/rain_SPWMI.py,sha256=qCfcmF7LajloOaCwnTrrSMzyME03YyilmRUOqrPrv3U,13846
|
48
48
|
wolfhece/textpillow.py,sha256=map7HsGYML_o5NHRdFg2s_TVQed_lDnpYNDv27MM0Vw,14130
|
49
49
|
wolfhece/tools_mpl.py,sha256=gQ3Jg1iuZiecmMqa5Eli2ZLSkttu68VXL8YmMDBaEYU,564
|
50
|
-
wolfhece/wolf_array.py,sha256=
|
50
|
+
wolfhece/wolf_array.py,sha256=m0Akg1jpe8L7139afVANhqUI09q7YlQvlGm2mcs7gJQ,356155
|
51
51
|
wolfhece/wolf_hist.py,sha256=7jeVrgSkM3ErJO6SRMH_PGzfLjIdw8vTy87kesldggk,3582
|
52
52
|
wolfhece/wolf_texture.py,sha256=EqZI6qCR6ouT3wEtnG_NkVLdvUhfY65JVTj5b6o4lXI,16576
|
53
53
|
wolfhece/wolf_tiles.py,sha256=2Ho2I20rHRY81KXxjgLOYISdF4OkJ2d6omeY4shDoGI,10386
|
54
54
|
wolfhece/wolf_vrt.py,sha256=89XoDhCJMHiwPQUuOduxtTRKuIa8RDxgNqX65S4xp9M,10569
|
55
55
|
wolfhece/wolf_zi_db.py,sha256=baE0niMCzybWGSvPJc5FNxo9ZxsGfU4p-FmfiavFHAs,12967
|
56
|
-
wolfhece/wolfresults_2D.py,sha256=
|
56
|
+
wolfhece/wolfresults_2D.py,sha256=U6k8BeQj2g3EUpAQq7m0nSdLtNKrrn_knWKKs1KoAQ8,165462
|
57
57
|
wolfhece/xyz_file.py,sha256=Se4nCPwYAYLSA5i0zsbnZUKoAMAD0mK1FJea5WSZUkk,5755
|
58
58
|
wolfhece/acceptability/Parallels.py,sha256=h4tu3SpC_hR5Hqa68aruxhtAyhs8u666YuZ40_fR5zg,3979
|
59
59
|
wolfhece/acceptability/__init__.py,sha256=hfgoPKLDpX7drN1Vpvux-_5Lfyc_7feT2C2zQr5v-Os,258
|
@@ -70,8 +70,8 @@ wolfhece/apps/__init__.py,sha256=OzzKItATWV0mDkz_LC2L3w5sgT2rt8ExXXCbR_FwvlY,24
|
|
70
70
|
wolfhece/apps/check_install.py,sha256=icFpkjfwNGDX-0NZVa-ijrCrqmGHEKDiFphjN8uTyh8,928
|
71
71
|
wolfhece/apps/curvedigitizer.py,sha256=_hRR2PWow7PU7rTHIbc6ykZ08tCXcK9uy7RFrb4EKkE,5196
|
72
72
|
wolfhece/apps/isocurrent.py,sha256=MuwTodHxdc6PrqNpphR2ntYf1NLL2n9klTPndGrOHDQ,4109
|
73
|
-
wolfhece/apps/splashscreen.py,sha256=
|
74
|
-
wolfhece/apps/version.py,sha256=
|
73
|
+
wolfhece/apps/splashscreen.py,sha256=Z95ca-r_SZFpTJZIILuAcKyzl6ElZR08Y5mpQ5y4ZDc,2920
|
74
|
+
wolfhece/apps/version.py,sha256=oID8AvPVNdgq4kmuDFo7jFiw8pv1XddrAgr_ttxcAgk,388
|
75
75
|
wolfhece/apps/wolf.py,sha256=mM6Tyi4DlKQILmO49cDUCip9fYVy-hLXkY3YhZgIeUQ,591
|
76
76
|
wolfhece/apps/wolf2D.py,sha256=yPQGee7fsegoQ8GfWKrWEjX1Az_ApL-UWlBiqPvaIyY,565
|
77
77
|
wolfhece/apps/wolf_logo.bmp,sha256=ruJ4MA51CpGO_AYUp_dB4SWKHelvhOvd7Q8NrVOjDJk,3126
|
@@ -104,7 +104,7 @@ wolfhece/fonts/sanserif.ttf,sha256=Nvv5eMgTl5-bWgV37B7E1-vZpAZPNJwjtJSzMNDrl9A,4
|
|
104
104
|
wolfhece/ftp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
105
105
|
wolfhece/ftp/downloader.py,sha256=NANzxSzdcp25dFMYin5QA9UnFexNe6-W2AqqTzUE4f4,5223
|
106
106
|
wolfhece/hydrology/Catchment.py,sha256=uBNzw2Um3_2TZTo2nlMeKmq50IVTf5GPt-SLwRaEOpA,139369
|
107
|
-
wolfhece/hydrology/Comparison.py,sha256=
|
107
|
+
wolfhece/hydrology/Comparison.py,sha256=_2YU9P-AHKnP67sVJWCc6HpnZw9cYBHKjuUGULggICo,84277
|
108
108
|
wolfhece/hydrology/Dumping.py,sha256=SHGYXr30nMOGPSLArMvAzVxGyLywLf4i267166oUHhQ,2403
|
109
109
|
wolfhece/hydrology/Optimisation.py,sha256=GJj0VfG_AVNmyrzyML-FadQg8GAiCh3Mnm9UQMZI-Mg,142538
|
110
110
|
wolfhece/hydrology/Outlet.py,sha256=jdjYN2gIolQJ5prf1wVfxm7cp_YguwQ0JMRsC9ks-Tg,10519
|
@@ -125,7 +125,7 @@ wolfhece/hydrometry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
125
125
|
wolfhece/hydrometry/kiwis.py,sha256=KHRfYrtd5hwxKxdChbkTXYH-cDSDcaQJFTEgjrnVMg4,34929
|
126
126
|
wolfhece/hydrometry/kiwis_gui.py,sha256=lApsSeBMJNAR1yocggdoHwz_xe6M_oaZ_E13CfHAlQA,23124
|
127
127
|
wolfhece/hydrometry/kiwis_wolfgui.py,sha256=GPa5YNp2V2ZlxYQjPiCXERgPuWB_zij4ec2yHpRvoFA,4027
|
128
|
-
wolfhece/hydrometry/kiwispie.py,sha256=
|
128
|
+
wolfhece/hydrometry/kiwispie.py,sha256=akOaV46WwzISVlCcPz_phjsBrI_rDACUzdELtjx-xNg,13498
|
129
129
|
wolfhece/icons/folder_open.png,sha256=ykBlU2FtGcpjAu1YO4_eGlDg2svgs_IAs-4d5O2e3AM,2329
|
130
130
|
wolfhece/icons/folder_plus.png,sha256=Z1Jcs87Z6pNcudxGDTNhC_hgolSSaXe6_fmQE_n-ero,1963
|
131
131
|
wolfhece/icons/image.png,sha256=jomOPNO4HBArBZe8Ya189Iar5nzhO8c0S9JW-6iaErk,2684
|
@@ -133,7 +133,7 @@ wolfhece/icons/multiple_files.png,sha256=qQEZ5740dyYrMGWGop5h0e2Np_bjq3eqg6VC1-7
|
|
133
133
|
wolfhece/icons/python.png,sha256=nQiK5h92QC85148vFBx58lUmaSzEvwTCgDr-cumju_4,2573
|
134
134
|
wolfhece/icons/simulation.png,sha256=I48r_TOPqtUA4bsDGlji--9gJjiDaSl2NcVCMf8h9Gk,2094
|
135
135
|
wolfhece/lagrangian/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
136
|
-
wolfhece/lagrangian/advection.py,sha256=
|
136
|
+
wolfhece/lagrangian/advection.py,sha256=_fuDx8AcOVWxY1dYq3no3lSCmLwrw49AAAEr6icE-6c,9243
|
137
137
|
wolfhece/lagrangian/emitter.py,sha256=D-94Joy_bJmhwDIomEDVo1q0LsuzrwaSpzSLjCWXSmo,11862
|
138
138
|
wolfhece/lagrangian/example_domain.py,sha256=-xDTmo1vZWG3yZt3VdhEiOjvtbm77b_AuGb90Rgq2Rk,4787
|
139
139
|
wolfhece/lagrangian/particle_system.py,sha256=ZwlgwH8JuBh3KBzxBZzSZi6ya3ftvk-4P3Lk4s_zh4A,23999
|
@@ -169,40 +169,10 @@ wolfhece/lazviewer/vfuncsdir/vfuncs.cp39-win_amd64.pyd,sha256=MzAEyrgnqja-FjHGtL
|
|
169
169
|
wolfhece/lazviewer/viewer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
170
170
|
wolfhece/lazviewer/viewer/viewer.exe,sha256=pF5nwE8vMWlEzkk-SOekae9zpOsPhTWhZbqaJntumJc,202240
|
171
171
|
wolfhece/lazviewer/viewer/viewer.py,sha256=8_MQCaQOS0Z_oRPiGoRy1lq-aCirReX3hWEBjQID0ig,24665
|
172
|
-
wolfhece/libs/
|
173
|
-
wolfhece/libs/
|
174
|
-
wolfhece/libs/
|
175
|
-
wolfhece/libs/WolfOGL.pyx,sha256=YmA3NPLt9zPo-UarGnz33dFdSmAc2Vaul5I1_0EWYKo,80278
|
176
|
-
wolfhece/libs/api-ms-win-crt-heap-l1-1-0.dll,sha256=r0euvgZa8vBFoZ8g7H5Upuc8DD6aUQimMJWnIyt1OBo,19720
|
177
|
-
wolfhece/libs/api-ms-win-crt-math-l1-1-0.dll,sha256=ol0GVN6wzqGu8Ym6IXTQ8TvfUvCY06nsNtFeS_swxJk,27912
|
178
|
-
wolfhece/libs/api-ms-win-crt-runtime-l1-1-0.dll,sha256=NxpEq5FhSowm0Vm-uHKntD9WnLX6yK2pms6Y8mSjtQM,23304
|
179
|
-
wolfhece/libs/fribidi-0.dll,sha256=MCLSH_tGJXcJdcnUXilGNTVMH6KU8OumYyJX8yN08bQ,111616
|
180
|
-
wolfhece/libs/glu32.dll,sha256=gLubeeL9b_RDYTQ2JL0iHzpRMg8uapKCOEpZ15k1SUQ,164352
|
181
|
-
wolfhece/libs/hdf5.dll,sha256=quTNP4GZtVNJ6Ptx__ltuGTN0gQ96rvkGL5yBLuUcF4,3129856
|
182
|
-
wolfhece/libs/hdf5_hl.dll,sha256=alZLhLXbReBtwbwsariWWRPAlrwzrePr-Mbdgiy922Y,112128
|
183
|
-
wolfhece/libs/libcurl.dll,sha256=xYNKOWwPynyHNEwgN61GRHHMqjFyBxu4GWemFe89Ipc,311296
|
184
|
-
wolfhece/libs/libifcoremd.dll,sha256=iMZ5S09HKQEXM0BTNHyR4_0XSm5Es50UKnVenTRvWus,1868144
|
185
|
-
wolfhece/libs/libifcoremdd.dll,sha256=fwHgfZsj91kt5Y0owPL7ZFV55bxN91bU1bB0G0RQaTw,1868144
|
186
|
-
wolfhece/libs/libifportmd.dll,sha256=JoQ9RBPndNZSvTOwAAm3wjDlzmBqs7nhW5dYPTiz49Q,421480
|
187
|
-
wolfhece/libs/libiomp5md.dll,sha256=7mxKgVa2r-qCZHMmIZyJytxuA2SEZ9A_LbE-Rxtteds,1959528
|
188
|
-
wolfhece/libs/libmmd.dll,sha256=pEL3ajD5Jvdlre4ZGFq8m5EYxL6Hj2LZ8pdkExmweKg,4514672
|
189
|
-
wolfhece/libs/libmmdd.dll,sha256=sItDYCWLr0whr4RIhw1c6gQva19Dq4Cc922NfS9ReAI,4728176
|
190
|
-
wolfhece/libs/libpardiso600-WIN-X86-64.dll,sha256=4UsSdj3TWf0IR4Peac05mLXCuZvzazix5_KGfurTRKE,16288256
|
191
|
-
wolfhece/libs/libraqm.dll,sha256=p48j-ZNSQJRqrh8NHez7wdxZCKItW4DNSmWd082o60Y,1304064
|
192
|
-
wolfhece/libs/mkl_core.2.dll,sha256=4xeYPkr7_iUqoyWZXqJgxkAeeLG1eJbM0c2ggeibdb4,78197776
|
193
|
-
wolfhece/libs/mkl_intel_thread.2.dll,sha256=DCjZ8oUBZIpV9H0qLsk5WGAUppuNKnzIWsc1ko3WChk,54758416
|
194
|
-
wolfhece/libs/mkl_rt.2.dll,sha256=70mFtgbn354EPdLP-_maDO4tJmWYrv0f7G-_AEED3BU,23857168
|
195
|
-
wolfhece/libs/msvcr100.dll,sha256=rjy2xq-6mkqlyF9mAjw1M4ylebMDJt0CkY-dVSWVA9U,829264
|
196
|
-
wolfhece/libs/netcdf.dll,sha256=6u6oyapv6lRB1KlDeEB1For0JjMYHtVYUYkH_ht_ICY,958976
|
197
|
-
wolfhece/libs/paho-mqtt3cs.dll,sha256=i1v0CSIWEGPIlJrEEcmXDLXO2D1bCOQNIDPiWzIpMbI,134656
|
198
|
-
wolfhece/libs/svml_dispmd.dll,sha256=GdwVZSC_XYiNpVVUqTqxAcYAf4zP6tr-E1N-3skVS7s,22291048
|
199
|
-
wolfhece/libs/vcomp100.dll,sha256=NKvXc8hc4MrFa9k8ErALA6OmldGfR3zidaZPCZhMVJI,57168
|
200
|
-
wolfhece/libs/vcruntime140.dll,sha256=YYMpkONk3KW_osYdkw8ArKrm0aqjEwOSQDRVrpoRJaU,89880
|
201
|
-
wolfhece/libs/vcruntime140_1.dll,sha256=FVS1gClo_bJwWmfLthWF6VYLnkKdBDpap0LvPJu_tr8,37240
|
202
|
-
wolfhece/libs/verify_license.cp310-win_amd64.pyd,sha256=-lobNXvqiN7vNl7zzrZWOBPsGW13qT77JWiSy2D3FCk,92672
|
203
|
-
wolfhece/libs/wolfogl.cp310-win_amd64.pyd,sha256=K6HTq5bFSRv9y-k6wbdO4qMPJcZQKvozCYThsltx6Yk,286720
|
172
|
+
wolfhece/libs/get_infos.cp310-win_amd64.pyd,sha256=45b6uo0r2zPD4KbpHR8QZC0TwQHDb9S0It7-kv0GWTA,77824
|
173
|
+
wolfhece/libs/verify_wolf.cp310-win_amd64.pyd,sha256=ceWkovmTDfQcIzlxOBjUUDoHu6ZglOlUFADaRuAe3WM,127488
|
174
|
+
wolfhece/libs/wolfogl.cp310-win_amd64.pyd,sha256=1nQE30ZDXTmnjnaJisDDlP5zvt5Chu2Lxz1a-bZTY1A,294912
|
204
175
|
wolfhece/libs/wolfpy.cp310-win_amd64.pyd,sha256=6omqEaxmQll-Gg24e90wVomAB9rO_tyyOES2FewXn58,36457472
|
205
|
-
wolfhece/libs/zlib1.dll,sha256=E9a0e62VgmG1A8ohZzhVCmmfGtbyXxXu4aFeADTNJ30,77824
|
206
176
|
wolfhece/libs/GL/gl.h,sha256=IhsS_fOLa8GW9MpiLZebe9QYRy6uIB_qK_uQMWMOoeg,46345
|
207
177
|
wolfhece/libs/GL/glaux.h,sha256=I3vxXdrzVH05TmjEeAOgKn3egbPt34WMjbeKq5LaBvE,7130
|
208
178
|
wolfhece/libs/GL/glcorearb.h,sha256=wfbeOYhbDpIowerrO50sOT2ZKRy5TIhiw6CbNw77m8c,243226
|
@@ -279,8 +249,8 @@ wolfhece/ui/wolf_multiselection_collapsiblepane.py,sha256=8PlMYrb_8jI8h9F0_EagpM
|
|
279
249
|
wolfhece/ui/wolf_times_selection_comparison_models.py,sha256=ORy7fz4dcp691qKzaOZHrRLZ0uXNhL-LIHxmpDGL6BI,5007
|
280
250
|
wolfhece/wintab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
281
251
|
wolfhece/wintab/wintab.py,sha256=8A-JNONV6ujgsgG3lM5Uw-pVgglPATwKs86oBzzljoc,7179
|
282
|
-
wolfhece-2.1.
|
283
|
-
wolfhece-2.1.
|
284
|
-
wolfhece-2.1.
|
285
|
-
wolfhece-2.1.
|
286
|
-
wolfhece-2.1.
|
252
|
+
wolfhece-2.1.38.dist-info/METADATA,sha256=YabVhQz0G97k82q5CR8b4lqyCKpVhdhWpbIrjeJ9Yuw,2463
|
253
|
+
wolfhece-2.1.38.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
|
254
|
+
wolfhece-2.1.38.dist-info/entry_points.txt,sha256=yggeO1Fa80pi2BrOd9k5dTkiFlefGPwG6HztZhY0-qw,366
|
255
|
+
wolfhece-2.1.38.dist-info/top_level.txt,sha256=EfqZXMVCn7eILUzx9xsEu2oBbSo9liWPFWjIHik0iCI,9
|
256
|
+
wolfhece-2.1.38.dist-info/RECORD,,
|
wolfhece/libs/MSVCP140.dll
DELETED
Binary file
|
wolfhece/libs/WolfDll.dll
DELETED
Binary file
|