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/__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='Values',
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
@@ -5,7 +5,7 @@ class WolfVersion():
5
5
 
6
6
  self.major = 2
7
7
  self.minor = 2
8
- self.patch = 34
8
+ self.patch = 36
9
9
 
10
10
  def __str__(self):
11
11
 
wolfhece/pydownloader.py CHANGED
@@ -41,6 +41,7 @@ class DownloadFiles(Enum):
41
41
  JSONFILES = ('json',)
42
42
  TXTFILES = ('txt',)
43
43
  CSVFILES = ('csv',)
44
+ DXFFILES = ('dxf',)
44
45
 
45
46
  class DonwloadDirectories(Enum):
46
47
  """ Enum to define the directories for downloads. """