.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "source/auto_examples/io/plot_hysplit.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_io_plot_hysplit.py: Read and plot a HYSPLIT trajectory file from a HYSPlIT run. ----------------------------------------------------------- This example shows how to read and plot a backtrajectory calculated by the NOAA HYSPLIT model over Houston. Author: Robert Jackson .. GENERATED FROM PYTHON SOURCE LINES 10-24 .. image-sg:: /source/auto_examples/io/images/sphx_glr_plot_hysplit_001.png :alt: hysplit at 2010-07-31 23:00:00 :srcset: /source/auto_examples/io/images/sphx_glr_plot_hysplit_001.png :class: sphx-glr-single-img .. code-block:: Python import act import matplotlib.pyplot as plt from arm_test_data import DATASETS # Load the data filename = DATASETS.fetch('houstonaug300.0summer2010080100') ds = act.io.read_hysplit(filename) # Use the GeographicPlotDisplay object to make the plot disp = act.plotting.GeographicPlotDisplay(ds) disp.geoplot('PRESSURE', cartopy_feature=['STATES', 'OCEAN', 'LAND']) plt.show() .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 4.637 seconds) .. _sphx_glr_download_source_auto_examples_io_plot_hysplit.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_hysplit.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_hysplit.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_hysplit.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_