wolfhece 2.2.34__py3-none-any.whl → 2.2.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/PyCrosssections.py +293 -16
- wolfhece/PyDraw.py +24 -7
- wolfhece/PyGui.py +9 -1
- wolfhece/PyVertexvectors.py +641 -360
- wolfhece/__init__.py +1 -0
- wolfhece/analyze_poly.py +2 -1
- wolfhece/apps/version.py +1 -1
- wolfhece/pydownloader.py +1 -0
- wolfhece/wolf_array.py +1233 -305
- wolfhece/wolf_zi_db.py +155 -0
- {wolfhece-2.2.34.dist-info → wolfhece-2.2.36.dist-info}/METADATA +1 -1
- {wolfhece-2.2.34.dist-info → wolfhece-2.2.36.dist-info}/RECORD +15 -15
- {wolfhece-2.2.34.dist-info → wolfhece-2.2.36.dist-info}/WHEEL +0 -0
- {wolfhece-2.2.34.dist-info → wolfhece-2.2.36.dist-info}/entry_points.txt +0 -0
- {wolfhece-2.2.34.dist-info → wolfhece-2.2.36.dist-info}/top_level.txt +0 -0
wolfhece/__init__.py
CHANGED
@@ -32,6 +32,7 @@ def ensure_ntv2grid_exists():
|
|
32
32
|
files = ['be_ign_bd72lb72_etrs89lb08.tif', 'be_ign_hBG18.tif', 'be_ign_README.txt']
|
33
33
|
|
34
34
|
pyproj_datadir = Path(pyproj.datadir.get_data_dir())
|
35
|
+
os.environ["PROJ_DATA"] = pyproj.datadir.get_data_dir() # set the PROJ_DATA environment variable to pyproj data directory
|
35
36
|
|
36
37
|
for file in files:
|
37
38
|
if not (pyproj_datadir / file).exists():
|
wolfhece/analyze_poly.py
CHANGED
@@ -4,6 +4,7 @@ import numpy as np
|
|
4
4
|
from shapely.geometry import Point, LineString
|
5
5
|
from typing import Literal
|
6
6
|
import pandas as pd
|
7
|
+
import geopandas as gpd
|
7
8
|
from pathlib import Path
|
8
9
|
|
9
10
|
from .PyTranslate import _
|
@@ -231,7 +232,7 @@ class Array_analysis_onepolygon():
|
|
231
232
|
|
232
233
|
import plotly.express as px
|
233
234
|
|
234
|
-
fig = px.histogram(self.values('Values'), x=
|
235
|
+
fig = px.histogram(self.values('Values'), x=self._polygon.myname,
|
235
236
|
nbins=bins, title='Values distribution',
|
236
237
|
histnorm='probability density')
|
237
238
|
|
wolfhece/apps/version.py
CHANGED