20 | | After the initialization of the parallelization for the assimilation program, the initialization of PDAF has to be implemented. Internally to PDAF, the initialization is performed by the routine `PDAF_init`. Typically, we collect the initialization of all variables required for the call to `PDAF_init` into a single subroutine, which yields a clean code In the example in `tutorial/offline_2D_serial` the routine in the file `init_pdaf_offline.F90` shows this strategy. The file `init_pdaf.F90` in `templates/offline_omi` provides a commented template for this routine, which can be used as the basis of the implementation. |
| 20 | The PDAF release provides example code for the offline mode in `tutorial/offline_2D_parallel`. We refer to this code to use it as a basis. |
| 21 | |
| 22 | After initializing the parallelization for the assimilation program, the PDAF has to be initialized. Internally to PDAF, the initialization is done by the routine `PDAF_init`. In the tutorial code in `tutorial/offline_2D_parallel`, we collect the initialization of all variables required for the call to `PDAF_init` into the single subroutine `init_pdaf_offline`, which yields a clean code. The file `init_pdaf_offline.F90` in `templates/offline` provides a commented template for this routine, which can be used as the basis of the implementation. |