climpred.bootstrap.bootstrap_uninitialized_ensemble

climpred.bootstrap.bootstrap_uninitialized_ensemble(initialized, hist)[source]

Resample uninitialized hindcast from historical members.

Note

Needed for bootstrapping confidence intervals and p_values of a metric in the hindcast framework. Takes initialized.lead.size timesteps from historical at same forcing and rearranges them into ensemble and member dimensions.

Parameters
  • initialized (xr.Dataset) – hindcast.

  • hist (xr.Dataset) – historical uninitialized.

Returns

uninit_initialized (xr.Dataset) – uninitialize hindcast with initialized.coords.