Plot a PPI Using Xradar and Py-ART#

An example which uses xradar and Py-ART to create 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 xradar as xd

import pyart
from pyart.testing import get_test_data

# Locate the test data and read in using xradar
filename = get_test_data("")
tree =

# Give the tree Py-ART radar methods
radar = pyart.xradar.Xradar(tree)

# Plot the Reflectivity Field (corrected_reflectivity_horizontal)
display = pyart.graph.RadarMapDisplay(radar)
    "corrected_reflectivity_horizontal", cmap="pyart_ChaseSpectral", vmin=-20, vmax=70

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

Gallery generated by Sphinx-Gallery