.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "source/auto_examples/plotting/plot_aaf_track.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_source_auto_examples_plotting_plot_aaf_track.py: Plot ARM AAF Flight Path -------------------------------- Plot the ARM AAF flight path using the GeographicPlotDisplay Author: Joe O'Brien .. GENERATED FROM PYTHON SOURCE LINES 10-31 .. image-sg:: /source/auto_examples/plotting/images/sphx_glr_plot_aaf_track_001.png :alt: act_datastream at 2018-11-04 13:04:36 :srcset: /source/auto_examples/plotting/images/sphx_glr_plot_aaf_track_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none /home/runner/work/ACT/ACT/act/plotting/plot.py:81: UserWarning: Could not discern datastreamname and dict or tuple were not provided. Using defaultname of act_datastream! warnings.warn( | .. code-block:: Python from arm_test_data import DATASETS import matplotlib.pyplot as plt import act from act.io.icartt import read_icartt # Call the read_icartt function, which supports input # for ICARTT (v2.0) formatted files. # Example file is ARM Aerial Facility Navigation Data filename_icartt = DATASETS.fetch('AAFNAV_COR_20181104_R0.ict') ds = read_icartt(filename_icartt) # Use GeographicPlotDisplay for referencing. # NOTE: Cartopy is needed! display = act.plotting.GeographicPlotDisplay(ds, figsize=(12, 10)) # Plot the ARM AAF flight track with respect to Pressure Altitude display.geoplot('press_alt', lat_field='lat', lon_field='lon') # Display the plot plt.show() .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.643 seconds) .. _sphx_glr_download_source_auto_examples_plotting_plot_aaf_track.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_aaf_track.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_aaf_track.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_aaf_track.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_