wiki:PDAF_get_obsmemberid

Version 1 (modified by lnerger, 10 years ago) (diff)

--

PDAF_get_obsmemberid

This page documents the routine PDAF_get_obsmemberid of PDAF.

The routine returns the value of the ensemble member ID for the application of the observation operator. The routine can be called in the user-supplied routine obs_op_pdaf. In the analysis step of the ensemble filters, the observation operator has to be applied to the ensemble mean, but also to all ensemble states. For situation where, e.g. one reads the observed state vector from a file, one needs to know the ensemble member index for which obs_op_pdaf is called. This information is provided by PDAF_get_obsmemberid.

The interface is the following:

  SUBROUTINE PDAF_get_obsmemberid(memberid)

with the following argument:

  • obsmemberid: On output the integer index of the ensemble member that is processed by the model task that performs the call.

Note:

  • When obs_op_pdaf is called for the ensemble mean state it is obsmemberid=0