POR_apply_annual_lowflow_stats function

Calculate 10-year and 2-year return periods of a streamflow time series

Calculate 10-year and 2-year return periods of a streamflow time series

Calculates 10-year and 2-year return periods of a streamflow time series from annual n-day low streamflow values and returns a data.frame in the format of other period-of-record (POR) metrics.

POR_apply_annual_lowflow_stats(annual_min)

Arguments

  • annual_min: 'numeric' vector or data.frame. Vector or data.frame with columns of annual n-day minimum streamflows.

Returns

data.frame with 10-year and 2-year return period of n-day streamflows.

Details

POR_apply_POR_lowflow_metrics is a helper function that applies the POR_calc_lp3_quantile

function to the data.frame of n-day moving averages, which 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. This function returns a data.frame with the 10-year and 2-year return period streamflows for each n-day low streamflow in the input data.frame.

Examples

POR_apply_annual_lowflow_stats(annual_min = example_annual[ , c("low_q1", "low_q30")])

See Also

POR_calc_lp3_quantile, preproc_precondition_data, calc_annual_flow_stats,

preproc_main

  • Maintainer: Colin Penn
  • License: CC0
  • Last published: 2024-08-28