hydxlib 1.7.7.dev0__tar.gz → 1.7.8__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.
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/CHANGES.rst +7 -1
- {hydxlib-1.7.7.dev0/hydxlib.egg-info → hydxlib-1.7.8}/PKG-INFO +8 -2
- hydxlib-1.7.8/hydxlib/__init__.py +3 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib/tests/test_threedi.py +1 -1
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib/threedi.py +11 -2
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8/hydxlib.egg-info}/PKG-INFO +8 -2
- hydxlib-1.7.7.dev0/hydxlib/__init__.py +0 -3
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/LICENSE +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/MANIFEST.in +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/README.rst +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib/exporter.py +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib/hydx.py +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib/importer.py +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib/scripts.py +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib/tests/__init__.py +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib/tests/conftest.py +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib/tests/test_exporter.py +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib/tests/test_hydx.py +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib/tests/test_importer.py +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib/tests/test_scripts.py +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib.egg-info/SOURCES.txt +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib.egg-info/dependency_links.txt +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib.egg-info/entry_points.txt +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib.egg-info/not-zip-safe +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib.egg-info/requires.txt +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/hydxlib.egg-info/top_level.txt +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/setup.cfg +0 -0
- {hydxlib-1.7.7.dev0 → hydxlib-1.7.8}/setup.py +0 -0
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
Changelog of hydxlib
|
|
2
2
|
===================================================
|
|
3
3
|
|
|
4
|
-
1.7.
|
|
4
|
+
1.7.8 (2026-07-02)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
- Convert discharge_capacity to m3/s (https://docs.ranawaterintelligence.com/d_1d_objects.html#id31)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
1.7.7 (2026-06-09)
|
|
5
11
|
------------------
|
|
6
12
|
|
|
7
13
|
- Set weir cross-section shape to closed rectangle; set cross_section_height from OVS_VOH (mm to m) when present (nens/rana#4429).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hydxlib
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.8
|
|
4
4
|
Summary: Importer and Exporter for GWSW
|
|
5
5
|
Home-page: https://github.com/nens/hydxlib
|
|
6
6
|
Author: Nelen & Schuurmans
|
|
@@ -104,7 +104,13 @@ install `pre-commit`::
|
|
|
104
104
|
Changelog of hydxlib
|
|
105
105
|
===================================================
|
|
106
106
|
|
|
107
|
-
1.7.
|
|
107
|
+
1.7.8 (2026-07-02)
|
|
108
|
+
------------------
|
|
109
|
+
|
|
110
|
+
- Convert discharge_capacity to m3/s (https://docs.ranawaterintelligence.com/d_1d_objects.html#id31)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
1.7.7 (2026-06-09)
|
|
108
114
|
------------------
|
|
109
115
|
|
|
110
116
|
- Set weir cross-section shape to closed rectangle; set cross_section_height from OVS_VOH (mm to m) when present (nens/rana#4429).
|
|
@@ -211,7 +211,7 @@ def get_cross_section_details(hydx_profile, record_code, name_for_logging):
|
|
|
211
211
|
height = hydx_profile.tabulatedhoogte
|
|
212
212
|
|
|
213
213
|
shape = SHAPE_MAPPING.get(hydx_profile.vormprofiel)
|
|
214
|
-
if shape is None
|
|
214
|
+
if shape is None:
|
|
215
215
|
# Unknown/missing shape: fall back to scalar mm fields for width/height
|
|
216
216
|
width = transform_unit_mm_to_m(hydx_profile.breedte_diameterprofiel)
|
|
217
217
|
height = transform_unit_mm_to_m(hydx_profile.hoogteprofiel)
|
|
@@ -542,7 +542,9 @@ class Threedi:
|
|
|
542
542
|
"sewerage": True,
|
|
543
543
|
"crest_type": CrestType.SHORT_CRESTED.value,
|
|
544
544
|
"crest_level": hydx_structure.niveaubinnenonderkantprofiel,
|
|
545
|
-
"discharge_capacity":
|
|
545
|
+
"discharge_capacity": transform_discharge_capacity_to_m3s(
|
|
546
|
+
hydx_structure.maximalecapaciteitdoorlaat
|
|
547
|
+
),
|
|
546
548
|
}
|
|
547
549
|
|
|
548
550
|
self.orifices.append(orifice)
|
|
@@ -794,6 +796,13 @@ def check_if_element_is_created_with_same_code(
|
|
|
794
796
|
)
|
|
795
797
|
|
|
796
798
|
|
|
799
|
+
def transform_discharge_capacity_to_m3s(capacity):
|
|
800
|
+
if capacity is not None:
|
|
801
|
+
return round(float(capacity) / 3600, 5)
|
|
802
|
+
else:
|
|
803
|
+
return None
|
|
804
|
+
|
|
805
|
+
|
|
797
806
|
def transform_capacity_to_ls(capacity):
|
|
798
807
|
if capacity is not None:
|
|
799
808
|
return round(float(capacity) / 3.6, 5)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hydxlib
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.8
|
|
4
4
|
Summary: Importer and Exporter for GWSW
|
|
5
5
|
Home-page: https://github.com/nens/hydxlib
|
|
6
6
|
Author: Nelen & Schuurmans
|
|
@@ -104,7 +104,13 @@ install `pre-commit`::
|
|
|
104
104
|
Changelog of hydxlib
|
|
105
105
|
===================================================
|
|
106
106
|
|
|
107
|
-
1.7.
|
|
107
|
+
1.7.8 (2026-07-02)
|
|
108
|
+
------------------
|
|
109
|
+
|
|
110
|
+
- Convert discharge_capacity to m3/s (https://docs.ranawaterintelligence.com/d_1d_objects.html#id31)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
1.7.7 (2026-06-09)
|
|
108
114
|
------------------
|
|
109
115
|
|
|
110
116
|
- Set weir cross-section shape to closed rectangle; set cross_section_height from OVS_VOH (mm to m) when present (nens/rana#4429).
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|