Skip to content

Commit fa20b0c

Browse files
authored
Update methods.rst
1 parent 471abb3 commit fa20b0c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/methods.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ where:
9292
>>> variable = "tas" # temperatures
9393
>>> result = adjust(
9494
... method="linear_scaling",
95-
... obs=obs[variable],
95+
... obs=obsh[variable],
9696
... simh=simh[variable],
9797
... simp=simp[variable],
9898
... kind="+",
@@ -173,7 +173,7 @@ enables the adjustment of the standard deviation in the following step.
173173
>>> variable = "tas" # temperatures
174174
>>> result = adjust(
175175
... method="variance_scaling",
176-
... obs=obs[variable],
176+
... obs=obsh[variable],
177177
... simh=simh[variable],
178178
... simp=simp[variable],
179179
... kind="+",
@@ -257,7 +257,7 @@ where:
257257
>>> variable = "tas" # temperatures
258258
>>> result = adjust(
259259
... method="delta_method",
260-
... obs=obs[variable],
260+
... obs=obsh[variable],
261261
... simh=simh[variable],
262262
... simp=simp[variable],
263263
... kind="+",
@@ -340,7 +340,7 @@ In the following the equations of Alex J. Cannon (2015) are shown and explained:
340340
>>> variable = "tas" # temperatures
341341
>>> qm_adjusted = adjust(
342342
... method="quantile_mapping",
343-
... obs=obs[variable],
343+
... obs=obsh[variable],
344344
... simh=simh[variable],
345345
... simp=simp[variable],
346346
... n_quantiles=250,
@@ -417,7 +417,7 @@ where:
417417
>>> simp = xr.open_dataset("path/to/the_dataset_to_adjust-scenario_period.nc")
418418
>>> variable = "tas" # temperatures
419419
>>> qm_adjusted = detrended_quantile_mapping(
420-
... obs=obs[variable],
420+
... obs=obsh[variable],
421421
... simh=simh[variable],
422422
... simp=simp[variable],
423423
... n_quantiles=250
@@ -520,7 +520,7 @@ following the additive and multiplicative variant are shown.
520520
>>> variable = "tas" # temperatures
521521
>>> qdm_adjusted = adjust(
522522
... method="quantile_delta_mapping",
523-
... obs=obs[variable],
523+
... obs=obsh[variable],
524524
... simh=simh[variable],
525525
... simp=simp[variable],
526526
... n_quantiles=250,

0 commit comments

Comments
 (0)