| 1 | = PDAFomi_set_domainsize = |
| 2 | |
| 3 | This page documents the routine `PDAFomi_set_domainsize` of PDAF. The routine was introduced by PDAF version 2.3.1. |
| 4 | |
| 5 | The routine allocates and fills thisobs%domainsize. 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%domainsize' see the [wiki:OMI_observation_modules documentation of OMI observation modules]. |
| 8 | |
| 9 | The interface is: |
| 10 | {{{ |
| 11 | SUBROUTINE PDAFomi_set_domainsize(thisobs, ncoord, domainsize) |
| 12 | |
| 13 | TYPE(obs_f), INTENT(inout) :: thisobs ! Observation type |
| 14 | INTEGER, INTENT(in) :: ncoord ! number of dimensions used for distance calculation |
| 15 | REAL, INTENT(in) :: domainsize(ncoord) ! Array of domain sizes |
| 16 | }}} |
| 17 | |
| 18 | '''Note: ''' |
| 19 | * When using Fortran, one can also initialize thisobs%domainsize directly |