Commit 5b1df64
Fix incorrect unit conversion in hydro function in convert.py (#422)
* Fix incorrect unit conversion in hydro function in convert.py
Removed unnecessary factor of 1000/24 from the runoff calculation, as pointed out by user JKALanger.
The function now correctly calculates runoff in m3 per hour
by directly multiplying the depth (in meters per hour) by the basin area (in square meters).
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update release_notes.rst
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent 91e6e7c commit 5b1df64
2 files changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1038 | 1038 | | |
1039 | 1039 | | |
1040 | 1040 | | |
1041 | | - | |
1042 | | - | |
1043 | | - | |
| 1041 | + | |
1044 | 1042 | | |
1045 | 1043 | | |
1046 | 1044 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
0 commit comments