| | 1 | = PDAFomi_set_debug_flag = |
| | 2 | |
| | 3 | This page documents the routine `PDAFomi_set_debug_flag` of PDAF. |
| | 4 | |
| | 5 | The routine activates the debugging output of PDAF-OMI. It can be called, e.g. in `init_dim_obs_pdafomi` to active the debugging output for the whole analysis, or in `init_dim_obs_l_pdafomi` to activate debugging output for a single local analysis domain of a domain-localized filter (i.e. LESTKF/LETKF/LNETF/LSEIK). |
| | 6 | |
| | 7 | || Detailed information on how to use and interpret the debugging output is provided on the [wiki:OMI_debugging documention of the PDAF-OMI debugging information].|| |
| | 8 | |
| | 9 | The interface is the following: |
| | 10 | {{{ |
| | 11 | SUBROUTINE PDAFomi_set_debug_flag(debugval) |
| | 12 | |
| | 13 | INTEGER, INTENT(in) :: debugval ! Value for debugging flag |
| | 14 | ! (0): deactivate debug output |
| | 15 | ! (>0): activate debug output |
| | 16 | }}} |
| | 17 | |
| | 18 | Notes: |
| | 19 | * The routine is provied through the module 'PDAFomi'. Thus one has to use-include the routine by |
| | 20 | {{{ |
| | 21 | USE PDAFomi, only: PDAFomi_set_debug_flag |
| | 22 | }}} |
| | 23 | * For the localized filters, we recommend to activate the debugging only for single local analysis domain. Thus one can select some value of `domain_p`, e.g. in `init_dim_obs_l_pdafomi` and then call `PDAFomiset_debug_flag` using `debugval=domain_p` |
| | 24 | * The debug output is active until one calls `PDAFomi_set_debug_flag(0)`. |
| | 25 | * With parallelization one can active the debug output for a single MPI task |
| | 26 | * The debug output writes out the complete list of obervation (e.g. for a local analysis domain). As such, it can be useful to reduce the number of assimilated observations during the debugging to shorten the outputs |