Example Gallery#
For more MetPy examples, please visit the Unidata Python Gallery.
General Examples#
Examples of using a variety of MetPy’s functionality together.
XArray Projection Handling
Sigma to Pressure Interpolation
Sigma to Pressure Interpolation
Advanced Sounding
Cross Section Analysis
Four Panel Map
Isentropic Analysis
Meteogram
Calculations#
Examples using various calculation functions from MetPy.
Parse angles
Dewpoint and Mixing Ratio
Angle to Direction
Wind Speed
Divergence
Vorticity
Absolute Vorticity
Total Deformation
Shearing Deformation
Stretching Deformation
Static Stability
Mean Pressure Weighted
Mountain Problem
Bulk Shear
Hydrostatic Thickness
Equivalent Potential Temperature
Equivalent Potential Temperature
Advection
Gradient
Q-Vector
Smoothing
Sounding Calculation Examples
File Formats#
Examples using MetPy’s support for reading various file formats.
GINI Water Vapor Imagery
NEXRAD Level 3 File
NEXRAD Level 2 File
Gridding#
Examples generating a grid of data from scattered point observations.
Find Natural Neighbors Verification
Find Natural Neighbors Verification
Wind and Sea Level Pressure Interpolation
Wind and Sea Level Pressure Interpolation
Point Interpolation
Inverse Distance Verification: Cressman and Barnes
Inverse Distance Verification: Cressman and Barnes
Natural Neighbor Verification
Plotting#
Examples using MetPy’s various specialty plotting routines.
Simple Plotting
US Counties
Raster Plots using Declarative Syntax
Raster Plots using Declarative Syntax
NOAA SPC Convective Outlook
Combined Plotting
Surface Analysis using Declarative Syntax
Surface Analysis using Declarative Syntax
Upper Air Analysis using Declarative Syntax
Upper Air Analysis using Declarative Syntax
NOAA NHC Wind Speed Probabilities
NOAA NHC Wind Speed Probabilities
Skew-T with Complex Layout
Hodograph Inset
Sounding as Dataset Example
Simple Sounding
Mesonet Station Plot
Station Plot
Station Plot with Layout