Function returns number of weeks of floodplain inundation given a flow for a watershed
weeks_flooded(ws, flow_cfs)
ws | name of CVPIA watershed |
---|---|
flow_cfs | 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.
weeks_flooded('Yuba River', 900)#> [1] 4