climpred.bootstrap.bootstrap_uninitialized_ensemble

climpred.bootstrap.bootstrap_uninitialized_ensemble(hind, 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 hind.lead.size timesteps from historical at same forcing and rearranges them into ensemble and member dimensions.

Parameters
  • hind (xarray object) – hindcast.

  • hist (xarray object) – historical uninitialized.

Returns

uninitialize hindcast with hind.coords.

Return type

uninit_hind (xarray object)