hydrobm.benchmarks.bm_rainfall_runoff_ratio_to_monthly
- hydrobm.benchmarks.bm_rainfall_runoff_ratio_to_monthly(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-from-precipitation for each month in the whole dataframe.
- 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: pandas DataSeries
Rainfall-runoff ratio value for the calculation period.
- qbmpandas DataFrame
Benchmark flow time series for the monthly rainfall-runoff ratio (RRR) benchmark model. Computed as long-term RRR multiplied by monthly mean precipitation.