| 135 | | === PDAF_incremental === |
| 136 | | |
| 137 | | When incremental updating is used, this routine is called during the forecast phase to add a fraction of the analysis increment to an ensemble member. |
| 138 | | |
| 139 | | {{{ |
| 140 | | CALL PDAF_incremental(steps, U_dist_stateinc) |
| 141 | | }}} |
| 142 | | |
| 143 | | The arguments are: |
| 144 | | * `steps`: The number of time steps over which the increment should be distributed |
| 145 | | * `U_dist_stateinc`: The name of the user supplied call-back function that performs the actual addition of the state vector increment to the individual model fields. |
| 146 | | |
| 147 | | |
| 148 | | === PDAF_add_increment === |
| 149 | | |
| 150 | | When incremental updating is used, the state increment of the analysis step is not directly added to the forecast state. To add the increment to some state vector `PDAF_add_increment` is called: |
| 151 | | |
| 152 | | {{{ |
| 153 | | CALL PDAF_add_increment(dim_p, state_p) |
| 154 | | }}} |
| 155 | | |
| 156 | | The arguments are |
| 157 | | * `dim_p`: An integer giving the state dimension of `state_p` |
| 158 | | * `state_p`: A real array of size `dim_p` holding the on input the state vector and on output the state vector plus increment. |
| 159 | | |
| 160 | | Note: |
| 161 | | * the routine can be used in the prepoststep routine when the analysis state should be analyzed. |
| 162 | | |
| | 135 | See page on [wiki:IncrementalAnalysisUpdates Incremental Analysis Updates in PDAF3]. |