ForecastSettings
- class rameau.core.ForecastSettings(emission_date=None, scope=datetime.timedelta(days=1), year_members=None, correction='no', pumping_date=None, quantiles_output=False, quantiles=[10, 20, 50, 80, 90], norain=False)[source]
Forecast settings.
- Parameters:
emission_date (
datetime.datetime, optional) – The date and time on which to issue a forecast.scope (
datetime.timedelta, optional) – The duration for which to run the forecast. If not provided, set to one day.year_members (
listorìnt, optional) – The years to consider to form the forecast ensemble members. If not provided, all years in record are considered.correction (
str, optional) –The approach to use to correct the initial conditions before issuing the forecast.
correction
description
'no'No correction is performed. This is the default behaviour.
'halflife'A correction using the observation of the forecast variable on the issue date is applied and then the correction is gradually dampened overtime based on a half-life parameter.
pumping_date (
datetime.datetime, optional) – The date and time on which to start pumping.quantiles_output (
bool, optional) – Whether to reduce the forecast ensemble members to specific climatology quantiles. If not provided, all years in record or years specified via theyear_membersparameter are considered. The quantiles can be chosen via thequantilesparameter.quantiles (
listorint, optional) – The climatology percentiles to include in the forecast ensemble members. Only considered ifquantiles_outputis set toTrue. By default, the percentiles computed are 10, 20, 50, 80, and 90.norain (
bool, optional) – Whether to include an extra ensemble member corresponding to a completely rain-free year. By default, this member is not included in the forecast output.
- Returns:
Attributes
The approach to use to correct the initial conditionsbefore issuing a forecast.
The date and time on which to issue a forecast.
Whether to include an extra ensemble member corresponding toa completely rain-free year.
The date and time on which to start pumping.
The climatology percentiles to include in the forecast ensemble members.
Whether to reduce the forecast ensemble members to specific climatology quantiles.
The duration for which to run the forecast.
The years to consider to form the forecast ensemble members.