Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Create a Skew-T plot using remote data from University of Wyoming.

This example uses example data from the University of Wyoming sounding archive for 12 UTC 31 October 2016 for Minneapolis, MN (MPX).

Imports

Obtain Data and Format

This requires an internet connection to access the sounding data from a remote server at the University of Wyoming.

First we will create variables for date, time and station.
Format: datetime(YYYY, MM, DD, HH)

The station entry will need the be the three letter identifier of the station you want to look at. The National Center for Atmospheric Research (NCAR) Research Applications Labratory (RAL) continously updates a detailed list of all stations.

Loading...

Assign Units

We will pull the data out of the example dataset into individual variables and assign units. This is explained in further detain in the Simple Sounding notebook and in the Metpy documentation.

Create Sounding Plot

/home/runner/micromamba/envs/metpy-cookbook/lib/python3.14/site-packages/scipy/integrate/_ivp/base.py:24: UserWarning: Saturation mixing ratio is undefined for some requested pressure/temperature combinations. Total pressure must be greater than the water vapor saturation pressure for liquid water to be in equilibrium.
  return np.asarray(fun(t, y), dtype=dtype)
<Figure size 900x900 with 1 Axes>