| | 1 | = PDAF_assim_flag = |
| | 2 | |
| | 3 | This page documents the function `PDAF_assim_flag` of PDAF. This routine was added with PDAF V3.1 as an alternative to the routine [wiki:PDAF_get_assim_flag]. |
| | 4 | |
| | 5 | The function returns the information whether in the last call to a routine PDAF_assimilate_X (with X being any of the filterts) observations were assimilated, i.e. an analysis step was computed. It can be called during the ensemble integration, if a program needs this information, e.g. if a model uses leafrog time stepping and one wishes to do an Euler time step directly after the analysis step. |
| | 6 | |
| | 7 | The function is typically called in the model code during the ensemble integration. It only works in the online mode of PDAF. |
| | 8 | |
| | 9 | The interface is the following: |
| | 10 | {{{ |
| | 11 | INTEGER FUNCTION PDAF_assim_flag() |
| | 12 | }}} |
| | 13 | the function returns the value: |
| | 14 | * `assim_flag` : (1) if an analysis step was computed, (0) otherwise. |