Changes between Version 1 and Version 2 of PDAF_set_iparam
- Timestamp:
- Mar 21, 2025, 1:51:41 PM (11 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PDAF_set_iparam
v1 v2 5 5 This routine is used to set integer parameters for PDAF. 6 6 7 The parameters specific to a DA method can be set in the `filter_param_i` array that is an argument of `PDAF_init`. `PDAF_set_iparam` provides an alternativ way. Instead of providing all parameters in the call to `PDAF_init`, one can provide only the required minimum for this call. Afterwards, one can then call `PDAF_set_iparam` for each integer parameter that one inten ts to specify differently from the default value. An advantage of using `PDAF_set_iparam` is that one only needs to call it for parameters that one intends to change, while in the call to `PDAF_init` all parameters up to the index one intends to change have to be specified, even of one doe snot want to change a parameter value.7 The parameters specific to a DA method can be set in the `filter_param_i` array that is an argument of `PDAF_init`. `PDAF_set_iparam` provides an alternativ way. Instead of providing all parameters in the call to `PDAF_init`, one can provide only the required minimum for this call. Afterwards, one can then call `PDAF_set_iparam` for each integer parameter that one intends to specify differently from the default value. An advantage of using `PDAF_set_iparam` is that one only needs to call it for parameters that one intends to change, while in the call to `PDAF_init` all parameters up to the index one intends to change have to be specified, even of one doe snot want to change a parameter value. 8 8 9 9 The routine is usually called by all processes after the call to `PDAF_init` in `init_pdaf`. One can also call the routine at later time during an assimilation process to change parameters. The parameter will be set for the DA method that was specified in the call to `PDAF_init`.