24.12.2013 Views

wradlib Documentation - Bitbucket

wradlib Documentation - Bitbucket

wradlib Documentation - Bitbucket

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>wradlib</strong> <strong>Documentation</strong>, Release 0.1.1<br />

<strong>wradlib</strong>.verify.ErrorMetrics.spearman<br />

ErrorMetrics.spearman()<br />

Spearman rank correlation coefficient<br />

<strong>wradlib</strong>.verify.ErrorMetrics.sse<br />

ErrorMetrics.sse()<br />

Sum of Squared Errors<br />

3.14.2 <strong>wradlib</strong>.verify.PolarNeighbours<br />

class <strong>wradlib</strong>.verify.PolarNeighbours(r, az, sitecoords, projstr, x, y, nnear=9)<br />

For a set of projected point coordinates, extract the neighbouring bin values from a data set in polar coordinates.<br />

Use as follows:<br />

First, create an instance of PolarNeighbours by passing all the information needed to georeference the polar<br />

radar data to the points of interest (see parameters)<br />

Second, use the method extract in order to extract the values from a data array which corresponds to the polar<br />

coordinates<br />

Parameters r : array of floats<br />

(see georef for documentation)<br />

az : array of floats<br />

(see georef for documentation)<br />

sitecoords : sequence of floats<br />

(see georef for documentation)<br />

projstr : string<br />

(see georef for documentation)<br />

x : array of floats<br />

x coordinates of the points in map projection corresponding to projstr<br />

y : array of floats<br />

y coordinates of the points in map projection corresponding to projstr<br />

nnear : int<br />

number of neighbouring radar bins you would like to find<br />

Methods<br />

extract(vals)<br />

get_bincoords()<br />

get_bincoords_at_points()<br />

Extracts the values from an array of shape (azimuth angles, range gages)<br />

Returns all bin coordinates in map projection<br />

Returns bin coordinates only in the neighbourshood of points<br />

84 Chapter 3. Library Reference

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

Saved successfully!

Ooh no, something went wrong!