Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions bluemath_tk/wrappers/schism/schism_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ def generate_time_series(
The case directory.
"""

print(case_context["case_num"])

# Calculate the start and end times in seconds
qp = case_context.get("Qp")
qb = case_context.get("Qb")
Expand Down Expand Up @@ -277,6 +279,8 @@ def generate_time_series(
t = np.arange(0, timef * 3600, int_min)
# interpolamos caudal a esa resolución temporal
f = interp1d(hidro_seg, hidro_Qp, kind="linear")
# f = interp1d(hidro_seg, hidro_Qp, kind="linear", fill_value="extrapolate", bounds_error=False) # CAMBIADO!!!!

t2 = np.arange(0, np.max(hidro_seg), int_min)
hidro_Qp_5_1 = f(t2)
t3 = np.max(t) - np.max(t2)
Expand Down
Loading