ras-commander 0.50.0__tar.gz → 0.51.0__tar.gz

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.
Files changed (39) hide show
  1. {ras_commander-0.50.0/ras_commander.egg-info → ras_commander-0.51.0}/PKG-INFO +2 -2
  2. {ras_commander-0.50.0 → ras_commander-0.51.0}/README.md +1 -1
  3. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/HdfBndry.py +8 -8
  4. {ras_commander-0.50.0 → ras_commander-0.51.0/ras_commander.egg-info}/PKG-INFO +2 -2
  5. {ras_commander-0.50.0 → ras_commander-0.51.0}/setup.py +1 -1
  6. {ras_commander-0.50.0 → ras_commander-0.51.0}/LICENSE +0 -0
  7. {ras_commander-0.50.0 → ras_commander-0.51.0}/pyproject.toml +0 -0
  8. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/Decorators.py +0 -0
  9. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/HdfBase.py +0 -0
  10. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/HdfFluvialPluvial.py +0 -0
  11. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/HdfInfiltration.py +0 -0
  12. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/HdfMesh.py +0 -0
  13. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/HdfPipe.py +0 -0
  14. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/HdfPlan.py +0 -0
  15. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/HdfPlot.py +0 -0
  16. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/HdfPump.py +0 -0
  17. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/HdfResultsMesh.py +0 -0
  18. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/HdfResultsPlan.py +0 -0
  19. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/HdfResultsPlot.py +0 -0
  20. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/HdfResultsXsec.py +0 -0
  21. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/HdfStruc.py +0 -0
  22. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/HdfUtils.py +0 -0
  23. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/HdfXsec.py +0 -0
  24. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/LoggingConfig.py +0 -0
  25. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/RasCmdr.py +0 -0
  26. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/RasExamples.py +0 -0
  27. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/RasGeo.py +0 -0
  28. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/RasGpt.py +0 -0
  29. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/RasMapper.py +0 -0
  30. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/RasPlan.py +0 -0
  31. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/RasPrj.py +0 -0
  32. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/RasToGo.py +0 -0
  33. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/RasUnsteady.py +0 -0
  34. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/RasUtils.py +0 -0
  35. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander/__init__.py +0 -0
  36. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander.egg-info/SOURCES.txt +0 -0
  37. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander.egg-info/dependency_links.txt +0 -0
  38. {ras_commander-0.50.0 → ras_commander-0.51.0}/ras_commander.egg-info/top_level.txt +0 -0
  39. {ras_commander-0.50.0 → ras_commander-0.51.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ras-commander
3
- Version: 0.50.0
3
+ Version: 0.51.0
4
4
  Summary: A Python library for automating HEC-RAS operations
5
5
  Home-page: https://github.com/billk-FM/ras-commander
6
6
  Author: William M. Katzenmeyer
@@ -61,7 +61,7 @@ Create a virtual environment with conda or venv (ask ChatGPT if you need help)
61
61
 
62
62
  In your virtual environment, install ras-commander using pip:
63
63
  ```
64
- pip install h5py numpy pandas requests tqdm scipy xarray geopandas matplotlib ras-commander ipython psutil shapely fiona pathlib rtree rasterstats
64
+ pip install h5py numpy pandas requests tqdm scipy xarray geopandas matplotlib ras-commander ipython tqdm psutil shapely fiona pathlib rtree rasterstats
65
65
  pip install --upgrade ras-commander
66
66
  ```
67
67
 
@@ -50,7 +50,7 @@ Create a virtual environment with conda or venv (ask ChatGPT if you need help)
50
50
 
51
51
  In your virtual environment, install ras-commander using pip:
52
52
  ```
53
- pip install h5py numpy pandas requests tqdm scipy xarray geopandas matplotlib ras-commander ipython psutil shapely fiona pathlib rtree rasterstats
53
+ pip install h5py numpy pandas requests tqdm scipy xarray geopandas matplotlib ras-commander ipython tqdm psutil shapely fiona pathlib rtree rasterstats
54
54
  pip install --upgrade ras-commander
55
55
  ```
56
56
 
@@ -79,7 +79,7 @@ class HdfBndry:
79
79
 
80
80
  # Get geometries
81
81
  bc_line_data = hdf_file[bc_lines_path]
82
- geoms = HdfUtils.get_polylines_from_parts(hdf_path, bc_lines_path)
82
+ geoms = HdfBase.get_polylines_from_parts(hdf_path, bc_lines_path)
83
83
 
84
84
  # Get attributes
85
85
  attributes = pd.DataFrame(bc_line_data["Attributes"][()])
@@ -94,7 +94,7 @@ class HdfBndry:
94
94
  gdf = gpd.GeoDataFrame(
95
95
  attributes,
96
96
  geometry=geoms,
97
- crs=HdfUtils.get_projection(hdf_file)
97
+ crs=HdfBase.get_projection(hdf_file)
98
98
  )
99
99
 
100
100
  # Add ID column if not present
@@ -134,11 +134,11 @@ class HdfBndry:
134
134
  names = np.vectorize(HdfUtils.convert_ras_string)(
135
135
  bl_line_data["Attributes"][()]["Name"]
136
136
  )
137
- geoms = HdfUtils.get_polylines_from_parts(hdf_path, breaklines_path)
137
+ geoms = HdfBase.get_polylines_from_parts(hdf_path, breaklines_path)
138
138
  return gpd.GeoDataFrame(
139
139
  {"bl_id": bl_line_ids, "Name": names, "geometry": geoms},
140
140
  geometry="geometry",
141
- crs=HdfUtils.get_projection(hdf_file),
141
+ crs=HdfBase.get_projection(hdf_file),
142
142
  )
143
143
  except Exception as e:
144
144
  logger.error(f"Error reading breaklines: {str(e)}")
@@ -186,7 +186,7 @@ class HdfBndry:
186
186
  return gpd.GeoDataFrame(
187
187
  {"rr_id": rr_ids, "Name": names, "geometry": geoms},
188
188
  geometry="geometry",
189
- crs=HdfUtils.get_projection(hdf_file),
189
+ crs=HdfBase.get_projection(hdf_file),
190
190
  )
191
191
  except Exception as e:
192
192
  logger.error(f"Error reading refinement regions: {str(e)}")
@@ -229,7 +229,7 @@ class HdfBndry:
229
229
  except ValueError:
230
230
  types = np.array([""] * attributes.shape[0])
231
231
 
232
- geoms = HdfUtils.get_polylines_from_parts(hdf_path, reference_lines_path)
232
+ geoms = HdfBase.get_polylines_from_parts(hdf_path, reference_lines_path)
233
233
 
234
234
  gdf = gpd.GeoDataFrame(
235
235
  {
@@ -240,7 +240,7 @@ class HdfBndry:
240
240
  "geometry": geoms,
241
241
  },
242
242
  geometry="geometry",
243
- crs=HdfUtils.get_projection(hdf_file),
243
+ crs=HdfBase.get_projection(hdf_file),
244
244
  )
245
245
 
246
246
  # Filter by mesh_name if provided
@@ -296,7 +296,7 @@ class HdfBndry:
296
296
  "geometry": list(map(Point, points)),
297
297
  },
298
298
  geometry="geometry",
299
- crs=HdfUtils.get_projection(hdf_file),
299
+ crs=HdfBase.get_projection(hdf_file),
300
300
  )
301
301
 
302
302
  # Filter by mesh_name if provided
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ras-commander
3
- Version: 0.50.0
3
+ Version: 0.51.0
4
4
  Summary: A Python library for automating HEC-RAS operations
5
5
  Home-page: https://github.com/billk-FM/ras-commander
6
6
  Author: William M. Katzenmeyer
@@ -61,7 +61,7 @@ Create a virtual environment with conda or venv (ask ChatGPT if you need help)
61
61
 
62
62
  In your virtual environment, install ras-commander using pip:
63
63
  ```
64
- pip install h5py numpy pandas requests tqdm scipy xarray geopandas matplotlib ras-commander ipython psutil shapely fiona pathlib rtree rasterstats
64
+ pip install h5py numpy pandas requests tqdm scipy xarray geopandas matplotlib ras-commander ipython tqdm psutil shapely fiona pathlib rtree rasterstats
65
65
  pip install --upgrade ras-commander
66
66
  ```
67
67
 
@@ -23,7 +23,7 @@ class CustomBuildPy(build_py):
23
23
 
24
24
  setup(
25
25
  name="ras-commander",
26
- version="0.50.0",
26
+ version="0.51.0",
27
27
  packages=["ras_commander"],
28
28
  include_package_data=True,
29
29
  python_requires='>=3.10',
File without changes
File without changes