You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.
Currently the calculator expects a 1D array of precip estimates values and a corresponding header array of the same length, where the array position in each corresponds (among other things). The values are read into a NumPy array and all subsequent calculations are effectively batched over each value in the array. This is a holdover from the original codebase and perhaps a bit more complicated than necessary. It makes running an individual calculation needlessly compex.
The core calculator logic should operate just on
a precip value,
a flow length
an average slope
a basin area.
To run on multiple storm event frequencies, we run the calculation in a loop. It's not a complicated or long running equation--just some pretty basic math--so efficiency isn't really an issue here.
Anything related to data structures, reading/writing to a table, etc., should be handled outside of the core script.
The text was updated successfully, but these errors were encountered:
Currently the calculator expects a 1D array of precip estimates values and a corresponding header array of the same length, where the array position in each corresponds (among other things). The values are read into a NumPy array and all subsequent calculations are effectively batched over each value in the array. This is a holdover from the original codebase and perhaps a bit more complicated than necessary. It makes running an individual calculation needlessly compex.
The core calculator logic should operate just on
To run on multiple storm event frequencies, we run the calculation in a loop. It's not a complicated or long running equation--just some pretty basic math--so efficiency isn't really an issue here.
Anything related to data structures, reading/writing to a table, etc., should be handled outside of the core script.
The text was updated successfully, but these errors were encountered: