| 1 | = PDAF_get_localfilter = |
| 2 | |
| 3 | This page documents the routine `PDAF_get_localfilter` of PDAF. |
| 4 | |
| 5 | The routine returns the information whether the chosen filter is a domain-localized filter (LESTKF, LETKF, LSEIK, LNETF). It can be called in assimilate_pdaf.F90 and the return value can be used to call either PDAFomi_assimilate_global or PDAFomi_assimilate_local (or PDAFomi_put_state_global or PDAFomi_put_state_local). The value is initialized after calling PDAF_init. |
| 6 | |
| 7 | The routine is typically called in the model code in assimilate_pdaf. |
| 8 | |
| 9 | The interface is the following: |
| 10 | {{{ |
| 11 | SUBROUTINE PDAF_get_localfilter(lflag) |
| 12 | }}} |
| 13 | with the following argument: |
| 14 | * `lflag`: On output the integer index is[[br]] |
| 15 | (1) for local filters,[[br]] |
| 16 | (0) for global filters (including LEnKF, which performs covariance localization) |
| 17 | |
| 18 | |