| 1 | = PDAFomi_put_state_generate_obs_si = |
| 2 | |
| 3 | This page documents the routine `PDAFomi_put_state_generate_obs_si` of PDAF. It is used with [wiki:PDAF_OMI_Overview PDAF_omi]. |
| 4 | |
| 5 | `PDAFomi_put_state_generate_obs_si` is the variant of [wiki:PDAFomi_put_state_generate_obs PDAFomi_put_state_generate_obs] 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 routines `PDAFomi_put_state_*` are used with the 'flexible' implementation variant of PDAF. |
| 10 | The general aspects of the filter specific routines `PDAFomi_put_state_*` 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]. For the 'fully parallel' implementation variant the alternative routine `PDAFomi_generate_obs_si` is used. |
| 11 | |
| 12 | The interface is the following: |
| 13 | {{{ |
| 14 | SUBROUTINE PDAFomi_put_state_generate_obs_si(status_pdaf) |
| 15 | }}} |
| 16 | with the following arguments: |
| 17 | * `status_pdaf`: The integer status flag. It is 0, if `PDAFomi_put_state_generate_obs_si` is exited without errors. |
| 18 | |
| 19 | |
| 20 | The user-supplied call-back routines are described on the [ImplementGenerateObs page on implementing the generation of synthetic observations]. |
| 21 | |
| 22 | It is recommended that the value of `status_pdaf` is checked in the program after `PDAFomi_put_state_generate_obs_si` is executed. Only if its value is 0 the initialization was successful. |