hydromt.stats.skills.percentual_bias#

hydromt.stats.skills.percentual_bias(sim, obs, dim='time')[source]#

Return the percentual bias between two time series.

PBias=100fracsumi=1N(simiobsi)sumi=1N(obsi)
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:

percentual bias

Return type:

xarray DataArray