pyPDAF.PDAF.gather_dim_obs_f¶
- pyPDAF.PDAF.gather_dim_obs_f()¶
Gathers the dimension of observation vector across multiple local domains/filter processors.
This function is typically used in the user-supplied function of
py__init_dim_obs_f_pdaf()
when OMI functionality is not used. Otherwise, one can usepyPDAF.PDAF.omi_gather_obs()
.- This function does two things:
Receiving observation dimension on each local process and allocate arrays for observation vectors.
Gather the total dimension of observation across local process
The second functionality is used for domain localised filters when local domains are distributed in different processors. This means \(npes_filter > 0\). This function must be used before
pyPDAF.PDAF.gather_obs_f()
orpyPDAF.PDAF.gather_obs_f2()
.- Parameters:
dim_obs_p (int) – PE-local observation dimension
- Returns:
dim_obs_f – Full observation dimension
- Return type:
int