pyPDAF.PDAF.iau_set_pointer

pyPDAF.PDAF.iau_set_pointer(self, /)

Set a pointer to the ensemble increments array.

This gives direct access to the increment array, e.g. to analyze it or to write it into a file for restarting.

If it is called by each single process, but it only provides a pointer to the process-local part of the increment array.

For domain-decomposed models, this array only includes the state vector part for the process domain. In addition, it usually only contains a sub-ensemble unless one uses the flexible parallelization mode with a single model task. For the fully parallel mode, the process(es) of a single model task only hold a single ensemble state.

Returns:

  • iau_ptr_np (np.ndarray) – The increment array (process-local part)

  • flag (int) – Status flag