Changes between Version 1 and Version 2 of likelihood_pdaf


Ignore:
Timestamp:
Mar 6, 2018, 4:52:33 PM (6 years ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • likelihood_pdaf

    v1 v2  
    44
    55The routine `likelihood_pdaf` (called `U_likelihood` inside the PDAF core routines) is a call-back routine that has to be provided by the user.
    6 The routine is used with the nonlinear filter NETF and called during the analysis step. The purpose of the routine is to compute the likelihood of the observation for a given ensemble member. The likelihood depends on the assumed observation error distribution. For a Gaussian observation error, the likelihood is '''exp(-0.5*(y-Hx)^T^*R^-1^*(y-Hx))'''. The vector '''y-HX =''' `resid` is proved as an input argument. The likelihood has to be returned in the variable `likely`.
     6The routine is used with the nonlinear filter NETF and called during the analysis step. The purpose of the routine is to compute the likelihood of the observation for a given ensemble member. The likelihood depends on the assumed observation error distribution. For a Gaussian observation error, the likelihood is '''exp(-0.5*(y-Hx)^T^*R^-1^*(y-Hx))'''. The vector '''y-HX =''' `resid` is provided as an input argument. The likelihood has to be returned in the variable `likely`.
    77
    88The interface is the following: