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
@@ -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 OpenGL.GL import *
|
3
13
|
import logging
|
@@ -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 typing import Literal, Union
|
3
13
|
import wx
|
wolfhece/lagrangian/particles.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 typing import Literal, Union
|
3
13
|
from OpenGL.GL 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 numpy as np
|
2
12
|
from numba import float64, float32, int32, int64, char
|
3
13
|
from numba import jit
|
@@ -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 logging
|
3
13
|
|
wolfhece/mesh2d/bc_manager.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 scipy.spatial import cKDTree
|
wolfhece/mesh2d/cell_tracker.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
|
#Libraries
|
2
12
|
from os.path import join, exists
|
3
13
|
import matplotlib.pyplot as plt
|
@@ -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 wx.dataview import TreeListCtrl
|
3
13
|
from wx import dataview, StaticText, TextCtrl
|
@@ -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
|
from typing import Union, Literal
|
3
13
|
import logging
|
wolfhece/mesh2d/wolf2dprev.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 re
|
2
12
|
import sys
|
3
13
|
|
wolfhece/multiprojects.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 exists, join
|
3
13
|
import json
|
4
14
|
from enum import Enum
|
wolfhece/opengl/py3d.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 wx import glcanvas
|
3
13
|
from OpenGL.GL import *
|
wolfhece/picc.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 geopandas as gpd
|
2
12
|
from pathlib import Path
|
3
13
|
from typing import List, Union
|
wolfhece/pyGui1D.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
|
"""
|
2
12
|
This module contains the scripts that are needed to
|
3
13
|
create, execute and soon interact with a Wolf-1D model.
|
wolfhece/pybridges.py
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
"""
|
2
|
-
|
2
|
+
Author: HECE - University of Liege, Pierre Archambeau
|
3
|
+
Date: 2024
|
3
4
|
|
4
|
-
|
5
|
+
Copyright (c) 2024 University of Liege. All rights reserved.
|
5
6
|
|
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.
|
7
9
|
"""
|
8
10
|
|
9
11
|
from os.path import splitext, exists, join, isfile, basename
|
wolfhece/pydike.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 logging
|
2
12
|
|
3
13
|
from .PyVertexvectors import Triangulation, vector,Zones, zone
|
wolfhece/pylogging.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
|
Logging handler to redirect messages sent to the python logging module to wx if necessary
|
3
13
|
|
wolfhece/pypolygons_scen.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.path import splitext, exists, join, isfile, basename
|
2
12
|
from os import listdir, scandir
|
3
13
|
import numpy as np
|
wolfhece/pyshields.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 matplotlib.pyplot as plt
|
2
12
|
import math
|
3
13
|
import numpy as np
|
wolfhece/pyviews.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 logging
|
2
12
|
|
3
13
|
from .drawing_obj import Element_To_Draw
|
wolfhece/pywalous.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 osgeo import ogr, gdal
|
2
12
|
import geopandas as gpd
|
3
13
|
from os.path import exists, join, dirname, basename
|
wolfhece/radar/wolfradar.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 wradlib as wrl
|
2
12
|
import wx
|
3
13
|
from math import floor
|
wolfhece/rain_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 os.path import join,exists,normpath
|
2
12
|
import requests
|
3
13
|
import pandas as pd
|
wolfhece/rem/REMMaker.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
|
#!/usr/bin/env python
|
2
12
|
import os
|
3
13
|
import sys
|
wolfhece/rem/RasterViz.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
|
#!/usr/bin/env python
|
2
12
|
import os
|
3
13
|
import sys
|
wolfhece/report/reporting.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 docx import Document
|
3
13
|
from docx.shared import Pt
|
4
14
|
from docx.oxml.ns import qn
|
@@ -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 inspect
|
2
12
|
import os
|
3
13
|
import glob
|
@@ -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 wx.dataview import TreeListCtrl, TreeListItem
|
3
13
|
from wx import dataview, StaticText, TextCtrl
|
@@ -1389,18 +1399,22 @@ class UI_Manager_2D_GPU():
|
|
1389
1399
|
def oncreatevrt(self,e:wx.MouseEvent):
|
1390
1400
|
""" Création d'un fichier vrt """
|
1391
1401
|
|
1402
|
+
logging.info(_('Creating vrt ...'))
|
1392
1403
|
mydata = self._treelist.GetItemData(self._selected_item)
|
1393
1404
|
|
1394
1405
|
# création du fichier vrt
|
1395
1406
|
self._parent.create_vrt(mydata['path'])
|
1407
|
+
logging.info(_('... done !'))
|
1396
1408
|
|
1397
1409
|
def oncreatevec(self,e:wx.MouseEvent):
|
1398
1410
|
""" Création d'un fichier vec """
|
1399
1411
|
|
1412
|
+
logging.info(_('Creating vecz ...'))
|
1400
1413
|
mydata = self._treelist.GetItemData(self._selected_item)
|
1401
1414
|
|
1402
1415
|
# création du fichier vrt
|
1403
1416
|
new_zones = self._parent.create_vec(mydata['path'])
|
1417
|
+
logging.info(_('... done !'))
|
1404
1418
|
|
1405
1419
|
dlg = wx.MessageDialog(None, _('Do you want to add the new zones to the map ?'), _('Warning'), wx.YES_NO)
|
1406
1420
|
ret = dlg.ShowModal()
|
@@ -1409,17 +1423,24 @@ class UI_Manager_2D_GPU():
|
|
1409
1423
|
|
1410
1424
|
new_zones.set_mapviewer()
|
1411
1425
|
|
1412
|
-
self._parent.mapviewer.
|
1426
|
+
cur_ids = self._parent.mapviewer.get_list_keys(drawing_type=draw_type.VECTORS)
|
1427
|
+
newid = mydata['path'].name
|
1428
|
+
while newid in cur_ids:
|
1429
|
+
newid = newid + '_'
|
1430
|
+
self._parent.mapviewer.add_object('vector', newobj = new_zones, id=newid)
|
1431
|
+
self._parent.mapviewer.Refresh()
|
1413
1432
|
|
1414
1433
|
dlg.Destroy()
|
1415
1434
|
|
1416
1435
|
def ontranslatevrt2tif(self,e:wx.MouseEvent):
|
1417
1436
|
""" Traduction d'un fichier vrt en tif """
|
1418
1437
|
|
1438
|
+
logging.info(_('Translating vrt to tif ...'))
|
1419
1439
|
mydata = self._treelist.GetItemData(self._selected_item)
|
1420
1440
|
|
1421
1441
|
# création du fichier vrt
|
1422
1442
|
self._parent.translate_vrt2tif(mydata['path'])
|
1443
|
+
logging.info(_('... done !'))
|
1423
1444
|
|
1424
1445
|
def oncheck_consistency(self,e:wx.MouseEvent):
|
1425
1446
|
""" Vérification de la cohérence des fichiers """
|
@@ -1449,6 +1470,7 @@ class UI_Manager_2D_GPU():
|
|
1449
1470
|
def oncreate_simulation(self,e:wx.MouseEvent):
|
1450
1471
|
""" Creation d'une simulation """
|
1451
1472
|
|
1473
|
+
logging.info(_('Creating simulation ...'))
|
1452
1474
|
hydro = self.choice_hydrograph()
|
1453
1475
|
if hydro is None:
|
1454
1476
|
return
|
@@ -1526,6 +1548,8 @@ class UI_Manager_2D_GPU():
|
|
1526
1548
|
|
1527
1549
|
self._txtctrl.write(batch)
|
1528
1550
|
|
1551
|
+
logging.info(_('... done !'))
|
1552
|
+
|
1529
1553
|
def onrun_batch(self,e:wx.MouseEvent):
|
1530
1554
|
""" run batch file """
|
1531
1555
|
|
@@ -1839,7 +1863,12 @@ class UI_Manager_2D_GPU():
|
|
1839
1863
|
|
1840
1864
|
myarray = WolfArray(str(mydata), srcheader=self._parent._header, nullvalue=99999., idx=str(mydata.name))
|
1841
1865
|
|
1842
|
-
self._parent.mapviewer.
|
1866
|
+
ids = self._parent.mapviewer.get_list_keys(draw_type.ARRAYS)
|
1867
|
+
newid = str(mydata.name)
|
1868
|
+
while newid in ids:
|
1869
|
+
newid = newid + '_'
|
1870
|
+
|
1871
|
+
self._parent.mapviewer.add_object('array', newobj=myarray, id=newid)
|
1843
1872
|
|
1844
1873
|
elif mydata.name.endswith(GPU_2D_file_extensions.TXT.value):
|
1845
1874
|
# Chragement d'un hydrogramme
|
@@ -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 inspect
|
2
12
|
import ast
|
3
13
|
import importlib.util
|
wolfhece/scenario/update_void.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 inspect
|
2
12
|
import ast
|
3
13
|
import importlib.util
|
wolfhece/textpillow.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.path import exists, join, realpath, dirname
|
2
12
|
from queue import PriorityQueue
|
3
13
|
from PIL import Image,ImageDraw,ImageFont
|
wolfhece/tools_mpl.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 matplotlib.figure import Figure
|
3
13
|
from matplotlib.axes import Axes
|
4
14
|
|
@@ -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 logging
|
3
13
|
|
@@ -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 logging
|
3
13
|
|
wolfhece/wolf_array.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 sys
|
3
13
|
from typing import Union, Literal
|
wolfhece/wolf_hist.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.path import exists, join, dirname
|
2
12
|
import logging
|
3
13
|
import numpy as np
|
wolfhece/wolf_texture.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 PIL import Image, ImageFont, ImageOps
|
2
12
|
from PIL.PngImagePlugin import PngInfo
|
3
13
|
|
wolfhece/wolf_tiles.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 glob
|
3
13
|
from os.path import join, exists
|
4
14
|
from os import remove
|
wolfhece/wolf_vrt.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 glob
|
3
13
|
from osgeo import osr, gdal
|