pyPDAF.PDAF.gather_obs_f2_flex

pyPDAF.PDAF.gather_obs_f2_flex()

Gather full observation coordinates from processor local observation coordinates without PDAF-internal info.

In the local filters (LESKTF, LETKF, LSEIK, LNETF) this function returns the full observation coordinates from process-local observation coordinates.

This function has a similar functionality as pyPDAF.PDAF.gather_obs_f2(), but it does not depend on PDAF-internal observation dimension information, which is specified once pyPDAF.PDAF.gather_dim_obs_f() is executed.

This function can also be used as a generic function to gather any 2D arrays where the second dimension should be concatenated.

Parameters:
  • dim_obs_p (int) – PE-local observation dimension

  • dim_obs_f (int) – Full observation dimension

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

  • nrows (int) – Number of rows in array

Returns:

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

  • status (int) – Status flag: (0) no error