Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 800 Bytes

README.geoplot.md

File metadata and controls

33 lines (22 loc) · 800 Bytes

Simple plotting utility written in python for geoloc. Requires numpy and matplotlib and CartoPy.

It reads geoloc's --print-matrix output from stdin, and plots the results on a map.

Usage examples (assume mymsg.txt contains comma-separated features as input for geoloc):

Plot matrix on Europe map:

geoloc --classify --print-matrix mymsg.txt | ./geoplot.py --europe

Plot on world map, projection is mercator:

geoloc --classify --print-matrix mymsg.txt | ./geoplot.py --world --proj mercator

Plot on U.S. map, use contours instead of grid:

geoloc --classify --print-matrix mymsg.txt | ./geoplot.py --us --contour

As previous, but output PDF:

geoloc --classify --print-matrix mymsg.txt | ./geoplot.py --us --contour --output map.pdf
  • MH20140406
  • WB20230808