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