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

nearest class wich underscores 1% of highest frequency class and cuts all values beyond these classes by setting them<br />

Nan.<br />

As the result you see an histogram with a more narrow span of precipitation amounts and an updated clutter mask.<br />

This procedure is repeated iteratively until, the changes fall below a threshold value. The result are the final histogram<br />

and cluttermask:<br />

Now the clutter bins should be substituted by some meaningful values derived by nearest neighbour or linear interpolation:<br />

# set the location of your data<br />

datadir = ’D:/THIS/IS/MY/DATA/DIRECTORY/’<br />

# get the radar data which should be clutter corrected<br />

data, attrs = wrl.io.read_EDGE_netcdf(datadir + ’SUB-20110927-050748-01-Z.nc’, range_lim = 100000)<br />

32 Chapter 2. Tutorials

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

Saved successfully!

Ooh no, something went wrong!