1.2.0
Highlights
- Added K-Index and Totals Totals sounding index functions
- Added wind gusts to parse METAR output
- Significant performance increase for moist lapse and a variety of related functions
- GEMPAK sounding reader is much faster now
- Fixed SkewT compatibility with Matplotlib 3.5
- Fixes for a variety of edge cases in
moist_lapse
- Variety of bugs fixed in METAR and GEMPAK readers
- Full support for Python 3.10
New Features 🎉
- Add K Index calculate function. by @C2oWisComing in #1990
- SPC convective outlook example by @23ccozad in #2021
- Add a fixture that provides numpy, masked, and dask array functions by @rpmanser in #1935
- NHC wind probabilities example by @23ccozad in #2034
- Add TT, VT and CT calculate function. by @C2oWisComing in #2113
Enhancements 😄
- Avoid error when wind and vis groups are in the wrong order by @sgdecker in #2019
- Documentation equation improvements by @dopplershift in #2035
- Improve the error message when metpy_crs is missing by @sgdecker in #2056
- Add note showing real-world case to upper-air example by @sgdecker in #2054
- Infer name of station ID key in add_station_lat_lon by @sgdecker in #2053
- Add wind gusts to parsed METAR output by @dopplershift in #2076
- Fix lifted_index cannot calculate when data at 500 hpa is missing by @C2oWisComing in #2110
- Doc fixes in kinematics.py by @sgdecker in #2168
- allow range for contours by @kgoebber in #2152
- add smoothing for declarative by @kgoebber in #2156
- Readme Tweaks by @dopplershift in #2206
- Add zoom interpolation function by @kgoebber in #2155
- Add description of
scale
to declarative tutorial by @sgdecker in #2273 - Refactor moist_lapse by @dopplershift in #2263
- Validate declarative interface attributes by @sgdecker in #2170
Bugs Fixed 🐛
- Swap "See Also" and "Notes" section in docs by @brianlo747 in #2036
- Clarify degree to which DDT is implemented by @sgdecker in #2048
- Fix name of time_window attribute in declarative tutorial by @sgdecker in #2058
- Fix UnboundLocalError in snxarray by @nawendt in #2057
- Add argument name check in preprocess_and_wrap, and fix dewpoint_from_specific_humidity by @jthielen in #2073
- Fix broken links in GEMPAK Comparison Guide by @sgdecker in #2085
- Allow adjacent points in sounding to have the same pressure by @sgdecker in #2089
- A couple of doc fixes by @dopplershift in #2068
- Store grid mapping on metpy_crs coord rather than DataArray attrs in GEMPAK reader by @jthielen in #2066
- Updated URL for beginner issues by @wxman22 in #2114
- Convert instances of boolean indexing to ndarrays to pass dask tests in basic module by @rpmanser in #2090
- fix bug 2137 use scale with barbs by @kgoebber in #2140
- Fix plot_kwargs bug by @kgoebber in #2148
- Fix incorrect name in Declarative Tutorial by @sgdecker in #2172
- Correct docs for search_radius in interpolate functions by @dopplershift in #2184
- Correct array shape typos in natural_neighbor_to_grid by @jthielen in #2216
- Fix GEMPAK date parsing by @sgdecker in #2231
- BUG: Fix handling of reference level for moist_lapse (Fixes #2128) by @dopplershift in #2239
- Update stations.txt by @russ-schumacher in #2274
- Handle truncated vertical visibility by @sgdecker in #2270
- Unit support for interpolation functions by @dopplershift in #2271
Other Changes
- Denote unused return value as such by @dopplershift in #2026
- Misc cleanups by @dopplershift in #2029
CITATION.cff
1.2.0 by @dcamron in #2143- Ejssm citations by @dcamron in #2142
- Python 3.10 by @dopplershift in #2177
- run conda tests on python 3.10 by @akrherz in #2214
- Matplotlib Updates by @dopplershift in #2179
- Fix linkchecker build by @dopplershift in #2221
- Ignore flaky AMS meeting link by @dopplershift in #2223
- DOC: Fix redirecting link (Fixes #2234) by @dopplershift in #2236
- Reduce warning to a debug log message by @dopplershift in #2241
- MNT: Update test images by @dopplershift in #2249
- Sourcery refactored main branch by @sourcery-ai in #1848
- Replace pytest.warns(None) by @dopplershift in #2245
- Fix up xarray doc links redirecting by @dopplershift in #2260
- Math tweaks by @dopplershift in #2261
- Add
__repr__
to TreeNode objects by @sgdecker in #2269 - support versions like x.y in docs/conf.py by @akrherz in #2291
- Improve some thermo calculation bottlenecks by refactoring how units are handled by @jthielen in #2064
New Contributors
- @C2oWisComing made their first contribution in #1990
- @brianlo747 made their first contribution in #2036
- @wxman22 made their first contribution in #2114
- @russ-schumacher made their first contribution in #2274
Full Changelog: v1.1.0...v1.2.0