Changes between Version 8 and Version 9 of OfflineInitPdaf


Ignore:
Timestamp:
May 18, 2025, 8:04:34 PM (5 hours ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OfflineInitPdaf

    v8 v9  
    1 = Offline Mode: Initialization of PDAF and the ensemble by PDAF_init =
     1= Offline Mode: Initializing PDAF and the ensemble by PDAF_init =
    22
    33{{{
     
    66<h4>Offline Mode: Implementation Guide</h4>
    77<ol><li><a href="OfflineImplementationGuide">Main page</a></li>
    8 <li><a href="OfflineAdaptParallelization">Adaptation of the parallelization</a></li>
    9 <li>Initialization of PDAF</li>
    10 <li><a href="OfflineImplementationofAnalysisStep">Implementation of the analysis step</a></li>
     8<li><a href="OfflineAdaptParallelization">Initializing the parallelization</a></li>
     9<li>Initializing PDAF</li>
     10<li><a href="OfflineImplementationofAnalysisStep">Implementing the analysis step</a></li>
    1111<li><a href="OfflineAddingMemoryandTimingInformation">Memory and timing information</a></li>
    1212</ol>
     
    1818== Overview ==
    1919
    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.
     20The 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
     22After 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.
    2123
    2224`PDAF_init` itself calls a user-supplied routine to initialize the ensemble of model states through its interface. In the example, this is the routine in the file `init_ens_offline.F90`.