| 1 | = PDAF_get_obsmemberid = |
| 2 | |
| 3 | This page documents the routine `PDAF_get_obsmemberid` of PDAF. |
| 4 | |
| 5 | 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`. |
| 6 | |
| 7 | The interface is the following: |
| 8 | {{{ |
| 9 | SUBROUTINE PDAF_get_obsmemberid(memberid) |
| 10 | }}} |
| 11 | with the following argument: |
| 12 | * obsmemberid: On output the integer index of the ensemble member that is processed by the model task that performs the call. |
| 13 | |
| 14 | Note: |
| 15 | * When `obs_op_pdaf` is called for the ensemble mean state it is `obsmemberid=0` |