hydrobm.benchmarks.bm_rainfall_runoff_ratio_to_all
- hydrobm.benchmarks.bm_rainfall_runoff_ratio_to_all(data, cal_mask, precipitation='precipitation', streamflow='streamflow')[source]
Calculate the long-term rainfall-runoff ratio over the calculation period and use that as a predictor of runoff using precipitation totals from the calculation period and non-calculation period respectively.
- Parameters:
- datapandas DataFrame
Input data containing precipitation and streamflow columns.
- cal_maskpandas Series
Boolean mask for the calculation period.
- precipitationstr, optional
Name of the precipitation column in the input data. Default is [‘precipitation’].
- streamflowstr, optional
Name of the streamflow column in the input data. Default is [‘streamflow’].
- Returns:
- bm_vals: float
Rainfall-runoff ratio value for the calculation period.
- qbmpandas DataFrame
Benchmark flow time series for the rainfall-runoff ratio (RRR) benchmark model. Computed as long-term RRR during calculation period multiplied by long-term mean precipitation from calculation and non-calculation periods.
Notes
Effectively the same as the mean flow benchmark.