| 1 | = PDAFomi_set_name = |
| 2 | |
| 3 | This page documents the routine `PDAFomi_set_name` of PDAF. The routine will be part of the final release of PDAF V3.0. |
| 4 | |
| 5 | The routine sets `thisobs%name`. It avoids to directly initialize elements of the data type `thisobs` in the code, which can be problematic in some programming languages. |
| 6 | |
| 7 | For details on `thisobs%name` see the [wiki:OMI_observation_modules_PDAF3 documentation of OMI observation modules]. |
| 8 | |
| 9 | The interface is: |
| 10 | {{{ |
| 11 | SUBROUTINE PDAFomi_set_name(thisobs, obsname) |
| 12 | |
| 13 | TYPE(obs_f), INTENT(inout) :: thisobs ! Observation type |
| 14 | CHARACTER(len=20), INTENT(in) :: obsname ! Name of observation type |
| 15 | }}} |
| 16 | |
| 17 | '''Note: ''' |
| 18 | * When using Fortran, one can also initialize `thisobs%name` directly |