POR_apply_annual_hiflow_stats {HyMETT}R Documentation

Calculate the 50th and 90th percentiles of a streamflow time series

Description

This function computes the 50th and 90th percentiles of a streamflow time series from annual n-day high flow values and returns a data.frame in the format of other period-of-record (POR) metrics.

Usage

POR_apply_annual_hiflow_stats(annual_max, quantile_type = 8)

Arguments

annual_max

'numeric' vector or data.frame. Vector or data.frame with columns of annual n-day maximum streamflows.

quantile_type

'numeric' value. The distribution type used in the stats::quantile function. Default is 8 (median-unbiased regardless of distribution). Other types common in hydrology are 6 (Weibull) or 9 (unbiased for normal distributions).

Details

annual maximum of n-day moving averages can be computed during pre-processing step using
preproc_precondition_data and calc_annual_flow_stats, or preproc_main for both observed and modeled data.

Value

Data.frame of 0.5 and 0.9 non-exceedance probabilities (50th and 90th percentiles), with metric names if annual_max is a data.frame with columns named by metric.

See Also

quantile, preproc_precondition_data, calc_annual_flow_stats, preproc_main

Examples

POR_apply_annual_hiflow_stats(annual_max = example_annual[ , c("high_q1", "high_q30")])


[Package HyMETT version 1.1.2 Index]