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

<strong>wradlib</strong>.adjust.AdjustMixed.__call__<br />

AdjustMixed.__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 />

For internal use from AdjustBase.xvalidate only (defaults to None)<br />

ix : (INTERNAL) array of integers<br />

For internal use from AdjustBase.xvalidate only (defaults to None)<br />

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

AdjustMixed.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 procedures<br />

without any modification. This way, the actual adjustment procedure has only to be defined once in the __call__<br />

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

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

class <strong>wradlib</strong>.adjust.Raw_at_obs(obs_coords, raw_coords, nnear=9, stat=’median’)<br />

Get the raw values in the neighbourhood of the observation points<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: integer :<br />

78 Chapter 3. Library Reference

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

Saved successfully!

Ooh no, something went wrong!