354 | | The routine is called in the local filters during the loop over all local analysis domains by the by the routine that computes a local adaptive forgetting factor (PDAF_set_forget_local). The routine has to initialize a local mean observation error variance for all observations sued for the analysis in the current local analysis domain. |

355 | | |

356 | | Hints: |

357 | | * For a model with domain-decomposition one might use the mean variance for the model sub-domain of the calling process. Alternatively one can compute a mean variance for the full model domain using MPI communication (e.g. the function `MPI_allreduce`). |

358 | | * The observation vector `obs_p` is provided to the rotine for the case that the observation error variance is relative to the value of the observations. |

| 354 | The routine is called in the local filters during the loop over all local analysis domains by the by the routine that computes a local adaptive forgetting factor (PDAF_set_forget_local). The routine has to initialize a local mean observation error variance for all observations used for the analysis in the current local analysis domain. |

| 355 | |

| 356 | == Execution order of user-supplied routines == |

| 357 | |

| 358 | The user-supplied routines are executed in the following order: |

| 359 | |

| 360 | |

| 361 | |

| 362 | |

| 363 | |