pyPDAF.PDAFomi.set_dim_obs_l

pyPDAF.PDAFomi.set_dim_obs_l(i_obs: int, cnt_obs_l_all: int, cnt_obs_l: int, mode: int) Tuple[int, int]

Store local observation counts for OMI local-initialization workflows.

This routine is an alternative entry point for workflows that compute the number of local observations outside the standard pyPDAF.PDAFomi.init_dim_obs_l() call. It stores both the count for a single observation type and the accumulated count over all local observation types in PDAF-OMI.

See more details in relevant PDAF wiki page

Parameters:
  • i_obs (int) – Index of the observation type.

  • cnt_obs_l_all (int) – Local observation count accumulated over all observation types.

  • cnt_obs_l (int) – Local observation count for the observation type i_obs.

  • mode (int) – Local-observation processing mode passed to PDAF-OMI.

Returns:

  • cnt_obs_l_all (int) – Updated local observation count accumulated over all observation types.

  • cnt_obs_l (int) – Updated local observation count for observation type i_obs.