| | 1 | = PDAFomi_check_error = |
| | 2 | |
| | 3 | This page documents the routine `PDAFomi_check_error` of PDAF. The routine was introduced by PDAF version 2.2. |
| | 4 | |
| | 5 | The routine returns the value of the PDAF-OMI internal error flag. Since PDAF-OMI executes internal routines in which errors could occur due to an inconsistent configuration of the observations a directly returning an error flag as a subroutine argument is not always possible. For this reasin there is this separate routine to check for the error flag. |
| | 6 | |
| | 7 | The interface is: |
| | 8 | {{{ |
| | 9 | SUBROUTINE PDAFomi_check_error(ierror) |
| | 10 | |
| | 11 | INTEGER, INTENT(in) :: ierror ! Value of PDAF-OMI error flag |
| | 12 | ! (0): no error |
| | 13 | ! (>0): an error occured - check screen outputs |
| | 14 | }}} |
| | 15 | |
| | 16 | '''Notes: ''' |
| | 17 | * The routine is provied through the module 'PDAFomi'. Thus one has to use-include the routine by |
| | 18 | {{{ |
| | 19 | USE PDAFomi, only: PDAFomi_set_debug_flag |
| | 20 | }}} |
| | 21 | * The errors that are checked by PDAF-OMI relate to the configuration of the obserations, e.g. it is checked whether some dimensions are consistent. |
| | 22 | * If an error occurred PDAF-OMI also prints an error message, but it does not stop the program. |