get_weeks_flooded.Rd
Function returns number of weeks of floodplain inundation given a flow for a watershed
get_weeks_flooded(ws, flow_cfs)
name of CVPIA watershed
monthly mean flow in cubic feet per second
integer value for number of weeks
These relationships between number of days inundated and the mean monthly flow
are stored in weeks_inundated
and referenced by this function.
For watersheds without a defined relationship, a two week inundation duration is assumed.
get_weeks_flooded('Yuba River', 900)
#> [1] 4