pyPDAF.PDAFomi.gather_obsstate

pyPDAF.PDAFomi.gather_obsstate()

This function is used to implement custom observation operators.

This function is used inside a custom observation operator. See also relevant PDAF wiki page

Parameters:
  • i_obs (int) – index of observations

  • obsstate_p (ndarray[tuple[thisobs(i_obs)%dim_obs_p, ...], np.float64]) – Vector of process-local observed state

  • obsstate_f (ndarray[tuple[nobs_f_all, ...], np.float64]) – Full observed vector for all types The array dimension nobs_f_all is dimension of the observation

Returns:

obsstate_f – Full observed vector for all types

The array dimension nobs_f_all is dimension of the observation

Return type:

ndarray[tuple[nobs_f_all, …], np.float64]