@@ -47,30 +47,31 @@ def __init__(self, method: str, available_methods: list):
47
47
48
48
class CMethods :
49
49
"""
50
- The CMethods class serves a collection of bias correction procedures to adjust
51
- time-series of climate data.
52
-
53
- The following bias correction techniques are available:
54
- Scaling-based techniques:
55
- * Linear Scaling :func:`cmethods.CMethods.linear_scaling`
56
- * Variance Scaling :func:`cmethods.CMethods.variance_scaling`
57
- * Delta (change) Method :func:`cmethods.CMethods.delta_method`
58
-
59
- Distribution-based techniques:
60
- * Quantile Mapping :func:`cmethods.CMethods.quantile_mapping`
61
- * Detrended Quantile Mapping :func:`cmethods.CMethods.detrended_quantile_mapping`
62
- * Quantile Delta Mapping :func:`cmethods.CMethods.quantile_delta_mapping`
63
-
64
- Except for the Variance Scaling all methods can be applied on both, stochastic and non-stochastic
65
- variables. The Variance Scaling can only be applied on stochastic climate variables.
66
-
67
- Stochastic climate variables are those that are subject to random fluctuations
68
- and are not predictable. They have no predictable trend or pattern. Examples of
69
- stochastic climate variables include precipitation, air temperature, and humidity.
70
-
71
- Non-stochastic climate variables, on the other hand, have clear trend and pattern histories
72
- and can be readily predicted. They are often referred to as climate elements and include
73
- variables such as water temperature and air pressure.
50
+ The CMethods class serves a collection of bias correction procedures to adjust
51
+ time-series of climate data.
52
+
53
+ The following bias correction techniques are available:
54
+ Scaling-based techniques:
55
+ * Linear Scaling :func:`cmethods.CMethods.linear_scaling`
56
+ * Variance Scaling :func:`cmethods.CMethods.variance_scaling`
57
+ * Delta (change) Method :func:`cmethods.CMethods.delta_method`
58
+
59
+ Distribution-based techniques:
60
+ * Quantile Mapping :func:`cmethods.CMethods.quantile_mapping`
61
+ * Detrended Quantile Mapping :func:`cmethods.CMethods.detrended_quantile_mapping`
62
+ * Quantile Delta Mapping :func:`cmethods.CMethods.quantile_delta_mapping`
63
+
64
+ Except for the Variance Scaling all methods can be applied on both, stochastic and non-stochastic
65
+ variables. The Variance Scaling can only be applied on stochastic climate variables.
66
+
67
+ - Non-stochastic climate variables are those that can be predicted with relative certainty based
68
+ on factors such as location, elevation, and season. Examples of non-stochastic climate variables
69
+ include air temperature, air pressure, and solar radiation.
70
+
71
+ - Stochastic climate variables, on the other hand, are those that exhibit a high degree of
72
+ variability and unpredictability, making them difficult to forecast accurately.
73
+ Precipitation is an example of a stochastic climate variable because it can vary greatly in timing,
74
+ intensity, and location due to complex atmospheric and meteorological processes.
74
75
"""
75
76
76
77
SCALING_METHODS = ["linear_scaling" , "variance_scaling" , "delta_method" ]
@@ -397,10 +398,10 @@ def linear_scaling(
397
398
398
399
**Additive**:
399
400
400
- In Linear Scaling, the long-term monthly mean (:math:`\mu_m`) of the modeled data :math:`T_ {sim,h}` is subtracted
401
- from the long-term monthly mean of the reference data :math:`T_ {obs,h}` at time step :math:`i`.
402
- This difference in month-dependent long-term mean is than added to the long-term monthly mean for time step :math:`i`,
403
- in the time-series that is to be adjusted (:math:`T_ {sim,p}`).
401
+ In Linear Scaling, the long-term monthly mean (:math:`\mu_m`) of the modeled data :math:`X_ {sim,h}` is subtracted
402
+ from the long-term monthly mean of the reference data :math:`X_ {obs,h}` at time step :math:`i`.
403
+ This difference in month-dependent long-term mean is than added to the value of time step :math:`i`,
404
+ in the time-series that is to be adjusted (:math:`X_ {sim,p}`).
404
405
405
406
.. math::
406
407
@@ -504,7 +505,7 @@ def variance_scaling(
504
505
of the Variance Scaling approach are shown:
505
506
506
507
**(1)** First, the modeled data of the control and scenario period must be bias-corrected using
507
- the Linear Scaling technique. This corrects the deviation in the mean.
508
+ the additive linear scaling technique. This adjusts the deviation in the mean.
508
509
509
510
.. math::
510
511
0 commit comments