pyPDAF.PDAF.gather_obs_f2

pyPDAF.PDAF.gather_obs_f2()

In the local filters (LESKTF, LETKF, LSEIK, LNETF) this function returns the full observation coordinates from process-local observation coordinates. The function depends on func:pyPDAF.PDAF.gather_dim_obs_f which defines the process-local observation dimensions. Further, the related routine func:pyPDAF.PDAF.gather_obs_f is used to gather the associated observation vectors.

The routine is typically used in the routines py__init_dim_obs_f_pdaf if the analysis step of the local filters is parallelized.

Parameters:
  • coords_p (ndarray[np.float64, ndim=2]) – PE-local array Array shape: (nrows, dimobs_p)

  • nrows (int) – Number of rows in array

  • dimobs_f (int) – Full observation dimension, dimension of coords_f

Returns:

  • coords_f (ndarray[np.float64, ndim=2]) – Full gathered array Array shape: (nrows, dimobs_f)

  • status (int) – Status flag: