| 1 | = PDAF_assimilate_prepost_si = |
| 2 | |
| 3 | This page documents the routine `PDAF_assimilate_prepost_si` of PDAF. |
| 4 | |
| 5 | The routine is typically called in `assimilate_pdaf` or directly in the model code. |
| 6 | |
| 7 | The routine `PDAF_assimilate_prepost_si` is an alternative to the routines `PDAF_assimilate_X_si` where 'X' is the name of a filter method. |
| 8 | The routine is used in the 'fully-parallel' implementation variant of PDAF. The purpose of `PDAF_assimilate_prepost_si` is to collect the ensemble information on the processes usually doing the filter analysis. However, in the case of `PDAF_assimilate_prepost_si`, no filter analysis step is performed when the ensemble integration is complete, but only the user-supplied pre/poststep routine is called to allow the user to analyze the forecast ensemble. |
| 9 | |
| 10 | The general aspects of the filter specific routines `PDAF_assimilate_*` are described on the page [ModifyModelforEnsembleIntegration Modification of the model code for the ensemble integration] and its sub-page on [InsertAnalysisStep inserting the analysis step]. The routine is used in the fully-parallel implementation variant of the data assimilation system. When the 'flexible' implementation variant, the routines `PDAF_put_state_*' are used. |
| 11 | |
| 12 | The interface is the following: |
| 13 | {{{ |
| 14 | SUBROUTINE PDAF_assimilate_prepost_si(status_pdaf) |
| 15 | }}} |
| 16 | with the following arguments: |
| 17 | * `status_pdaf`: The integer status flag. It is zero, if `PDAF_assimilate_prepostep_si` is exited without errors. |
| 18 | |
| 19 | The routine calls two user-supplied call-back routines. They are described, for example, on the page on [ImplementAnalysisestkf implementing the analysis step of the ESTKF algorithm]. |
| 20 | |
| 21 | It is recommended that the value of `status_pdaf` is checked in the program after `PDAF_assimilate_prepost_si` is executed. Only if its value is 0 the execution was successful. |