wradlib Documentation - Bitbucket
wradlib Documentation - Bitbucket
wradlib Documentation - Bitbucket
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>wradlib</strong> <strong>Documentation</strong>, Release 0.1.1<br />
>>> line2 = pl.plot(obs_coords, obs, ’ro’, label="gage obs")<br />
>>> line3 = pl.plot(radar_coords, add_adjusted, ’-’, color="red", label="adjusted by AdjustAdd")<br />
>>> line4 = pl.plot(radar_coords, mult_adjusted, ’-’, color="green", label="adjusted by AdjustMu<br />
>>> line5 = pl.plot(radar_coords, mfb_adjusted, ’-’, color="orange", label="adjusted by AdjustMF<br />
>>> line6 = pl.plot(radar_coords, mixed_adjusted, ’-’, color="blue", label="adjusted by AdjustMi<br />
>>> pl.legend()<br />
>>> pl.show()<br />
Methods<br />
xvalidate(obs, raw)<br />
Leave-One-Out Cross Validation, applicable to all gage adjustment classes.<br />
<strong>wradlib</strong>.adjust.AdjustAdd.xvalidate<br />
AdjustAdd.xvalidate(obs, raw)<br />
Leave-One-Out Cross Validation, applicable to all gage adjustment classes.<br />
This method will be inherited to other Adjust classes. It should thus be applicable to all adjustment<br />
procedures without any modification. This way, the actual adjustment procedure has only to be defined<br />
once in the __call__ method.<br />
The output of this method can be evaluated by using the verify.ErrorMetrics class.<br />
Parameters obs : array of floats<br />
raw : array of floats<br />
Returns obs : array of floats<br />
valid observations at those locations which have a valid radar observation<br />
estatobs : array of floats<br />
estimated values at the valid observation locations<br />
__call__(obs, raw[, targets, rawatobs, ix])<br />
xvalidate(obs, raw)<br />
Return the field of raw values adjusted by obs.<br />
Leave-One-Out Cross Validation, applicable to all gage adjustment classes.<br />
<strong>wradlib</strong>.adjust.AdjustAdd.__call__<br />
AdjustAdd.__call__(obs, raw, targets=None, rawatobs=None, ix=None)<br />
Return the field of raw values adjusted by obs.<br />
Parameters obs : array of floats<br />
Gage observations<br />
raw : array of floats<br />
Raw unadjusted radar rainfall<br />
targets : (INTERNAL) array of floats<br />
Coordinate pairs for locations on which the final adjustment product is interpolated Defaults<br />
to None. In this case, the output locations will be identical to the radar coordinates<br />
rawatobs : (INTERNAL) array of floats<br />
74 Chapter 3. Library Reference