24.12.2013 Views

wradlib Documentation - Bitbucket

wradlib Documentation - Bitbucket

wradlib Documentation - Bitbucket

SHOW MORE
SHOW LESS

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 />

AdjustBase<br />

AdjustMFB<br />

AdjustMultiply<br />

AdjustAdd<br />

AdjustMixed<br />

Raw_at_obs<br />

The basic adjustment class that inherits to all other classes<br />

Multiplicative gage adjustment using one correction factor for the entire domain<br />

Gage adjustment using a multiplicative error model<br />

Gage adjustment using an additive error model.<br />

Gage adjustment using a mixed error model (additive and multiplicative).<br />

Get the raw values in the neighbourhood of the observation points<br />

<strong>wradlib</strong>.adjust.AdjustBase<br />

class <strong>wradlib</strong>.adjust.AdjustBase(obs_coords, raw_coords, nnear_raws=9, stat=’median’, mingages=5,<br />

minval=0.0, Ipclass=, **ipargs)<br />

The basic adjustment class that inherits to all other classes<br />

All methods except the __call__ method are inherited to the following adjustment classes.<br />

Parameters obs_coords : array of float<br />

coordinate pairs of observations points<br />

raw_coords : array of float<br />

coordinate pairs of raw (unadjusted) field<br />

nnear_raws : integer<br />

defaults to 9<br />

stat : string<br />

defaults to ‘median’<br />

mingages : integer<br />

minimum number of gages which are required for an adjustment<br />

minval : float<br />

If the gage or radar observation is below this threshold, the location will not be used for<br />

adjustment. For additive adjustment, this value should be set to zero (default value).<br />

Ipclass : an interpolation class from wradib.ipol<br />

Default value is <strong>wradlib</strong>.ipol.Idw (Inverse Distance Weighting)<br />

ipargs : keyword arguments to create an instance of Ipclass<br />

For <strong>wradlib</strong>.ipol.Idw, these keywird arguments woudl e.g. be nnear or p<br />

Methods<br />

xvalidate(obs, raw)<br />

Leave-One-Out Cross Validation, applicable to all gage adjustment classes.<br />

<strong>wradlib</strong>.adjust.AdjustBase.xvalidate<br />

AdjustBase.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.<br />

It should thus be applicable to all adjustment<br />

3.13. Gage adjustment 65

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!