Vector Graphics

This can be really brief, because most of what needs to be said is already said at my site simpleSVG.

Your Task

{*} You will need to grab the data file from RasterRadar, and then vectorradar.py. You will also need simpleSVG.py, which you should keep in the same directory as vectorradar.py. To get that file, on Gentry do:

wget http://mensch.org/simpleSVG/simpleSVG.py

Then do this:

./vectorradar.py KIWA.vol140.dat

That will output a blank image in first25.svg, which is your task to complete, and a simple file sectors.svg file. The latter file demonstrates the essential skill for your task: making color-filled areas.

After converting sectors.svg to a .png, for example by doing:

inkscape -e sectors.png sectors.svg

you will get the following .png:
sectors.png

Your task is to develop the code to plot the first 25 km of radar data, together with a color legend. Here is an example to shoot for:
first25.png

Post you rendition of the above figure and your source code on your secret page.