0.12.0
Version 0.12 (2020/01/05)
This is the first release that only supports Python 3.
API Changes
precipitable_water
now issues aFutureWarning
due to an impending change to its function signature in 1.0--this will change the signature toprecipitable_water(pressure, dewpt, *, bottom=None, top=None)
for better consistency with the rest of the library. To avoid this warning, import the function withfrom metpy.future import precipitable_water
storm_relative_helicity
now issues aFutureWarning
due to an impending change to its function signature in 1.0--this will change the signature tostorm_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 withfrom metpy.future import storm_relative_helicity
dewpoint_rh
has been deprecated in favor ofdewpoint_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
, andlog_interp
as well as themetpy.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
- Issue 1245 - Fix title in Four Panel Example (PR 1246)
- Issue 1239 - Update NEXRAD Level2File for TDWR (PR 1251)
- Issue 1235 - Consider re-ordering arguments for precipitable_water (PR 1244)
- Issue 1230 - Average Spacing calculation in interpolation incorrect (PR 1255)
- Issue 1229 - Remove Cartopy workaround from stationplot (PR 1254)
- Issue 1222 - Tests failing with matplotlib 3.2.0rc1 (PR 1242)
- Issue 1221 - smooth_n_point doesn't work with temperature units (PR 1253)
- Issue 1211 - metpy.calc.tools imports metpy.calc.basic which creates potential circular import (PR 1213)
- Issue 1207 - Declarative show() does not pop up GUI (PR 1254)
- Issue 1185 - Add explicit API for mixed layer CAPE/CIN calculation (PR 1145)
- Issue 1183 - metpy.testing.assert_array_almost_equal fails to compare array with masked array
- Issue 1090 - Change xarray coordinate identification to enforce dimensionality and allow both lat/lon and x/y identification (PR 1236)
- Issue 955 - Allow barbs and arrows for station plots (PR 1148)
- Issue 870 - Removals/Deprecations in MetPy 0.12 (PR 1195)
- Issue 862 - CAPE/CIN calculations for soundings with 'multiple' LFCs (PR 1138)
- Issue 70 - METAR parsing
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.