wolfhece 2.1.33__py3-none-any.whl → 2.1.34__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/GraphNotebook.py +10 -0
- wolfhece/GraphProfile.py +10 -0
- wolfhece/Lidar2002.py +10 -0
- wolfhece/ManageParams.py +10 -0
- wolfhece/Model1D.py +10 -0
- wolfhece/PyConfig.py +10 -0
- wolfhece/PyCrosssections.py +10 -0
- wolfhece/PyDraw.py +59 -48
- wolfhece/PyGui.py +10 -0
- wolfhece/PyGuiHydrology.py +10 -0
- wolfhece/PyHydrographs.py +10 -0
- wolfhece/PyPalette.py +10 -0
- wolfhece/PyParams.py +10 -0
- wolfhece/PyPictures.py +10 -0
- wolfhece/PyVertex.py +10 -0
- wolfhece/PyVertexvectors.py +10 -0
- wolfhece/PyWMS.py +10 -0
- wolfhece/RatingCurve.py +10 -0
- wolfhece/RatingCurve_xml.py +10 -0
- wolfhece/ReadDataDCENN.py +10 -0
- wolfhece/Results2DGPU.py +10 -0
- wolfhece/acceptability/Parallels.py +10 -0
- wolfhece/acceptability/acceptability.py +10 -0
- wolfhece/acceptability/acceptability_gui.py +10 -0
- wolfhece/acceptability/cli.py +10 -0
- wolfhece/acceptability/func.py +10 -0
- wolfhece/apps/ManageParams.py +10 -0
- wolfhece/apps/Optimisation_hydro.py +10 -0
- wolfhece/apps/check_install.py +10 -0
- wolfhece/apps/curvedigitizer.py +10 -0
- wolfhece/apps/isocurrent.py +10 -0
- wolfhece/apps/splashscreen.py +10 -0
- wolfhece/apps/version.py +1 -1
- wolfhece/apps/wolf.py +10 -0
- wolfhece/apps/wolf2D.py +10 -0
- wolfhece/apps/wolfcompare2Darrays.py +10 -0
- wolfhece/apps/wolfhydro.py +10 -0
- wolfhece/bernoulli/chamber.py +10 -0
- wolfhece/bernoulli/fluids.py +10 -0
- wolfhece/bernoulli/losses.py +10 -0
- wolfhece/bernoulli/network.py +10 -0
- wolfhece/bernoulli/pipe.py +10 -0
- wolfhece/blender/array2polygons.py +10 -0
- wolfhece/blender/ply.py +10 -0
- wolfhece/blender/quads.py +10 -0
- wolfhece/cli.py +9 -0
- wolfhece/clientserver/clientserver.py +10 -0
- wolfhece/coupling/hydrology_2d.py +10 -0
- wolfhece/drawing_obj.py +10 -0
- wolfhece/eva/bootstrap.py +10 -3
- wolfhece/eva/joint_models.py +10 -0
- wolfhece/eva/mixture_models.py +10 -0
- wolfhece/flow_SPWMI.py +10 -0
- wolfhece/friction_law.py +10 -0
- wolfhece/gpuview.py +10 -0
- wolfhece/hydrology/Catchment.py +10 -0
- wolfhece/hydrology/Comparison.py +10 -0
- wolfhece/hydrology/Dumping.py +10 -0
- wolfhece/hydrology/Optimisation.py +10 -0
- wolfhece/hydrology/Outlet.py +10 -0
- wolfhece/hydrology/PostProcessHydrology.py +10 -0
- wolfhece/hydrology/PyWatershed.py +10 -0
- wolfhece/hydrology/RetentionBasin.py +10 -0
- wolfhece/hydrology/SubBasin.py +10 -0
- wolfhece/hydrology/constant.py +10 -0
- wolfhece/hydrology/cst_exchanges.py +10 -0
- wolfhece/hydrology/data_treatment.py +10 -0
- wolfhece/hydrology/forcedexchanges.py +10 -0
- wolfhece/hydrology/plot_hydrology.py +10 -0
- wolfhece/hydrology/read.py +10 -0
- wolfhece/hydrology/slope_manager.py +10 -0
- wolfhece/hydrology/wolfMap_treatment.py +10 -0
- wolfhece/hydrometry/kiwis.py +10 -0
- wolfhece/hydrometry/kiwis_gui.py +10 -3
- wolfhece/hydrometry/kiwis_wolfgui.py +10 -0
- wolfhece/hydrometry/kiwispie.py +10 -0
- wolfhece/import_ascfiles.py +10 -0
- wolfhece/irm_qdf.py +10 -0
- wolfhece/lagrangian/advection.py +10 -0
- wolfhece/lagrangian/emitter.py +10 -0
- wolfhece/lagrangian/example_domain.py +10 -0
- wolfhece/lagrangian/particle_system.py +10 -0
- wolfhece/lagrangian/particle_system_ui.py +10 -0
- wolfhece/lagrangian/particles.py +10 -0
- wolfhece/lagrangian/velocity_field.py +10 -0
- wolfhece/math_parser/calculator.py +10 -0
- wolfhece/mesh2d/bc_manager.py +10 -0
- wolfhece/mesh2d/cell_tracker.py +10 -0
- wolfhece/mesh2d/config_manager.py +10 -0
- wolfhece/mesh2d/cst_2D_boundary_conditions.py +10 -0
- wolfhece/mesh2d/wolf2dprev.py +10 -0
- wolfhece/multiprojects.py +10 -0
- wolfhece/opengl/py3d.py +10 -0
- wolfhece/picc.py +10 -0
- wolfhece/pyGui1D.py +10 -0
- wolfhece/pybridges.py +5 -3
- wolfhece/pydike.py +10 -0
- wolfhece/pylogging.py +10 -0
- wolfhece/pypolygons_scen.py +10 -0
- wolfhece/pyshields.py +10 -0
- wolfhece/pyviews.py +10 -0
- wolfhece/pywalous.py +10 -0
- wolfhece/radar/wolfradar.py +10 -0
- wolfhece/rain_SPWMI.py +10 -0
- wolfhece/rem/REMMaker.py +10 -0
- wolfhece/rem/RasterViz.py +10 -0
- wolfhece/report/reporting.py +10 -0
- wolfhece/scenario/check_scenario.py +10 -0
- wolfhece/scenario/config_manager.py +31 -2
- wolfhece/scenario/imposebc_void.py +10 -0
- wolfhece/scenario/update_void.py +10 -0
- wolfhece/textpillow.py +10 -0
- wolfhece/tools_mpl.py +10 -0
- wolfhece/ui/wolf_multiselection_collapsiblepane.py +10 -0
- wolfhece/ui/wolf_times_selection_comparison_models.py +10 -0
- wolfhece/wolf_array.py +10 -0
- wolfhece/wolf_hist.py +10 -0
- wolfhece/wolf_texture.py +10 -0
- wolfhece/wolf_tiles.py +10 -0
- wolfhece/wolf_vrt.py +10 -0
- wolfhece/wolf_zi_db.py +10 -0
- wolfhece/wolfresults_2D.py +10 -0
- wolfhece/xyz_file.py +10 -0
- {wolfhece-2.1.33.dist-info → wolfhece-2.1.34.dist-info}/METADATA +2 -2
- {wolfhece-2.1.33.dist-info → wolfhece-2.1.34.dist-info}/RECORD +128 -129
- wolfhece/test_Results2DGPU.py +0 -7
- {wolfhece-2.1.33.dist-info → wolfhece-2.1.34.dist-info}/WHEEL +0 -0
- {wolfhece-2.1.33.dist-info → wolfhece-2.1.34.dist-info}/entry_points.txt +0 -0
- {wolfhece-2.1.33.dist-info → wolfhece-2.1.34.dist-info}/top_level.txt +0 -0
wolfhece/GraphNotebook.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
from cmath import isnan
|
2
12
|
import numpy as np
|
3
13
|
import wx
|
wolfhece/GraphProfile.py
CHANGED
@@ -1,4 +1,14 @@
|
|
1
1
|
# Librairies
|
2
|
+
"""
|
3
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
4
|
+
Date: 2024
|
5
|
+
|
6
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
7
|
+
|
8
|
+
This script and its content are protected by copyright law. Unauthorized
|
9
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
10
|
+
"""
|
11
|
+
|
2
12
|
from cmath import isnan
|
3
13
|
import numpy as np
|
4
14
|
import wx
|
wolfhece/Lidar2002.py
CHANGED
@@ -1,4 +1,14 @@
|
|
1
1
|
|
2
|
+
"""
|
3
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
4
|
+
Date: 2024
|
5
|
+
|
6
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
7
|
+
|
8
|
+
This script and its content are protected by copyright law. Unauthorized
|
9
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
10
|
+
"""
|
11
|
+
|
2
12
|
from os.path import normpath,exists,join,basename
|
3
13
|
from os import listdir,scandir
|
4
14
|
import numpy as np
|
wolfhece/ManageParams.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
import wx
|
2
12
|
|
3
13
|
from .PyTranslate import _
|
wolfhece/Model1D.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Utashi Ciraane Docile
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
# --- Librairies ---
|
2
12
|
# __________________
|
3
13
|
|
wolfhece/PyConfig.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
import os
|
2
12
|
import json
|
3
13
|
from enum import Enum
|
wolfhece/PyCrosssections.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Utashi Ciraane Docile
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
from numpy import asarray,ndarray,arange,zeros,linspace,concatenate,unique,amin,amax
|
2
12
|
import math
|
3
13
|
import matplotlib.pyplot as plt
|
wolfhece/PyDraw.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
import numpy as np
|
2
12
|
from wx import dataview, TreeCtrl
|
3
13
|
import wx
|
@@ -7712,61 +7722,62 @@ class WolfMapViewer(wx.Frame):
|
|
7712
7722
|
try:
|
7713
7723
|
val = locarray.get_value(x, y)
|
7714
7724
|
|
7715
|
-
if
|
7716
|
-
|
7717
|
-
|
7718
|
-
|
7719
|
-
|
7720
|
-
|
7721
|
-
|
7725
|
+
if val != -99999.:
|
7726
|
+
if locarray.wolftype in WOLF_ARRAY_MB:
|
7727
|
+
i, j, curbloc = locarray.get_blockij_from_xy(x, y)
|
7728
|
+
curpar = 'Indices (i;j;bloc) (1-based)'
|
7729
|
+
|
7730
|
+
self.mytooltip.add_param(groupname = locarray.idx,
|
7731
|
+
name = curpar,
|
7732
|
+
value = '(' + str(i+1) + ';' + str(j+1) + ';' + str(curbloc) + ')',
|
7733
|
+
type = Type_Param.String,
|
7734
|
+
comment = '')
|
7735
|
+
|
7736
|
+
else:
|
7737
|
+
i, j = locarray.get_ij_from_xy(x, y)
|
7738
|
+
curpar = 'Indices (i;j) (1-based)'
|
7739
|
+
|
7740
|
+
self.mytooltip.add_param(groupname = locarray.idx,
|
7741
|
+
name = curpar,
|
7742
|
+
value = '(' + str(i+1) + ';' + str(j+1) + ')',
|
7743
|
+
type = Type_Param.String,
|
7744
|
+
comment = '')
|
7745
|
+
|
7746
|
+
curpar = 'Value'
|
7747
|
+
|
7748
|
+
if val is np.nan:
|
7749
|
+
self.mytooltip.add_param(groupname = locarray.idx,
|
7750
|
+
name = 'Value',
|
7751
|
+
value = "Nan",
|
7722
7752
|
type = Type_Param.String,
|
7723
7753
|
comment = '')
|
7724
7754
|
|
7725
|
-
|
7726
|
-
i, j = locarray.get_ij_from_xy(x, y)
|
7727
|
-
curpar = 'Indices (i;j) (1-based)'
|
7755
|
+
elif np.ma.is_masked(val):
|
7728
7756
|
|
7729
|
-
|
7730
|
-
name =
|
7731
|
-
value =
|
7757
|
+
self.mytooltip.add_param(groupname = locarray.idx,
|
7758
|
+
name = 'Value',
|
7759
|
+
value = "Masked",
|
7732
7760
|
type = Type_Param.String,
|
7733
7761
|
comment = '')
|
7734
7762
|
|
7735
|
-
|
7736
|
-
|
7737
|
-
|
7738
|
-
|
7739
|
-
|
7740
|
-
|
7741
|
-
|
7742
|
-
|
7743
|
-
|
7744
|
-
|
7745
|
-
|
7746
|
-
|
7747
|
-
|
7748
|
-
|
7749
|
-
|
7750
|
-
|
7751
|
-
|
7752
|
-
|
7753
|
-
self.mytooltip.add_param(groupname = locarray.idx,
|
7754
|
-
name = curpar,
|
7755
|
-
value = val,
|
7756
|
-
type = Type_Param.String,
|
7757
|
-
comment = '')
|
7758
|
-
elif isinstance(val, int):
|
7759
|
-
self.mytooltip.add_param(groupname = locarray.idx,
|
7760
|
-
name = curpar,
|
7761
|
-
value = int(val),
|
7762
|
-
type = Type_Param.Integer,
|
7763
|
-
comment = '')
|
7764
|
-
else:
|
7765
|
-
self.mytooltip.add_param(groupname = locarray.idx,
|
7766
|
-
name = curpar,
|
7767
|
-
value = float(val),
|
7768
|
-
type = Type_Param.Float,
|
7769
|
-
comment = '')
|
7763
|
+
elif isinstance(val, str):
|
7764
|
+
self.mytooltip.add_param(groupname = locarray.idx,
|
7765
|
+
name = curpar,
|
7766
|
+
value = val,
|
7767
|
+
type = Type_Param.String,
|
7768
|
+
comment = '')
|
7769
|
+
elif isinstance(val, int):
|
7770
|
+
self.mytooltip.add_param(groupname = locarray.idx,
|
7771
|
+
name = curpar,
|
7772
|
+
value = int(val),
|
7773
|
+
type = Type_Param.Integer,
|
7774
|
+
comment = '')
|
7775
|
+
else:
|
7776
|
+
self.mytooltip.add_param(groupname = locarray.idx,
|
7777
|
+
name = curpar,
|
7778
|
+
value = float(val),
|
7779
|
+
type = Type_Param.Float,
|
7780
|
+
comment = '')
|
7770
7781
|
except:
|
7771
7782
|
logging.warning(_('Error in linked frame -- Please check !'))
|
7772
7783
|
|
wolfhece/PyGui.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
from os import scandir, getcwd, makedirs
|
2
12
|
from os.path import exists, join, isdir, isfile, dirname, normpath, splitext
|
3
13
|
from pathlib import Path
|
wolfhece/PyGuiHydrology.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
import wx
|
2
12
|
|
3
13
|
from .PyTranslate import _
|
wolfhece/PyHydrographs.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Utashi Ciraane Docile
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
# Libraries
|
2
12
|
import copy
|
3
13
|
import enum
|
wolfhece/PyPalette.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
from matplotlib.cm import ScalarMappable
|
2
12
|
from matplotlib.figure import Figure
|
3
13
|
from matplotlib.transforms import Bbox
|
wolfhece/PyParams.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
import wx
|
2
12
|
import wx.propgrid as pg
|
3
13
|
import pandas as pd
|
wolfhece/PyPictures.py
CHANGED
@@ -1,4 +1,14 @@
|
|
1
1
|
# from PIL import Image,ExifTags
|
2
|
+
"""
|
3
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
4
|
+
Date: 2024
|
5
|
+
|
6
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
7
|
+
|
8
|
+
This script and its content are protected by copyright law. Unauthorized
|
9
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
10
|
+
"""
|
11
|
+
|
2
12
|
import os.path as path
|
3
13
|
from os import curdir, listdir
|
4
14
|
from exif import Image
|
wolfhece/PyVertex.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
import numpy as np
|
2
12
|
import sys
|
3
13
|
try:
|
wolfhece/PyVertexvectors.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Utashi Ciraane Docile
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
from os import path
|
2
12
|
from typing import Union
|
3
13
|
import numpy as np
|
wolfhece/PyWMS.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
from owslib.wms import WebMapService
|
2
12
|
from PIL import Image
|
3
13
|
from io import BytesIO
|
wolfhece/RatingCurve.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
from datetime import datetime as dt # Gestion de dates et heures
|
2
12
|
from zoneinfo import ZoneInfo # Gestion de fuseaux horaires
|
3
13
|
|
wolfhece/RatingCurve_xml.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
import numpy as np
|
2
12
|
import matplotlib.pyplot as plt
|
3
13
|
from matplotlib.axes import Axes
|
wolfhece/ReadDataDCENN.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
import pandas as pd
|
2
12
|
import os
|
3
13
|
from datetime import datetime as dt
|
wolfhece/Results2DGPU.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
import numpy as np
|
2
12
|
import numpy.ma as ma
|
3
13
|
from os import path
|
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: University of Liege, HECE, LEMA
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
from .func import clip_layer, data_modification, vector_to_raster, compute_vulnerability, match_vulnerability2sim, compute_acceptability, shp_to_raster, Accept_Manager
|
2
12
|
import geopandas as gpd
|
3
13
|
import multiprocessing
|
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: University of Liege, HECE, LEMA
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
from .Parallels import parallel_gpd_clip, parallel_v2r, parallel_datamod
|
2
12
|
from .func import data_modification, compute_vulnerability, compute_vulnerability4scenario
|
3
13
|
from .func import match_vulnerability2sim, compute_acceptability, shp_to_raster, clip_layer
|
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: University of Liege, HECE
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
from .acceptability import Base_data_creation, Database_to_raster, Vulnerability, Acceptability
|
2
12
|
from .func import Accept_Manager
|
3
13
|
|
wolfhece/acceptability/cli.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: University of Liege, HECE, LEMA
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
"""
|
2
12
|
The command-line interface for the acceptability
|
3
13
|
"""
|
wolfhece/acceptability/func.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: University of Liege, HECE, LEMA
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
import geopandas as gpd
|
2
12
|
import pandas as pd
|
3
13
|
import numpy as np
|
wolfhece/apps/ManageParams.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
import wx
|
2
12
|
|
3
13
|
from ..PyTranslate import _
|
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
import wx
|
2
12
|
|
3
13
|
from ..PyTranslate import _
|
wolfhece/apps/check_install.py
CHANGED
@@ -1,4 +1,14 @@
|
|
1
1
|
|
2
|
+
"""
|
3
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
4
|
+
Date: 2024
|
5
|
+
|
6
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
7
|
+
|
8
|
+
This script and its content are protected by copyright law. Unauthorized
|
9
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
10
|
+
"""
|
11
|
+
|
2
12
|
def main():
|
3
13
|
# Check if installation is complete
|
4
14
|
ret = 'Checking installation\n---------------------\n\n'
|
wolfhece/apps/curvedigitizer.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
from ..PyTranslate import _
|
2
12
|
|
3
13
|
import wx
|
wolfhece/apps/isocurrent.py
CHANGED
@@ -1,4 +1,14 @@
|
|
1
1
|
|
2
|
+
"""
|
3
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
4
|
+
Date: 2024
|
5
|
+
|
6
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
7
|
+
|
8
|
+
This script and its content are protected by copyright law. Unauthorized
|
9
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
10
|
+
"""
|
11
|
+
|
2
12
|
from ..PyTranslate import _
|
3
13
|
|
4
14
|
|
wolfhece/apps/splashscreen.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
"""
|
2
12
|
This is a minimal wxPython SplashScreen
|
3
13
|
"""
|
wolfhece/apps/version.py
CHANGED
wolfhece/apps/wolf.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
import wx
|
2
12
|
from ..PyTranslate import _
|
3
13
|
|
wolfhece/apps/wolf2D.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
import wx
|
2
12
|
|
3
13
|
def main():
|
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
#import des modules
|
2
12
|
from os import path
|
3
13
|
import sys
|
wolfhece/apps/wolfhydro.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
4
|
+
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
6
|
+
|
7
|
+
This script and its content are protected by copyright law. Unauthorized
|
8
|
+
copying or distribution of this file, via any medium, is strictly prohibited.
|
9
|
+
"""
|
10
|
+
|
1
11
|
import wx
|
2
12
|
|
3
13
|
from ..PyTranslate import _
|