| | 169 | == Optimizing the local observation search == |
| | 170 | |
| | 171 | With PDAF V3.1 we revised the search for local observations in `PDAFomi_init_dim_obs_l` to improve its performance. this is used in the domain-localized DA methods (LESTKF, LETKF, LNETF, LKNETF, LSEIK). |
| | 172 | |
| | 173 | The performance of the search operation is case specific and depends, e.g., on the available observations, the localiztion radius, kind of coordinates (Cartesian or geograpic) and on whether an isotropic and non-isotropic localization is used. While the default choice of the search operation usually gives a good performance, one can try to optimize the speed of the search by more sophisticated variants. For this, one can select the type of the search operation by calling `PDAFomi_set_searchtype`. |
| | 174 | |
| | 175 | === PDAFomi_set_searchtype === |
| | 176 | |
| | 177 | This routine selects the type of the search operation for local observations. |
| | 178 | |
| | 179 | The interface is: |
| | 180 | {{{ |
| | 181 | SUBROUTINE PDAFomi_set_searchtype(search_type, sortdir) |
| | 182 | |
| | 183 | INTEGER, INTENT(in) :: search_type !< Type of search operation |
| | 184 | ! 0: Search routine of PDAF 3.0 |
| | 185 | ! 1: Optimized search code |
| | 186 | ! 2: Optimized search code with only one search loop (default) |
| | 187 | ! 11: Search type using sorted observations |
| | 188 | ! 12: Search type using sorted observations with only one search loop |
| | 189 | ! 21: Search type using sorted observations with a computed upper loop limit |
| | 190 | ! 22: Search type using sorted observations with a computed upper loop limit |
| | 191 | ! and only one search loop |
| | 192 | !< (2, 12 and 22 need more memory as arrays are allocated with full observation dimension) |
| | 193 | INTEGER, INTENT(in) :: sortdir !< Sorted doordinate direction (default=2) |
| | 194 | }}} |
| | 195 | |
| | 196 | For more information see the [wiki:PDAFomi_set_searchtype Page on PDAFomi_set_searchtype]. |
| | 197 | |
| | 198 | |