Changes between Version 6 and Version 7 of PDAF_debugging


Ignore:
Timestamp:
Feb 20, 2023, 5:54:54 PM (14 months ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PDAF_debugging

    v6 v7  
    7272
    7373
    74 == Activating Debugging Output ==
    75 
    76 The debug output prints information on configuration parameter values inside PDAF, dimensions and the values of actual arrays inside PDAF. Here, it depends for which routine or part of a data assimilation method the debugging is activated. We discuss a few options here for ensemble filters based on output obtain when activating debug output in the case `/tutorial/offline_2D_serial`. In addition, we discuss the debug output obtained for 3D-Var based on output obtain when activating debug output in the case `/tutorial/3dvar/offline_2D_serial`
     74== Understanding the Debugging Output ==
     75
     76The debug output prints information on configuration parameter values inside PDAF, dimensions and the values of actual arrays inside PDAF. Here, it depends for which routine or part of a data assimilation method the debugging is activated. We discuss a few options here for ensemble filters based on output obtain when activating debug output in the case `/tutorial/offline_2D_serial`. In addition, we discuss the debug output obtained for 3D-Var based on output obtain when activating debug output in the case `/tutorial/3dvar/offline_2D_serial`. WE discuss the debug output for an implementation using PDAF-OMI. However, its use is analogous for the case of the implementation not using PDAF-OMI.
    7777
    7878Generally all debug output lines start with `PDAF-debug`, thus one can use `grep PDAF-debug` when running the data assimilation or on a text file containing the output to see only the debug output. Each line also shows the name of the PDAF routine from which the debug output is written.
     
    8080Here we discuss some aspects of the debug output from different typical cases:
    8181- [wiki:PDAF_debugging#DebugoutputfromPDAF_init Debug output from PDAF_init]
    82 - [wiki:PDAF_debugging#DebugoutputfromPDAFomi_assimilate_global Debug output from PDAFomi_assimilate_global]
    83 - [wiki:PDAF_debugging#DebugoutputfromPDAFomi_assimilate_local Debug output from PDAFomi_assimilate_local]
     82- [wiki:PDAF_debugging#Debugoutputforglobalensemblefilters Debug output from for global ensemble filters]
     83- [wiki:PDAF_debugging#Debugoutputforlocalensemblefilters Debug output from for local ensemble filters]
    8484- [wiki:PDAF_debugging#Debugoutputfor3D-Var Debug output for 3D-Var]
    8585
     
    110110
    111111
    112 === Debug output from `PDAFomi_assimilate_global` ===
     112=== Debug output for global ensemble filters ===
    113113
    114114To demonstrate the typical output from a global ensemble Kalman filter we use the debug output from the ESTKF.
     
    179179
    180180
    181 === Debug output from `PDAFomi_assimilate_local` ===
     181=== Debug output for local ensemble filters ===
    182182
    183183To demonstrate the typical output from a local ensemble Kalman filter we use the debug output from the LESTKF. In this case we do not activate the PDAF debug output in assimilation_pdaf_offline.F90. Instead we activate the debug output in `init_dim_l_pdaf` for domain_p=4 as shown in the example on activating debug output above (we omit the check for `mype_filter` since the example is run using a single process). Then we run `./PDAF_offline -dim_ens 3 -filtertype 7 -cradius 4|grep debug`. In this case we obtain 40 lines of output.