wradlib.adjust.GageOnly

class wradlib.adjust.GageOnly(obs_coords, raw_coords, nnear_raws=9, stat='median', mingages=5, minval=0.0, mfb_args=None, ipclass=<class 'wradlib.ipol.Idw'>, **ipargs)

Same behaviour as the other adjustment classes, but returns an interpolation of rain gage observations

First, an instance of GageOnly has to be created. Calling this instance then does the actual adjustment. The motivation behind this performance. In case the observation points are always the same for different time steps, the computation of neighbours and inverse distance weights only needs to be performed once during initialisation.

GageOnly automatically takes care of invalid gage or radar observations (e.g. NaN, Inf or other typical missing data flags such as -9999). However, in case e.g. the observation data contain missing values, the computation of the inverse distance weights needs to be repeated in __call__ which is at the expense of performance.

Note

Inherits from wradlib.adjust.AdjustBase

For a complete overview of parameters for the initialisation of adjustment objects, as well as an extensive example, please see wradlib.adjust.AdjustBase.

Returns

output (array of adjusted radar values)

__call__(obs, raw[, targets, rawatobs, ix])

Returns an array of raw values that are adjusted by obs.

xvalidate(obs, raw)

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