pyPDAF.PDAF.omi_init_obserr_f_cb

pyPDAF.PDAF.omi_init_obserr_f_cb()

This is an internal PDAF-OMI function that is used as a call-back function to construct a full observation error covariance matrix used only in stochastic EnKF. This could be used to modify the observation variance when OMI is used with pyPDAF.PDAF.assimilate_xxx instead of pyPDAF.PDAF.omi_assimilate_xxx.

Parameters:
  • step (int) – Current time step

  • dim_obs_f (int) – Full dimension of observation vector

  • obs_f (ndarray[tuple[dim_obs_f], np.float64]) –

    Full observation vector

    The array dimension dim_obs_f is Full dimension of observation vector.

  • obserr_f (ndarray[tuple[dim_obs_f], np.float64]) –

    Full observation error stddev

    The array dimension dim_obs_f is Full dimension of observation vector.

Returns:

obserr_f – Full observation error stddev

The array dimension dim_obs_f is Full dimension of observation vector

Return type:

ndarray[tuple[dim_obs_f], np.float64]