pyPDAF.PDAF.omi_g2l_obs_cb¶
- pyPDAF.PDAF.omi_g2l_obs_cb()¶
This function is an internal PDAF-OMI function that is used as a call-back function to convert between global and local observation vectors in domain localisation.
- Parameters:
domain_p (int) – Index of current local analysis domain
step (int) – Current time step
dim_obs_f (int) – Dimension of full PE-local observation vector
dim_obs_l (int) – Dimension of local observation vector
ostate_f (ndarray[tuple[dim_obs_f], np.float64]) –
Full PE-local obs.ervation vector
The array dimension dim_obs_f is Dimension of full PE-local observation vector.
ostate_l (ndarray[tuple[dim_obs_l], np.float64]) –
Observation vector on local domain
The array dimension dim_obs_l is Dimension of local observation vector.
- Returns:
ostate_l – Observation vector on local domain
The array dimension dim_obs_l is Dimension of local observation vector
- Return type:
ndarray[tuple[dim_obs_l], np.float64]