MetPy 0.11.0 Released

MetPy 0.11.0 has been released with a variety of fixes and enhancements. This is the LAST RELEASE to support Python 2.7.

API Changes

  • MetPy's copy of the "viridis" colormap is deprecated. Use it directly from matplotlib instead.
  • Deprecated the tmpk_out argument for isentropic_interpolation; this will be removed in 1.0. Use temperature_out instead.
  • ageostrophic_wind now issues a FutureWarning due to an impending change to its function signature in 1.0--this will change the signature to ageostrophic_wind(heights, u, v, f, dx, dy) for better consistency with the rest of the library. To avoid this warning, import the function with from metpy.future import ageostrophic_wind.
  • Deprecated the bounds argument on Hodograph.plot_colormapped in favor of intervals to improve clarity on how to use the argument.
  • Removed previously deprecated:
    • lat_lon_grid_spacing: use lat_lon_grid_deltas instead
    • cdm module
    • GINIFile.to_dataset()

Fixes and Enhancements

  • Several SkewT fixes and enhancements, including reworking the transform so that it works in screen space; this helps it work much better on oddly shaped axes. On Matplotlib 3.2, this means that the SkewT maintains sensible data scaling. SkewT by default also now has sensible plot limits.
  • MetPy 0.10.x accidentally picked up a hard dependency on CartoPy, this has been removed
  • Expanded simplified plotting interface with more documentation and support for Barbs
  • Several bug fixes for lcl, el, lfc, and cape_cin
  • No longer require using .metpy.parse_cf() to activate coordinate identification with XArray
  • XArray accessor automatically converts problematic '%' units to 'percent'
  • Added unit support in reduce_point_density
  • wind_direction now supports specifying the convention (either 'to' or 'from') to support oceanographic applications (default remains 'from').
  • Improved numerical stability of geopotential<->height calculations
  • Added parsing of more combinations of weather symbols
  • Added specific_humidity_from_dewpoint, altimeter_to_station_pressure, altimeter_to_sea_level_pressure
  • heat_index now better matches NWS algorithm
  • Added angle_to_direction to convert wind direction in degrees to e.g. 'NE'
  • Added control of mask_undefined on apparent_temperature

Skew-T Example

Contributors

@ahuang11, @akrherz, @jthielen, @kgoebber, @leouieda, @mgrover1, @sgdecker, @tjwixtrom, @zbruick, @jrleeman, and @dopplershift 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.

Let us know if you run into any problems, either at MetPy issue tracker, using support-python@unidata.ucar.edu, or on the python-users list. You can also ask questions using the "MetPy" tag on Stack Overflow.

Comments:

Post a Comment:
Comments are closed for this entry.
News@Unidata
News and information from the Unidata Program Center
News@Unidata
News and information from the Unidata Program Center

Welcome

FAQs

Developers’ blog

Recent Entries:
Take a poll!

What if we had an ongoing user poll in here?

Browse By Topic
Browse by Topic
« December 2024
SunMonTueWedThuFriSat
2
3
4
5
6
7
8
11
12
13
14
15
16
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    
       
Today