Skip to content

0.12.0

Compare
Choose a tag to compare
@dopplershift dopplershift released this 06 Jan 04:37
0653de8

Version 0.12 (2020/01/05)

This is the first release that only supports Python 3.

API Changes

  • precipitable_water now issues a FutureWarning due to an impending change to its function signature in 1.0--this will change the signature to precipitable_water(pressure, dewpt, *, bottom=None, top=None) for better consistency with the rest of the library. To avoid this warning, import the function with from metpy.future import precipitable_water
  • storm_relative_helicity now issues a FutureWarning due to an impending change to its function signature in 1.0--this will change the signature to storm_relative_helicity(heights, u, v, depth, *, bottom, storm_u, storm_v) for better consistency with the rest of the library. To avoid this warning, import the function with from metpy.future import storm_relative_helicity
  • dewpoint_rh has been deprecated in favor of dewpoint_from_relative_humidity, and will be removed in 1.0
  • Removed previously deprecated functions get_wind_components, get_wind_dir, get_wind_speed, interp, interpolate_nans, and log_interp as well as the metpy.gridding sub-package.

Highlights

  • Added parser for METAR-formatted reports
  • Update NEXRAD Level2File to handle future format changes
  • Added calculation mixed_layer_cape_cin
  • geopotential <-> height calculations modified to use standard gravity
  • Added declarative interface for station plots
  • Added arrows to go with barbs on station plots
  • Added support for Python 3.8, dropped support for Python 2.7
  • Compatibility fixes for future versions of Pint
  • Enhancements to xarray coordinate identification
  • Fixed average spacing calculation in interpolation
  • Added 'wide' and 'most_cape' options for LFC/EL
  • Added wx_code_to_numeric for converting text weather codes (e.g. '+SNRA') to corresponding WMO code.

Contributors

@ahijevyc, @akrherz, @jthielen, @kgoebber, @mgrover1, @zbruick, and @dopplershift contributed code to this release.

Issues Closed

In this release 16 issues were closed.

Pull Requests Merged

  • PR 1266 - Fixes
  • PR 1262 - fix docs
  • PR 1261 - Still further updates to pint master branch compatibility
  • PR 1259 - Update PlotObs for time and station dimension naming
  • PR 1257 - add exception catch
  • PR 1255 - Fix interpolation average spacing (1230)
  • PR 1254 - Plotting fixes (1229, 1207)
  • PR 1253 - Fix smoothing unit-handling (1221, 1138)
  • PR 1252 - MNT: Add another NEXRAD file for testing
  • PR 1251 - NEXRAD Updates (1239)
  • PR 1250 - Further updates to pint master branch compatibility
  • PR 1246 - MNT: Update examples for date plotting (1245)
  • PR 1244 - Update some function signatures (1235)
  • PR 1242 - Fixes for pre-releases (1222)
  • PR 1241 - Adds a declarative syntax for point observations
  • PR 1238 - Adds function to get numeric wx code
  • PR 1236 - Modify xarray coordinate identification from CF axis to generic labels, permitting latitude/longitude identification (1090, 1090)
  • PR 1233 - Refactor _reassign_quantity_indexer to avoid modifying dict keys while iterating
  • PR 1227 - Add example to PW docstring (1226)
  • PR 1225 - Identify 'lv_' variables as vertical coordinates.
  • PR 1217 - Update xarray time derivative for subsecond precision
  • PR 1213 - avoid potential circular ref by lazy import (1211)
  • PR 1212 - Add support for Python 3.8
  • PR 1208 - Deprecate dewpoint_rh in favor of dewpoint_from_relative_humidity
  • PR 1195 - Removal of deprecations for 0.12 (870)
  • PR 1174 - Change geopotential <-> height formulas to use standard gravity
  • PR 1163 - Drop support for Python 2.7! (801)
  • PR 1148 - Add arrows to StationPlot (955)
  • PR 1145 - Add mixed-layer CAPE (1185)
  • PR 1138 - Add 'wide' and 'most_cape' options for LFC/EL, options for CAPE (862)
  • PR 1081 - METAR Parsing Tools

In this release 31 pull requests were closed.