As I've noted the code here:
|
# NOTE: THIS ASSUMES THE CURVE NUMBER RASTER IS IN METERS |
...the equation for storage assumes the average curve number was calculated from a raster that had a CRS with meters for units.
It'd be nice to de-hardcode this and use Pint to handle unit conversion for inputs/outputs, as done in a few other places.
As I've noted the code here:
peak-flow-calculator/core/logic/calc.py
Line 84 in 33addbd
...the equation for storage assumes the average curve number was calculated from a raster that had a CRS with meters for units.
It'd be nice to de-hardcode this and use Pint to handle unit conversion for inputs/outputs, as done in a few other places.