hydromt.stats.skills.lognashsutcliffe#

hydromt.stats.skills.lognashsutcliffe(sim, obs, epsilon=1e-06, dim='time')[source]#

Return the log Nash-Sutcliffe model efficiency.

Efficiency calculation is based on simulated and observed time series.

\[\begin{split}NSE = 1-\\frac{\\sum_{i=1}^{N}(log(sim_{i})-log(obs_{i}))^2} {\\sum_{i=1}^{N}(log(sim_{i})-log(\\bar{obs})^2}-1)*-1\end{split}\]
Parameters:
  • sim (xarray DataArray) – simulations time series

  • obs (xarray DataArray) – observations time series

  • epsilon (float, optional) – small value to avoid taking the log of zero (the default is 1e-6)

  • dim (str, optional) – name of time dimension in sim and obs (the default is ‘time’)

Returns:

the log of the Nash-Sutcliffe model efficiency

Return type:

xarray DataArray