Version 2 (modified by 7 days ago) (diff) | ,
---|
PDAFomi_set_disttype
This page documents the routine PDAFomi_set_disttype
of PDAF. The routine was introduced by PDAF version 2.3.1.
The routine sets thisobs%disttype. It avoids to directly initialize elements of the data type 'thisobs' in the code, which can be problematic in some programming languages.
For details on 'use_global_obs' see PDAFomi_additional_functionality
The interface is:
SUBROUTINE PDAFomi_set_disttype(disttype) INTEGER, INTENT(in) :: disttype ! Type of distance calculation
Note:
- When using Fortran, one can also initialize thisobs%disttype directly
- To be able to use
use_global_obs=0
one has to intialize the process domain limites usingPDAFomi_set_domain_limits
orPDAFomi_set_domains_limits_unstr
; see PDAFomi_additional_functionality