Changes between Version 2 and Version 3 of Porting_to_OMI_PDAF3


Ignore:
Timestamp:
Jun 3, 2025, 2:43:36 PM (3 days ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Porting_to_OMI_PDAF3

    v2 v3  
    29291.      In mod_assimilation declare an array `coords_l` for the coordinates of the local analysis domain. Then fill `coords_l` in `init_dim_l_pdaf`. These coordinates are later used in `init_dim_obs_l_pdafomi`.
    30301.      Copy the template file `callback_obs_pdafomi.F90` to your code directory.
    31 1.      In `assimilate_pdaf` replace the call(s) to PDAF_put_state_X or PDAF_assimilate_X by the calls to PDAFomi_put_state_local/global or PDAFomi_assimilate_local/global (You can copy this from the template files in templates/)
    32 1.      In `assimilate_pdaf` further replace the declaration of the 'EXTERNAL' subroutines following the template (several of the routines are no longer present with PDAF-OMI, while those that remain now have the suffix `_pdafomi` (like init_dim_obs_pdafomi)
     311.      In `assimilate_pdaf` replace the call(s) to PDAF_assimilate_X, PDAF_assim_offline_X, or PDAF_put_state_X by the calls to PDAF3_assimilate/_local/global, PDAF3_assim_offline/_local/global pr PDAF3_put_state/_local/global  (You can copy `assimilate_pdaf` from the template files in templates/)
     321.      In `assimilate_pdaf` further replace the declaration of the 'EXTERNAL' subroutines following the template (several of the routines are no longer present with PDAF-OMI, while those that remain now have the suffix `_pdafomi` (init_dim_obs_pdafomi, obs_op_pdafomi, init_dim_obs_l_pdafomi)
    33331.      For each observation type implement an obs-module as described in the [wiki:OMI_observation_modules_PDAF3 documention on the observation modules]
    34 1.      Add a call to `deallocate_obs_pdafomi()` are the end of your routine `prepoststep`.
    35341.      Adapt the compilation to also compile `callback_obs_pdafomi.F90` and the obs-modules.
    36351.      Modify the compilation such that the include-directory of your PDAF installation is defined as an include directory (i.e. specify -IPDAF_ROOT/include where PDAF_ROOT is the root directory of your PDAF installation.)