.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "source/auto_examples/plotting/plot_enhanced_skewt.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_enhanced_skewt.py: Enhanced plot of a sounding --------------------------- This example shows how to make an enhance plot for sounding data which includes a Skew-T plot, hodograph, and stability indicies. Author: Adam Theisen .. GENERATED FROM PYTHON SOURCE LINES 11-28 .. image-sg:: /source/auto_examples/plotting/images/sphx_glr_plot_enhanced_skewt_001.png :alt: sgpsondewnpnC1.b1 on 20190101 :srcset: /source/auto_examples/plotting/images/sphx_glr_plot_enhanced_skewt_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none /home/runner/work/ACT/ACT/act/retrievals/sonde.py:179: UserWarning: Interpolation point out of data bounds encountered lfc = mpcalc.lfc(p_sorted[0], t_sorted[0], td_sorted[0]) | .. code-block:: Python from arm_test_data import DATASETS from matplotlib import pyplot as plt import act # Read data filename_sonde = DATASETS.fetch('sgpsondewnpnC1.b1.20190101.053200.cdf') ds = act.io.arm.read_arm_netcdf(filename_sonde) # Plot enhanced Skew-T plot display = act.plotting.SkewTDisplay(ds) display.plot_enhanced_skewt(color_field='alt') ds.close() plt.show() .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.454 seconds) .. _sphx_glr_download_source_auto_examples_plotting_plot_enhanced_skewt.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_enhanced_skewt.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_enhanced_skewt.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_enhanced_skewt.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_