ras-commander 0.77.0__py3-none-any.whl → 0.79.0__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.
- ras_commander/HdfFluvialPluvial.py +276 -414
- ras_commander/HdfResultsMesh.py +0 -16
- ras_commander/RasExamples.py +121 -2
- ras_commander/RasGeo.py +2 -2
- ras_commander/RasMap.py +467 -252
- ras_commander/RasPrj.py +2 -1
- ras_commander/__init__.py +1 -1
- {ras_commander-0.77.0.dist-info → ras_commander-0.79.0.dist-info}/METADATA +2 -3
- {ras_commander-0.77.0.dist-info → ras_commander-0.79.0.dist-info}/RECORD +12 -12
- {ras_commander-0.77.0.dist-info → ras_commander-0.79.0.dist-info}/WHEEL +1 -1
- {ras_commander-0.77.0.dist-info → ras_commander-0.79.0.dist-info}/licenses/LICENSE +0 -0
- {ras_commander-0.77.0.dist-info → ras_commander-0.79.0.dist-info}/top_level.txt +0 -0
ras_commander/RasPrj.py
CHANGED
@@ -1295,7 +1295,8 @@ def init_ras_project(ras_project_folder, ras_version=None, ras_object=None):
|
|
1295
1295
|
>>> my_project = init_ras_project("/path/to/project", "6.6", "new")
|
1296
1296
|
>>> print(f"Created project instance: {my_project.project_name}")
|
1297
1297
|
"""
|
1298
|
-
|
1298
|
+
# Convert to absolute path immediately to ensure consistent path handling
|
1299
|
+
project_folder = Path(ras_project_folder).resolve()
|
1299
1300
|
if not project_folder.exists():
|
1300
1301
|
logger.error(f"The specified RAS project folder does not exist: {project_folder}")
|
1301
1302
|
raise FileNotFoundError(f"The specified RAS project folder does not exist: {project_folder}. Please check the path and try again.")
|
ras_commander/__init__.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ras-commander
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.79.0
|
4
4
|
Summary: A Python library for automating HEC-RAS 6.x operations
|
5
5
|
Home-page: https://github.com/gpt-cmdr/ras-commander
|
6
6
|
Author: William M. Katzenmeyer, P.E., C.F.M.
|
@@ -291,7 +291,7 @@ This is useful for comparing different river systems, running scenario analyses
|
|
291
291
|
- `RasGeo`: Handles operations related to geometry files
|
292
292
|
- `RasUnsteady`: Manages unsteady flow file operations
|
293
293
|
- `RasUtils`: Contains utility functions for file operations and data management
|
294
|
-
- `RasMap`: Parses and
|
294
|
+
- `RasMap`: Parses RASMapper configuration files and automates floodplain mapping
|
295
295
|
- `RasExamples`: Manages and loads HEC-RAS example projects
|
296
296
|
|
297
297
|
#### HDF Data Access Classes
|
@@ -511,7 +511,6 @@ Additionally, we would like to acknowledge the following notable contributions a
|
|
511
511
|
|
512
512
|
- Development of additional HDF functions for detailed analysis and mapping of HEC-RAS results within the RasHdf class.
|
513
513
|
- Development of the prototype `RasCmdr` class for executing HEC-RAS simulations.
|
514
|
-
- Optimization examples and methods from (INSERT REFERENCE) for use in the Ras-Commander library examples
|
515
514
|
|
516
515
|
2. Attribution: The [`pyHMT2D`](https://github.com/psu-efd/pyHMT2D/) project by Xiaofeng Liu, which provided insights into HDF file handling methods for HEC-RAS outputs. Many of the functions in the [Ras_2D_Data.py](https://github.com/psu-efd/pyHMT2D/blob/main/pyHMT2D/Hydraulic_Models_Data/RAS_2D/RAS_2D_Data.py) file were adapted with AI for use in RAS Commander.
|
517
516
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
ras_commander/Decorators.py,sha256=oJHZqwhw1H3Gy-m-mT4zyJ-LTH9b4Ick1hzgkMO-MEM,14783
|
2
2
|
ras_commander/HdfBase.py,sha256=Jws6Y8JFkharuiM6Br5ivp6MS64X2fL6y87FOpe3FQw,14219
|
3
3
|
ras_commander/HdfBndry.py,sha256=FBNFoTz4sXVB-MOsbHJBP8P0dMqJUfBROloKTaxmzCo,16377
|
4
|
-
ras_commander/HdfFluvialPluvial.py,sha256=
|
4
|
+
ras_commander/HdfFluvialPluvial.py,sha256=Go-rogUjF0O9Vjbmh7g1bh9QJfIephQD-nHTiDhx9l8,20824
|
5
5
|
ras_commander/HdfInfiltration.py,sha256=n42JY__hTLZzEnsf4NDgKXssrNU2zkYzdPAAQ19fWU4,67700
|
6
6
|
ras_commander/HdfMesh.py,sha256=zI_4AqxDxb2_31G9RUmWibyld6KDMGhDpI3F8qwzVAw,19139
|
7
7
|
ras_commander/HdfPipe.py,sha256=m-yvPL2GIP23NKt2tcwzOlS7khvgcDPGAshlTPMUAeI,32154
|
8
8
|
ras_commander/HdfPlan.py,sha256=WINI3lp865cE99QXztgvKKIhVUTOqu4X41ZPBfhYJGU,12145
|
9
9
|
ras_commander/HdfPlot.py,sha256=7MNI5T9qIz-Ava1RdlnB6O9oJElE5BEB29QVF5Y2Xuc,3401
|
10
10
|
ras_commander/HdfPump.py,sha256=Vc2ff16kRISR7jwtnaAqxI0p-gfBSuZKzR3rQbBLQoE,12951
|
11
|
-
ras_commander/HdfResultsMesh.py,sha256=
|
11
|
+
ras_commander/HdfResultsMesh.py,sha256=FIUN_yZ6h1XrcaHuOdAQrozOBN_UKNNn3_l8lO703dk,44172
|
12
12
|
ras_commander/HdfResultsPlan.py,sha256=gmeAceYHABubv0V8dJL2F5GN4Th7g92E_1y-Hc4JZjg,16626
|
13
13
|
ras_commander/HdfResultsPlot.py,sha256=ylzfT78CfgoDO0XAlRwlgMNRzvNQYBMn9eyXyBfjv_w,7660
|
14
14
|
ras_commander/HdfResultsXsec.py,sha256=-P7nXnbjOLAeUnrdSC_lJQSfzrlWKmDF9Z5gEjmxbJY,13031
|
@@ -17,16 +17,16 @@ ras_commander/HdfUtils.py,sha256=VkIKAXBrLwTlk2VtXSO-W3RU-NHpfHbE1QcZUZgl-t8,152
|
|
17
17
|
ras_commander/HdfXsec.py,sha256=flREnFFrIZu4SSKGRQeX9w3SS49q0UWPJnq4zO7DbUM,27342
|
18
18
|
ras_commander/LoggingConfig.py,sha256=gWe5K5XTmMQpSczsTysAqpC9my24i_IyM8dvD85fxYg,2704
|
19
19
|
ras_commander/RasCmdr.py,sha256=37GnchoQ0fIAkPnssnCr1mRUXY8gm-hIMTmuHZlnYP8,34591
|
20
|
-
ras_commander/RasExamples.py,sha256=
|
21
|
-
ras_commander/RasGeo.py,sha256=
|
22
|
-
ras_commander/RasMap.py,sha256=
|
20
|
+
ras_commander/RasExamples.py,sha256=oOI9id_98anyrTqqpnYbbs5VX7q1E0P-cC4wzqT3OTg,23411
|
21
|
+
ras_commander/RasGeo.py,sha256=u2HUkFrPnMc6Z7jD4PHM4YV3nwTZqMi4QIoNDQ7Rjug,21671
|
22
|
+
ras_commander/RasMap.py,sha256=OqUaMmNRw6opVBxkCAYd--pEE1gZE-Y5SPyoaX2ulMg,19791
|
23
23
|
ras_commander/RasPlan.py,sha256=ogIpLqawXTsjLnKRZTqzZydn_EFVJZFZZGgHvJ_t_-c,65408
|
24
|
-
ras_commander/RasPrj.py,sha256=
|
24
|
+
ras_commander/RasPrj.py,sha256=oXPWuNC_403mUfqyysXyBVul0Xtz_0SKDxZdj4fvNYU,63448
|
25
25
|
ras_commander/RasUnsteady.py,sha256=TO08CT2GC4G5rcXO_Wbia2t4PhiWRu9-nC9F0IW7Gyo,37187
|
26
26
|
ras_commander/RasUtils.py,sha256=0fm4IIs0LH1dgDj3pGd66mR82DhWLEkRKUvIo2M_5X0,35886
|
27
|
-
ras_commander/__init__.py,sha256=
|
28
|
-
ras_commander-0.
|
29
|
-
ras_commander-0.
|
30
|
-
ras_commander-0.
|
31
|
-
ras_commander-0.
|
32
|
-
ras_commander-0.
|
27
|
+
ras_commander/__init__.py,sha256=sd0ei6EQBUoBKiP8DQZfwhUXY1Wr4r4ubEKKqaCAIlI,2039
|
28
|
+
ras_commander-0.79.0.dist-info/licenses/LICENSE,sha256=_pbd6qHnlsz1iQ-ozDW_49r86BZT6CRwO2iBtw0iN6M,457
|
29
|
+
ras_commander-0.79.0.dist-info/METADATA,sha256=aNL6rjWX_mmG2XIBXLu6QubymBPoXRJPlbwPAP1jT_0,27855
|
30
|
+
ras_commander-0.79.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
31
|
+
ras_commander-0.79.0.dist-info/top_level.txt,sha256=i76S7eKLFC8doKcXDl3aiOr9RwT06G8adI6YuKbQDaA,14
|
32
|
+
ras_commander-0.79.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|