wolfhece 2.1.33__py3-none-any.whl → 2.1.36__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 +18 -8
- 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 +27 -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 +21 -8
- 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 +11 -4
- wolfhece/import_ascfiles.py +10 -0
- wolfhece/irm_qdf.py +10 -0
- wolfhece/lagrangian/advection.py +13 -2
- 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/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/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.36.dist-info}/METADATA +3 -2
- {wolfhece-2.1.33.dist-info → wolfhece-2.1.36.dist-info}/RECORD +131 -133
- {wolfhece-2.1.33.dist-info → wolfhece-2.1.36.dist-info}/entry_points.txt +1 -0
- wolfhece/libs/WolfOGL.c +0 -42489
- wolfhece/libs/WolfOGL.pyx +0 -1979
- wolfhece/libs/verify_license.cp310-win_amd64.pyd +0 -0
- wolfhece/test_Results2DGPU.py +0 -7
- {wolfhece-2.1.33.dist-info → wolfhece-2.1.36.dist-info}/WHEEL +0 -0
- {wolfhece-2.1.33.dist-info → wolfhece-2.1.36.dist-info}/top_level.txt +0 -0
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 _
|
wolfhece/bernoulli/chamber.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 math import pi
|
3
13
|
|
wolfhece/bernoulli/fluids.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 enum import Enum
|
2
12
|
|
3
13
|
class Water():
|
wolfhece/bernoulli/losses.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 math import pi
|
3
13
|
from scipy.optimize import fsolve, newton, root, root_scalar
|
wolfhece/bernoulli/network.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
|
import numpy as np
|
3
13
|
import matplotlib.pyplot as plt
|
4
14
|
|
wolfhece/bernoulli/pipe.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 math import pi
|
3
13
|
from scipy.optimize import fsolve
|
@@ -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 numba
|
3
13
|
from typing import Union, Literal
|
wolfhece/blender/ply.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 plyfile
|
2
12
|
import numpy as np
|
3
13
|
|
wolfhece/blender/quads.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 numpy as np
|
3
13
|
from wx import glcanvas
|
wolfhece/cli.py
CHANGED
@@ -1,9 +1,36 @@
|
|
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
|
+
"""
|
1
10
|
|
2
11
|
def check():
|
3
12
|
""" Main wolf application : Check """
|
4
13
|
from .apps.check_install import main
|
5
14
|
main()
|
6
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
|
+
|
7
34
|
def accept():
|
8
35
|
""" Main wolf application : Accept """
|
9
36
|
from .acceptability.cli import 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 wx
|
2
12
|
import numpy as np
|
3
13
|
import socket
|
@@ -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 ..hydrology.Catchment import Catchment, SubBasin
|
2
12
|
from ..hydrology.PyWatershed import Watershed, Node_Watershed, RiverSystem, SubWatershed
|
3
13
|
from ..wolf_array import WolfArray, WOLF_ARRAY_FULL_INTEGER, WOLF_ARRAY_FULL_SINGLE
|
wolfhece/drawing_obj.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 wx import App
|
2
12
|
import logging
|
3
13
|
|
wolfhece/eva/bootstrap.py
CHANGED
@@ -1,8 +1,15 @@
|
|
1
1
|
"""
|
2
|
-
|
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
|
+
"""
|
3
10
|
|
4
|
-
|
5
|
-
|
11
|
+
"""
|
12
|
+
Boostraping
|
6
13
|
"""
|
7
14
|
import numpy as np
|
8
15
|
|
wolfhece/eva/joint_models.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 scipy import stats
|
3
13
|
from scipy.optimize import root_scalar
|
wolfhece/eva/mixture_models.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 scipy import stats
|
3
13
|
from scipy.optimize import root_scalar, minimize
|
wolfhece/flow_SPWMI.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 operator import mod
|
2
12
|
import requests
|
3
13
|
import pandas as pd
|
wolfhece/friction_law.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 math
|
2
12
|
|
3
13
|
def f_barr_bathurst(k_sur_D,reynolds):
|
wolfhece/gpuview.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 textwrap
|
3
13
|
import sys
|
wolfhece/hydrology/Catchment.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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 csv
|
3
13
|
import time as time_mod
|
wolfhece/hydrology/Comparison.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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 sys # module to stop the program when an error is encountered
|
2
12
|
import os
|
3
13
|
import matplotlib.pyplot as plt
|
@@ -409,10 +419,10 @@ class Comparison:
|
|
409
419
|
tzPlot = plotDict["General Parameters"]["Time Zone Plot"]
|
410
420
|
tzDelta = datetime.timedelta(hours=tzPlot)
|
411
421
|
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
422
|
+
if(envelop and not("Ref Name" in plotDict["General Parameters"])):
|
423
|
+
refName = "Catchment 1"
|
424
|
+
else:
|
425
|
+
refName = plotDict["General Parameters"]["Ref Name"]
|
416
426
|
|
417
427
|
if(not("Add Table" in plotDict["General Parameters"])):
|
418
428
|
addTable = False
|
@@ -1066,10 +1076,13 @@ class Comparison:
|
|
1066
1076
|
tzPlot = plotDict["General Parameters"]["Time Zone Plot"]
|
1067
1077
|
tzDelta = datetime.timedelta(hours=tzPlot)
|
1068
1078
|
|
1069
|
-
|
1070
|
-
#
|
1071
|
-
|
1072
|
-
|
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
|
+
#******************************************************
|
1073
1086
|
|
1074
1087
|
if(not("Add Table" in plotDict["General Parameters"])):
|
1075
1088
|
addTable = False
|
wolfhece/hydrology/Dumping.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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 datetime # module which contains objects treating dates
|
2
12
|
from ..PyParams import key_Param
|
3
13
|
|
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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 pathlib import Path
|
2
12
|
import numpy as np
|
3
13
|
from matplotlib.figure import Figure
|
wolfhece/hydrology/Outlet.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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 times,path
|
2
12
|
import sys
|
3
13
|
from textwrap import dedent
|
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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 sys
|
2
12
|
import numpy as np
|
3
13
|
import matplotlib.pyplot as plt
|
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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
|
from scipy.interpolate import interpolate
|
3
13
|
from scipy.spatial import KDTree
|
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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 sys
|
2
12
|
import csv
|
3
13
|
import math
|
wolfhece/hydrology/SubBasin.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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 sys
|
2
12
|
import numpy as np
|
3
13
|
import csv
|
wolfhece/hydrology/constant.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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
|
# Constants defined for the postProcessHydology procedures
|
2
12
|
from ..PyTranslate import _
|
3
13
|
|
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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 . import constant as cst
|
2
12
|
# Constants representing the exchanges - Fortran
|
3
13
|
|
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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 sys # module to stop the program when an error is encountered
|
2
12
|
import numpy as np
|
3
13
|
import math
|
@@ -1,4 +1,14 @@
|
|
1
1
|
|
2
|
+
"""
|
3
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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 import path
|
3
13
|
|
4
14
|
#from ..color_constants import *
|
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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.dates import DayLocator, HourLocator, DateFormatter, drange, MicrosecondLocator, num2date
|
wolfhece/hydrology/read.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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 os
|
3
13
|
import logging
|
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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
|
import matplotlib.pyplot as plt
|
3
13
|
import numpy.ma as ma
|
@@ -1,3 +1,13 @@
|
|
1
|
+
"""
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau, Christophe Dessers
|
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 sys
|
2
12
|
import numpy as np
|
3
13
|
import matplotlib.pyplot as plt
|
wolfhece/hydrometry/kiwis.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, timedelta
|
2
12
|
from zoneinfo import ZoneInfo
|
3
13
|
import requests
|