-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
In the curve_preDEM function, the max_wl value is used to calculate the curve_ext variable, which is subsequently passed as an argument to the range() function in the loop. Since max_wl could potentially be a float, the curve_ext variable would produce an error when executing the loop.
Suggested Solution:
Option 1: Ensure that the user is informed via the README file that the input file should contain max_wl as an integer value.
Option 2: For cases where max_wl is a floating-point number, consider modifying the curve_preDEM function to take the ceiling of the float value, ensuring compatibility with the range() function.
Metadata
Metadata
Assignees
Labels
No labels