Changes between Version 3 and Version 4 of PDAFomi_set_searchtype
- Timestamp:
- Apr 17, 2026, 12:14:41 PM (5 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PDAFomi_set_searchtype
v3 v4 17 17 ! 0: Search routine of PDAF 3.0 18 18 ! 1: Optimized search code 19 ! 2: Optimized search code with only one search loop 19 ! 2: Optimized search code with only one search loop (default) 20 20 ! 11: Search type using sorted observations 21 21 ! 12: Search type using sorted observations with only one search loop … … 24 24 ! and only one search loop 25 25 !< (2, 12 and 22 need more memory as arrays are allocated with full observation dimension) 26 INTEGER, INTENT(in) :: sortdir !< Sorted doordinate direction 26 INTEGER, INTENT(in) :: sortdir !< Sorted doordinate direction (default=2) 27 27 }}} 28 28 … … 33 33 * In experiments, we saw that the search performance of the different types depends on the distribution of the observations. Generally type 0 is slowest, but the performance of the other cases is case-specific. 34 34 * search types 11-22 can give slightly different assimilation results compared 0-2, because the sorting of observations change the order of computations. 35 * Usually, `sortdir` should be the highest index of coordinate direction along which a large variability of coordinates exist, e.g. the latitude in geographic coordinates 35 * Usually, `sortdir` should be the highest index of coordinate direction along which a large variability of coordinates exist, e.g. the latitude in geographic coordinates; However, depending on the specific case a different direction might lead to a better performance of the search. 36 36 * `sortdir` cannot be a direction with periodicity (e.g. longitude in global Earth models is periodic and not a proper choice)
