MetPy
  • Installation Guide
  • Getting Started with MetPy
  • Unit Support
  • Reference/API Examples
    • General Examples
      • XArray Projection Handling
      • Sigma to Pressure Interpolation
      • Advanced Sounding
      • Four Panel Map
      • Cross Section Analysis
      • Isentropic Analysis
      • Meteogram
    • Calculations
      • Parse angles
      • Dewpoint and Mixing Ratio
      • Angle to Direction
      • Gradient
    • File Formats
      • GINI Water Vapor Imagery
      • NEXRAD Level 3 File
      • NEXRAD Level 2 File
    • Gridding
      • Find Natural Neighbors Verification
      • Wind and Sea Level Pressure Interpolation
      • Point Interpolation
      • Inverse Distance Verification: Cressman and Barnes
      • Natural Neighbor Verification
    • Plotting
      • Simple Plotting
      • US Counties
      • Combined Plotting
      • Skew-T with Complex Layout
      • Hodograph Inset
      • Simple Sounding
      • Mesonet Station Plot
      • Station Plot
      • Station Plot with Layout
  • Topical Examples
  • Tutorials
  • Reference Guide
  • MetPy Roadmap
  • GEMPAK Conversion Guide
  • Support
  • Contributors Guide
  • Infrastructure Guide
  • Citing MetPy
  • References
MetPy
  • Docs »
  • Examples
  • Improve this page

Examples¶

For more MetPy examples, please visit the Unidata Python Gallery.

General Examples¶

Examples of using a variety of MetPy’s functionality together.

../_images/sphx_glr_XArray_Projections_thumb.png

XArray Projection Handling¶

../_images/sphx_glr_sigma_to_pressure_interpolation_thumb.png

Sigma to Pressure Interpolation¶

../_images/sphx_glr_Advanced_Sounding_thumb.png

Advanced Sounding¶

../_images/sphx_glr_Four_Panel_Map_thumb.png

Four Panel Map¶

../_images/sphx_glr_cross_section_thumb.png

Cross Section Analysis¶

../_images/sphx_glr_isentropic_example_thumb.png

Isentropic Analysis¶

../_images/sphx_glr_meteogram_metpy_thumb.png

Meteogram¶

Calculations¶

Examples using various calculation functions from MetPy.

../_images/sphx_glr_Parse_Angles_thumb.png

Parse angles¶

../_images/sphx_glr_Dewpoint_and_Mixing_Ratio_thumb.png

Dewpoint and Mixing Ratio¶

../_images/sphx_glr_Angle_to_Direction_thumb.png

Angle to Direction¶

../_images/sphx_glr_Gradient_thumb.png

Gradient¶

File Formats¶

Examples using MetPy’s support for reading various file formats.

../_images/sphx_glr_GINI_Water_Vapor_thumb.png

GINI Water Vapor Imagery¶

../_images/sphx_glr_NEXRAD_Level_3_File_thumb.png

NEXRAD Level 3 File¶

../_images/sphx_glr_NEXRAD_Level_2_File_thumb.png

NEXRAD Level 2 File¶

Gridding¶

Examples generating a grid of data from scattered point observations.

../_images/sphx_glr_Find_Natural_Neighbors_Verification_thumb.png

Find Natural Neighbors Verification¶

../_images/sphx_glr_Wind_SLP_Interpolation_thumb.png

Wind and Sea Level Pressure Interpolation¶

../_images/sphx_glr_Point_Interpolation_thumb.png

Point Interpolation¶

../_images/sphx_glr_Inverse_Distance_Verification_thumb.png

Inverse Distance Verification: Cressman and Barnes¶

../_images/sphx_glr_Natural_Neighbor_Verification_thumb.png

Natural Neighbor Verification¶

Plotting¶

Examples using MetPy’s various specialty plotting routines.

../_images/sphx_glr_Simplified_Image_Plot_thumb.png

Simple Plotting¶

../_images/sphx_glr_US_Counties_thumb.png

US Counties¶

../_images/sphx_glr_Combined_plotting_thumb.png

Combined Plotting¶

../_images/sphx_glr_Skew-T_Layout_thumb.png

Skew-T with Complex Layout¶

../_images/sphx_glr_Hodograph_Inset_thumb.png

Hodograph Inset¶

../_images/sphx_glr_Simple_Sounding_thumb.png

Simple Sounding¶

../_images/sphx_glr_Mesonet_Stationplot_thumb.png

Mesonet Station Plot¶

../_images/sphx_glr_Station_Plot_thumb.png

Station Plot¶

../_images/sphx_glr_Station_Plot_with_Layout_thumb.png

Station Plot with Layout¶

Download all examples in Python source code: examples_python.zip

Download all examples in Jupyter notebooks: examples_jupyter.zip

Gallery generated by Sphinx-Gallery

Next Previous

© Copyright 2019, MetPy Developers. Development supported by National Science Foundation grants AGS-1344155, OAC-1740315, and AGS-1901712.. Last updated on Oct 18, 2019 at 17:16:45.

Built with Sphinx using a theme provided by Read the Docs.

Do you enjoy using MetPy? Say Thanks!