172 | | This routine |
| 172 | This routine sets integer parameters for the DA method. It is called either by `PDAF_X_init` or by `PDAF_set_iparam` via `PDAF_set_iparam_filters`. |
| 173 | |
| 174 | The parameters in PDAF are linked to an index. This index is explicitly used when one creates in the user code the real parameter array (`filter_param_i` in the template code and tutorials). In `PDAF_X_set_iparam` one uses the index `id` to select which parameter is initialized. |
| 175 | |
| 176 | There are a few parameters which are used with the same id for all DA methods. We recommend to stick to these indices to avoid irritations: |
| 177 | ||= id =||= parameter =||= Decription =|| |
| 178 | || 1 || `dim_p` || state dimension, set via `PDAF_reset_dim_p` || |
| 179 | || 2 || `dim_ens` || ensemble size, set via `PDAF_reset_dim_ens` || |
| 180 | || 8 || `observe_ens` || Whether to apply obsevation operator ensmeble mean or all ensemble states || |
| 181 | || 9 || `type_obs_init` || Whether to initialize observations (0) before or (1) after prepoststep || |
| 182 | |
| 183 | |
| 184 | Additional parameters are recommended to use the following index. We recommend to stick to these indices to avoid irritations. The 3D-Var methods have partly different indices, because the solvers have to be configured:.||= id =||= parameter =||= Decription =|| |
| 185 | || 3 || `dim_lag` || Smoother lag || |
| 186 | || 5 || `type_forget` || Type for ensemble inflation || |
| 187 | || 6 || `type_trans` || Type of ensemble transformation || |
| 188 | |
| 189 | For further parameters we recommend to check the [wiki:AvailableOptionsforInitPDAF page on available options for each DA method]. |
| 190 | |
| 194 | This routine sets real-values parameters for the DA method. It is called either by `PDAF_X_init` or by `PDAF_set_rparam` via `PDAF_set_rparam_filters`. |
| 195 | |
| 196 | The parameters in PDAF are linked to an index. This index is explicitly used when one creates in the user code the real parameter array (`filter_param_r` in the template code and tutorials). In `PDAF_X_set_rparam` one uses the index `id` to select which parameter is initialized. |
| 197 | |
| 198 | There is one parameters which are used with the same id for all DA methods: |
| 199 | ||= id =||= parameter =||= Decription =|| |
| 200 | || 1 || `forget` || Value of inflation parameter (usually the 'forgetting factor' || |
| 201 | |
| 202 | Some DA methods, in particular the nonlinear filters and the 3D-Var methods use additional real-valued parameters. We recommend to check the [wiki:AvailableOptionsforInitPDAF page on available options for each DA method] to obtain an overview. |
| 203 | |
| 204 | |