.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "examples/plotting/plot_corner_reflector.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_examples_plotting_plot_corner_reflector.py: ======================= Plot a Corner Reflector ======================= This is an example of how to plot a corner reflector. .. GENERATED FROM PYTHON SOURCE LINES 9-29 .. image-sg:: /examples/plotting/images/sphx_glr_plot_corner_reflector_001.png :alt: Corner Reflector Reflectivity 04/19/2013 01:21:53 :srcset: /examples/plotting/images/sphx_glr_plot_corner_reflector_001.png :class: sphx-glr-single-img .. code-block:: Python print(__doc__) # Author: Max Grover (mgrover@anl.gov) # License: BSD 3 clause from open_radar_data import DATASETS import pyart filename = DATASETS.fetch("sgpkasacrcrrasterC1.a1.20130419.012153.nc") # Read the data radar = pyart.io.read(filename) # Set up the display object display = pyart.graph.RadarDisplay(radar) # Set the corner reflector to be 478 m away, with elevations between -0.5 to 2.5 deg display.plot_cr_raster(target_range=478.0, el_limits=[-0.5, 2.5], cmap="HomeyerRainbow") .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.838 seconds) .. _sphx_glr_download_examples_plotting_plot_corner_reflector.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_corner_reflector.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_corner_reflector.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_corner_reflector.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_