pyPDAF.PDAF.omi_init_obsvar_cb

pyPDAF.PDAF.omi_init_obsvar_cb()

This function is an internal PDAF function that is used as a call-back function to initialise the observation error variance. 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_p (int) – PE-local dimension of observation vector

  • obs_p (ndarray[tuple[dim_obs_p], np.float64]) –

    PE-local observation vector

    The array dimension dim_obs_p is PE-local dimension of observation vector

  • meanvar (float) – Mean observation error variance

Returns:

meanvar – Mean observation error variance

Return type:

float