Create a PPI plot from a Cfradial file#

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

xsapr-sg 0.5 Deg. 2011-05-20T06:42:11Z  Equivalent reflectivity factor

# Author: Max Grover (
# License: BSD 3 clause

import matplotlib.pyplot as plt

import pyart
from pyart.testing import get_test_data

# Locate the test data and read in using main read method
filename = get_test_data("")
radar =

# Setup the display, which automatically detects this is a ppi scan
display = pyart.graph.RadarDisplay(radar)
fig = plt.figure()
ax = fig.add_subplot(111)
display.plot("reflectivity_horizontal", 0, vmin=-32, vmax=64.0)
display.plot_range_rings([10, 20, 30, 40])

Total running time of the script: (0 minutes 1.354 seconds)

Gallery generated by Sphinx-Gallery