- climpred.bootstrap.bootstrap_uninit_pm_ensemble_from_control_cftime(init_pm, control)#
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.
Needed for block bootstrapping a metric in perfect-model framework. Takes random segments of length
block_lengthfrom control based on
dayofyear(and therefore assumes a constant climate control simulation) and rearranges them into ensemble and member dimensions.
init_pm (xr.Dataset) – initialized ensemble simulation.
control (xr.Dataset) – control simulation.
uninit_pm (xr.Dataset) – uninitialized ensemble generated from control run.