Hydrological years begin in October so this function converts calendar dates into hydrologic dates.

hydro_day(cal_date = NULL, start_month = 10)

Arguments

cal_date

(date) calendar date to convert

start_month

(numeric) number of month to start the hydro year