|
92 | 92 | >>> variable = "tas" # temperatures
|
93 | 93 | >>> result = adjust(
|
94 | 94 | ... method="linear_scaling",
|
95 |
| - ... obs=obs[variable], |
| 95 | + ... obs=obsh[variable], |
96 | 96 | ... simh=simh[variable],
|
97 | 97 | ... simp=simp[variable],
|
98 | 98 | ... kind="+",
|
@@ -173,7 +173,7 @@ enables the adjustment of the standard deviation in the following step.
|
173 | 173 | >>> variable = "tas" # temperatures
|
174 | 174 | >>> result = adjust(
|
175 | 175 | ... method="variance_scaling",
|
176 |
| - ... obs=obs[variable], |
| 176 | + ... obs=obsh[variable], |
177 | 177 | ... simh=simh[variable],
|
178 | 178 | ... simp=simp[variable],
|
179 | 179 | ... kind="+",
|
@@ -257,7 +257,7 @@ where:
|
257 | 257 | >>> variable = "tas" # temperatures
|
258 | 258 | >>> result = adjust(
|
259 | 259 | ... method="delta_method",
|
260 |
| - ... obs=obs[variable], |
| 260 | + ... obs=obsh[variable], |
261 | 261 | ... simh=simh[variable],
|
262 | 262 | ... simp=simp[variable],
|
263 | 263 | ... kind="+",
|
@@ -340,7 +340,7 @@ In the following the equations of Alex J. Cannon (2015) are shown and explained:
|
340 | 340 | >>> variable = "tas" # temperatures
|
341 | 341 | >>> qm_adjusted = adjust(
|
342 | 342 | ... method="quantile_mapping",
|
343 |
| - ... obs=obs[variable], |
| 343 | + ... obs=obsh[variable], |
344 | 344 | ... simh=simh[variable],
|
345 | 345 | ... simp=simp[variable],
|
346 | 346 | ... n_quantiles=250,
|
@@ -417,7 +417,7 @@ where:
|
417 | 417 | >>> simp = xr.open_dataset("path/to/the_dataset_to_adjust-scenario_period.nc")
|
418 | 418 | >>> variable = "tas" # temperatures
|
419 | 419 | >>> qm_adjusted = detrended_quantile_mapping(
|
420 |
| - ... obs=obs[variable], |
| 420 | + ... obs=obsh[variable], |
421 | 421 | ... simh=simh[variable],
|
422 | 422 | ... simp=simp[variable],
|
423 | 423 | ... n_quantiles=250
|
@@ -520,7 +520,7 @@ following the additive and multiplicative variant are shown.
|
520 | 520 | >>> variable = "tas" # temperatures
|
521 | 521 | >>> qdm_adjusted = adjust(
|
522 | 522 | ... method="quantile_delta_mapping",
|
523 |
| - ... obs=obs[variable], |
| 523 | + ... obs=obsh[variable], |
524 | 524 | ... simh=simh[variable],
|
525 | 525 | ... simp=simp[variable],
|
526 | 526 | ... n_quantiles=250,
|
|
0 commit comments