Repository navigation
Release 1.3.0: corrected dam coordinates, drainage rule, fixed-precision tables
A methodological update on top of 1.2.1. The curves of the 526 Saudi Arabian dams are regenerated on a catalog with corrected coordinates, with 320 SRTM-derived and 206 regionalized curves. Baish keeps its curve.
Changed
- Every catalog coordinate was checked against satellite imagery. In all, 28 coordinates moved onto the wall (by 12 m to 4.8 km), 6 entries with no wall at the coordinate are typed
subsurfaceand excluded, and 6 dams with a confirmed wall return to the catalog. - River parts follow the channel and carry an equal share of the reach length and unit-catchment area. The network is closed upstream of the country border, and zero-length reaches are dropped.
- A flood fill is accepted only when it drains out through the wall (
eaves.pipeline.drainage). A fill on the downstream side of the wall is rejected. - Stage 4 moves the wall along the snapped river in both directions and replaces the earlier fill only when the volume lies closer to the catalog capacity.
placement_upstream_shift_mis positive upstream and negative downstream. - The run is faster with identical results. The flood fill is read as a labeled component, the workers receive the river network once, and the sensitivity sweep runs in parallel.
- Every output table is written at a fixed precision: four significant digits and never fewer than two decimals, with four decimals for
capacity_mcmand the exponentb. - The sensitivity sweep covers the two calibrated constants of the drainage rule, and the validation step writes the A_cap regression diagnostics.
- The regionalization trains on 199 dams, its exponent is 1.53, and the leave-one-out volume at full pool falls within a factor of 2 for 185 of them (93%) and within a factor of 3 for all.
- The documentation, the generated report, the code comments and the docstrings follow one writing style.
Added
- The regression fixture ships the SRTM GL1 elevation around its 15 dams (17 files, about 6 MB) with its build script, so the regression test runs with the tracked settings alone.
- Tests for the preprocessing, the drainage rule and the table precision.
Fixed
- Hali dam height (
id_020019), 87 m to 57 m. - The report quotes the exponent assigned to the regionalized dams and reads the band floors and anchor spreads from the run. Its dam count adds the dams without a fill, and a second pass of the report step keeps the summary as written.
- The arrows of the check plots point downstream.
failed_dams.csvwrites the construction year as an integer.- The DEM error panel leaves out every dam with fewer than 10 valid realizations, in place of one dam named by its identifier.