CorrectionParameters
- class rameau.core.CorrectionParameters(area=None, pet=None, rainfall=None)[source]
Correction parameters.
- Parameters:
area (
floatordictorParameter, optional) – Factor correcting the drainage area of the watershed (-). Should be optimised only when drainage area is poorly known (e.g. loss in karstic watershed, multiple watershed outlets, water source supply).pet (
floatordictorParameter, optional) – PET correction factor (%) designed to compensate for any poor representativeness of observed PET data obtained from scattered meteorological stations. This correction is applied to all time steps.rainfall (
floatordictorParameter, optional) – Rainfall correction factor (%) designed to compensate for any poor representativeness of observed rainfall data obtained from scattered meteorological stations. This correction is applied both to liquid and solid precipitation at all time steps. Should be optimised only when rainfall is poorly known (e.g. mountainous areas).
- Returns:
Notes
The PET correction coefficient also takes into account cultural factors defining maximum evaporation at a given vegetative stage.
Examples
To multiply the drainage area by 1.2 and to increase PET by 5% at all time steps:
>>> area = rm.Parameter(value=0.2) >>> pet = dict(value=5) >>> corrections = rm.CorrectionParameters(area=area, pet=pet) >>> round(corrections.area.value, 6) 0.2 >>> corrections.pet.value 5.0
To optimise the correction coefficient of drainage area between 0.3 and 3:
>>> area = rm.Parameter(lower=0.3, upper=3, opti=True) >>> corrections = rm.CorrectionParameters(area=area) >>> corrections.area.opti True
Attributes