Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
"""Computes the CRPS of verification data ``o`` relative to normally distributed
forecasts with mean ``mu`` and standard deviation ``sig``.
.. note::
This is a helper function for CRPSS and cannot be called directly by a user.
Args:
forecast (xr.object): Forecast with ``member`` dim.
mu (xr.object): The mean of the verification data.
sig (xr.object): The standard deviation verification data.
See also:
* properscoring.crps_gaussian
* xskillscore.crps_gaussian
"""
return crps_gaussian(forecast, mu, sig)