climpred.bootstrap.bootstrap_uninit_pm_ensemble_from_control_cftime¶
- climpred.bootstrap.bootstrap_uninit_pm_ensemble_from_control_cftime(init_pm, control)[source]¶
Create a pseudo-ensemble from control run.
Bootstrap random numbers for years to construct an uninitialized ensemble from. This assumes a continous control simulation without gaps.
Note
Needed for block bootstrapping a metric in perfect-model framework. Takes random segments of length
block_length
from control based ondayofyear
(and therefore assumes a constant climate control simulation) and rearranges them into ensemble and member dimensions.- Parameters
init_pm (xarray object) – initialized ensemble simulation.
control (xarray object) – control simulation.
- Returns
uninitialized ensemble generated from control run.
- Return type
uninit_pm (xarray object)