pyPDAF.PDAF.omi_gather_obs¶
- pyPDAF.PDAF.omi_gather_obs()¶
This function is typically called in the user-supplied function py__init_dim_obs_pdaf. This function returns the full observation dimensioin from process-local observations. It also sets the observation vector, its coordinates, and the inverse of the observation variance. This function furtuer sets the localisation radius in OMI.
- Parameters:
i_obs (int) – index of observations
obs_p (ndarray[tuple[dim_obs_p], np.float64]) –
pe-local observation vector
The array dimension dim_obs_p is State dimension
ivar_obs_p (ndarray[tuple[dim_obs_p], np.float64]) –
pe-local inverse observation error variance
The array dimension dim_obs_p is State dimension
ocoord_p (ndarray[tuple[thisobs(i_obs)%ncoord, dim_obs_p], np.float64]) –
pe-local observation coordinates
The 1st-th dimension dim_obs_p is State dimension
cradius (float) – localization radius
- Returns:
dim_obs – Full number of observations
- Return type:
int