Create a PPI plot from a Sigmet fileΒΆ

An example which creates a PPI plot of a Sigmet file.

../../_images/plot_ppi_sigmet_1.png

Python source code: plot_ppi_sigmet.py

print __doc__

# Author: Jonathan J. Helmus (jhelmus@anl.gov)
# License: BSD 3 clause

import matplotlib.pyplot as plt
import pyart

filename = 'XSW110520105408.RAW7HHF'

# create the plot using RadarDisplay (recommended method)
radar = pyart.io.read_rsl(filename)
display = pyart.graph.RadarDisplay(radar)
fig = plt.figure()
ax = fig.add_subplot(111)
display.plot_ppi('reflectivity', 0, vmin=-32, vmax=64.)
display.plot_range_rings([10, 20, 30, 40])
display.plot_cross_hair(5.)
plt.show()

Total running time of the example: 3.61 seconds

Previous topic

Map two radars to a Cartesian grid

Next topic

Create a plot of NEXRAD reflectivity

This Page