Version 1.1.0 of MetPy, a collection of tools in Python for reading, visualizing, and performing calculations with weather data, has been released. Highlights of the new release include:
- Added classes to read a variety of data in GEMPAK-formatted files
- Added
showalter_index
calculation - Added
PlotGeometry
to the simplified plotting interface, which makes it easy to plot a variety of geospatial data (e.g. SPC convective outlooks or NHC hurricane wind swaths in geojson format). See this notebook for examples. - Significantly improved METAR parser to output both the visibility and remarks part of the reports, as well as better handle more weather codes (like 'FU')
- Improvements to simplified plotting interface including better notebook tab completion, support for controlling font size, and GEMPAK-like zooming on areas (e.g. '+us')
- Improved detection of problematic soundings in calculations
- Dropped support for Python <3.7 and NumPy <1.17
- Reduced the time it takes to import
metpy.io
- Fixed up a variety of unit issues in calculations
Contributors
@dopplershift, @joejoezz, @dcamron, @C2oWisComing, @jthielen, @github-actions[bot], @lswenson, @kgoebber, @23ccozad, @sgdecker, @ShunsukeHoshino, @jrleeman, @albernsrya, @lbunting, @dlaw, @akrherz, @mabaxter, @michaelavs, @nawendt, @eliteuser26 contributed code to this release.
For full release notes see the GitHub Release Page.
MetPy packages are available for Conda on the conda-forge channel and for pip from the Python Package Index. They can be installed with:
pip install metpy==1.1.0
or
conda install -c conda-forge metpy=1.1.0
Let us know if you run into any problems, either at MetPy issue tracker, or using support-python@unidata.ucar.edu. You can also ask questions using the "MetPy" tag on Stack Overflow, or on GitHub Discussions.