{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "\n# Enhanced plot of a sounding\n\nThis example shows how to make an enhance plot for sounding data\nwhich includes a Skew-T plot, hodograph, and stability indicies.\n\nAuthor: Adam Theisen\n" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": false }, "outputs": [], "source": [ "from arm_test_data import DATASETS\nfrom matplotlib import pyplot as plt\n\nimport act\n\n# Read data\nfilename_sonde = DATASETS.fetch('sgpsondewnpnC1.b1.20190101.053200.cdf')\nds = act.io.arm.read_arm_netcdf(filename_sonde)\n\n# Plot enhanced Skew-T plot\ndisplay = act.plotting.SkewTDisplay(ds)\ndisplay.plot_enhanced_skewt(color_field='alt')\n\nds.close()\nplt.show()" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.14.3" } }, "nbformat": 4, "nbformat_minor": 0 }