wradlib.adjust.AdjustBase.xvalidate

wradlib.adjust.AdjustBase.xvalidate#

AdjustBase.xvalidate(obs, raw)[source]#

Leave-One-Out Cross Validation, applicable to all gage adjustment classes.

This method will be inherited to other Adjust classes. It should thus be applicable to all adjustment procedures without any modification. This way, the actual adjustment procedure has only to be defined once in the __call__ method.

The output of this method can be evaluated by using the verify.ErrorMetrics class.

Parameters:
Returns:

  • obs (numpy.ndarray) – array of floats valid observations at those locations which have a valid radar observation

  • estatobs (numpy.ndarray) – array of floats estimated values at the valid observation locations