hydromt.stats.skills.nashsutcliffe#
- hydromt.stats.skills.nashsutcliffe(sim, obs, dim='time')[source]#
Return the Nash-Sutcliffe model efficiency.
Efficiency is based on a simulated and observed time series.
\[\begin{split}NSE = 1-\\frac{\\sum_{i=1}^{N}(sim_{i}-obs_{i})^2} {\\sum_{i=1}^{N}(obs_{i}-\\bar{obs})^2}\end{split}\]- Parameters:
sim (
xarray DataArray
) – simulations time seriesobs (
xarray DataArray
) – observations time seriesdim (
str
, optional) – name of time dimension in sim and obs (the default is ‘time’)
- Returns:
the Nash-Sutcliffe model efficiency
- Return type:
xarray DataArray