pyPDAF.PDAF.gather_obs_f

pyPDAF.PDAF.gather_obs_f()

In the local filters (LESKTF, LETKF, LSEIK, LNETF) this function returns the total observation vector from process-local observations. The function depends on pyPDAF.PDAF.gather_dim_obs_f which defines the process-local observation dimensions. Further, the related routine pyPDAF.PDAF.gather_obs_f2 is used to gather the associated 2D observation coordinates

Parameters:
  • obs_p (ndarray[tuple[dimobs_p], np.float64]) –

    PE-local vector

    The array dimension dimobs_p is dimensions of PE local obs

  • dimobs_f (int) – dimension of full gathered obs

Returns:

  • obs_f (ndarray[tuple[dimobs_f], np.float64]) – Full gathered vector

    The array dimension dimobs_f is dimension of full gathered obs

  • status (int) – Status flag: (0) no error; (1) when PDAF_gather_dim_obs_f not executed before