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 pyPDAF.PDAF.gather_dim_obs_f which defines the process-local observation dimensions. Further, the related routine 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[tuple[nrows, dimobs_p], np.float64]) –
PE-local array
The 1st-th dimension nrows is Number of rows in array The 2nd-th dimension dimobs_p is dimensions of PE local obs
dimobs_f (int) – dimension of full gathered obs
- Returns:
coords_f (ndarray[tuple[nrows, dimobs_f], np.float64]) – Full gathered array
The 1st-th dimension nrows is Number of rows in array The 2nd-th 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