|  | 1 | = PDAF_assimilate_lestkf_si = | 
          
            |  | 2 |  | 
          
            |  | 3 | This page documents the routine `PDAF_assimilate_lestkf_si` of PDAF. | 
          
            |  | 4 |  | 
          
            |  | 5 | The routine is typically called in `assimilate_pdaf` or directly in the model code. | 
          
            |  | 6 |  | 
          
            |  | 7 | 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. | 
          
            |  | 8 |  | 
          
            |  | 9 | The interface when using the LESTKF is the following: | 
          
            |  | 10 | {{{ | 
          
            |  | 11 | SUBROUTINE PDAF_assimilate_lestkf_si(status_pdaf) | 
          
            |  | 12 | }}} | 
          
            |  | 13 | with the following arguments: | 
          
            |  | 14 | * `status_pdaf`: The integer status flag. It is zero, if `PDAF_assimilate_lestkf` is exited without errors. | 
          
            |  | 15 |  | 
          
            |  | 16 | The routine calls several user-supplied call-back routines. They are described on the page on [ImplementAnalysislestkf implementing the analysis step of the LESTKF algorithm]. | 
          
            |  | 17 |  | 
          
            |  | 18 | It is recommended that the value of `status_pdaf` is checked in the program after PDAF_assimilate_lestkf is executed. Only if its value is 0 the initialization was successful. |