MetPy: A Meteorological Python Library for Data Analysis and Visualization

Ryan M. May, Kevin H. Goebbert, Jonathan E. Thielen, John R. Leeman, M. Drew Camron, Zachary Bruick, Eric C. Bruning, Russell P. Manser, Sean C. Arms, Patrick T. Marsh

Research output: Contribution to journalArticlepeer-review

116 Scopus citations

Abstract

MetPy is an open-source, Python-based package for meteorology, providing domain-specific functionality built extensively on top of the robust scientific Python software stack, which includes libraries like NumPy, SciPy, Matplotlib, and xarray. The goal of the project is to bring the weather analysis capabilities of GEMPAK (and similar software tools) into a modern computing paradigm. MetPy strives to employ best practices in its development, including software tests, continuous integration, and automated publishing of web-based documentation. As such, MetPy represents a sustainable, long-term project that fills a need for the meteorological community. MetPy’s development is substantially driven by its user community, both through feedback on a variety of open, public forums like Stack Overflow, and through code contributions facilitated by the GitHub collaborative software development platform. MetPy has recently seen the release of version 1.0, with robust functionality for analyzing and visualizing meteorological datasets. While previous versions of MetPy have already seen extensive use, the 1.0 release represents a significant milestone in terms of completeness and a commitment to long-term support for the programming interfaces. This article provides an overview of MetPy’s suite of capabilities, including its use of labeled arrays and physical unit information as its core data model, unit-aware calculations, cross sections, skew T and GEMPAK-like plotting, station model plots, and support for parsing a variety of meteorological data formats. The general road map for future planned development for MetPy is also discussed.

Original languageEnglish
Pages (from-to)E2273-E2284
JournalBulletin of the American Meteorological Society
Volume103
Issue number10
DOIs
StatePublished - Oct 2022
Externally publishedYes

Keywords

  • Algorithms
  • Atmosphere
  • Data processing/distribution
  • Software

Fingerprint

Dive into the research topics of 'MetPy: A Meteorological Python Library for Data Analysis and Visualization'. Together they form a unique fingerprint.

Cite this