| 1 | = PDAF_put_state_lenkf_si = |
| 2 | |
| 3 | This page documents the routine `PDAF_put_state_lenkf_si` of PDAF. |
| 4 | |
| 5 | `PDAF_assimilate_lenkf_si` is the variant of [wiki:PDAF_put_state_lenkf PDAF_put_state_lenkf] with the [PdafSimplifiedInterface simplified interface]. The difference between both routines is that in the simplified interface the names of the call-back subroutines are not specified. Instead the routine assumes that the call-back routines have a standard name as specified at the end of this page. |
| 6 | |
| 7 | The routine is typically called in `assimilate_pdaf` or directly in the model code. |
| 8 | |
| 9 | 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. |
| 10 | |
| 11 | The interface when using the localized EnKF is the following: |
| 12 | {{{ |
| 13 | SUBROUTINE PDAF_put_state_lenkf_si(status_pdaf) |
| 14 | }}} |
| 15 | with the following arguments: |
| 16 | * `status_pdaf`: The integer status flag. It is zero, if `PDAF_put_state_enkf_si` is exited without errors. |
| 17 | |
| 18 | The routine calls several user-supplied call-back routines. They are described on the page on [ImplementAnalysislenkf implementing the analysis step of the localized EnKF]. |
| 19 | |
| 20 | It is recommended that the value of `status_pdaf` is checked in the program after PDAF_assimilate_lenkf_si is executed. Only if its value is 0 the initialization was successful. |