Description Usage Arguments Value See Also Examples
This function takes high frequency data on tidal elevations (typically
hourly or more frequently) and counts the number of days each
year where the water level (.wl
) exceeded a specified flood
elevation (.fldlvl
) at least once. It calculates the mean annual
number of days with observed flooding, the daily probability of flooding,
and a scaled estimate of days with flooding, scaled to account for days with
no water level data.
1 | floodmean(.data, .dt, .wl, .fldlvl)
|
.data |
A source data frame. can be NULL if .dt and .wl are defined in the enclosing environment. |
.dt |
Dates and times. A data column in .data or a data vector defined in the enclosing environment that contains date-time information. Must inherit from POSIXct. |
.wl |
Water level. A numerical data column in .data or a numerical vector defined in the enclosing environment. |
.fldlvl |
The water level that defines a flood event. Needs to be expressed in the same units and the same datum as the water level data.) |
A 3 (row) x 2 (column) array containing Mean
and Var
for
Daily Probability
of flooding,
Annual Flood Days
observed, and
Annual Scaled Flood Days
, which are scaled to account for days each year
with no data.
Other Flood frequency analysis functions:
.sim_once()
,
floodcast_tub()
,
floodfreq()
,
floodgraph()
1 2 3 4 | old <- prov_tides[prov_tides$Year >= 1940 & prov_tides$Year < 1950,]
new <- prov_tides[prov_tides$Year >= 2010 & prov_tides$Year < 2020,]
floodmean(old, DateTime, MLLW, 1.987)
floodmean(new, DateTime, MLLW, 1.987)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.