Metpy

Latest version: v1.6.1

Safety actively analyzes 613750 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

1.6.1

<!-- Release notes generated using configuration in .github/release.yml at main -->

Hightlights
* Fixed regression in `interpolate_to_slice` being strict about units
* Fixed regression in `PlotGeometry` drawing color-filled regions

What's Changed
Bugs Fixed 🐛
* Fix interpolate_to_slice unit handling by dopplershift in https://github.com/Unidata/MetPy/pull/3347
* Fix Plot Geometry Colorfills by kgoebber in https://github.com/Unidata/MetPy/pull/3355

**Full Changelog**: https://github.com/Unidata/MetPy/compare/v1.6.0...v1.6.1

1.6.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

Highlights
* Consistently use the WMO definition of relative humidity across calculations
* New calculations: wet bulb potential temperature, Corfidi MCS motion, DCAPE, and Galvez-Davidson Index
* Improvements for using isentropic interpolation with xarray data not natively on pressure surfaces (like WRF output)
* Support for specifying line stroke width in simplified plotting interface
* Support for controlling more style options for map layers in simplified plotting interface
* Support for rotated latitude longitude projection
* Support for Python 3.12
* Many bug fixes and clean ups

What's Changed
Breaking Changes 🛠
* Standardize RH calcs on WMO8 by dcamron in https://github.com/Unidata/MetPy/pull/3242
New Features 🎉
* add downward cape by wx4stg in https://github.com/Unidata/MetPy/pull/3120
* add corfidi MCS motion by wx4stg in https://github.com/Unidata/MetPy/pull/3116
* Wet bulb potential temperature by sec147 in https://github.com/Unidata/MetPy/pull/2952
Enhancements 😄
* Practical units for dry adiabatic lapse rate constant by alexander-lakocy in https://github.com/Unidata/MetPy/pull/3118
* Add string formatting information to unit tutorial by alexander-lakocy in https://github.com/Unidata/MetPy/pull/3119
* Update CCL/EL/LFC docstring to reflect that pressure should be monotonically decreasing by Z-Richard in https://github.com/Unidata/MetPy/pull/3114
* Add rotated latitude longitude projection to mapping.py by blaylockbk in https://github.com/Unidata/MetPy/pull/3123
* remove nans from bunkers input by wx4stg in https://github.com/Unidata/MetPy/pull/3131
* Add mpl_args and PlotGeometry stroke_width by kgoebber in https://github.com/Unidata/MetPy/pull/3183
* add more layer options for mappanel by kgoebber in https://github.com/Unidata/MetPy/pull/3174
* Generalize testing version comparison by dcamron in https://github.com/Unidata/MetPy/pull/3271
* DOC: Theme fixes, source links, and calendar by dcamron in https://github.com/Unidata/MetPy/pull/3281
* Add heat_index calculation examples by palewire in https://github.com/Unidata/MetPy/pull/3302
* return heat_index with temperature units by rwalton91 in https://github.com/Unidata/MetPy/pull/3307
* Check for duplicate levels in isentropic_interpolation_as_dataset by sgdecker in https://github.com/Unidata/MetPy/pull/3323
* Improve isentropic interpolation by dopplershift in https://github.com/Unidata/MetPy/pull/3324
Bugs Fixed 🐛
* DOC: Add negative to equation in the advection docs by dopplershift in https://github.com/Unidata/MetPy/pull/3153
* fix mlcape if parcel_start_pressure != bottom by wx4stg in https://github.com/Unidata/MetPy/pull/3147
* METAR/Station Plot fixes by dopplershift in https://github.com/Unidata/MetPy/pull/3297
Other Changes
* Bump the copyright year in the license file by dopplershift in https://github.com/Unidata/MetPy/pull/3125
* Use xfail for test that doesn't fail on arm64. by avalentino in https://github.com/Unidata/MetPy/pull/3150
* Add Complex Sounding Layout Example by kylejgillett in https://github.com/Unidata/MetPy/pull/3161
* ENH: Move xdrlib inside metpy by mgrover1 in https://github.com/Unidata/MetPy/pull/3117
* define dtype for station info lat-lon by kgoebber in https://github.com/Unidata/MetPy/pull/3188
* extend declarative colorbar functionality by kgoebber in https://github.com/Unidata/MetPy/pull/3181
* Create Advanced_Sounding_With_Complex_Layout.py by kylejgillett in https://github.com/Unidata/MetPy/pull/3204
* Make tests pass on macOS M2 by dopplershift in https://github.com/Unidata/MetPy/pull/3256
* MNT: Update link to ruff docs by dopplershift in https://github.com/Unidata/MetPy/pull/3265
* Update state and county shapefiles by dopplershift in https://github.com/Unidata/MetPy/pull/3293
* Cleanup warnings from tests by dopplershift in https://github.com/Unidata/MetPy/pull/3255
* Provide alternate recipe to build docs by sgdecker in https://github.com/Unidata/MetPy/pull/3330
* Update LI docs to reference and demonstrate mixed parcel usage by dcamron in https://github.com/Unidata/MetPy/pull/3331
* Avoid pandas warning by dopplershift in https://github.com/Unidata/MetPy/pull/3336

New Contributors
* alexander-lakocy made their first contribution in https://github.com/Unidata/MetPy/pull/3118
* blaylockbk made their first contribution in https://github.com/Unidata/MetPy/pull/3123
* avalentino made their first contribution in https://github.com/Unidata/MetPy/pull/3150
* wx4stg made their first contribution in https://github.com/Unidata/MetPy/pull/3131
* kylejgillett made their first contribution in https://github.com/Unidata/MetPy/pull/3161
* sec147 made their first contribution in https://github.com/Unidata/MetPy/pull/2952
* palewire made their first contribution in https://github.com/Unidata/MetPy/pull/3302
* rwalton91 made their first contribution in https://github.com/Unidata/MetPy/pull/3307

**Full Changelog**: https://github.com/Unidata/MetPy/compare/v1.5.1...v1.6.0

1.5.1

Highlights
* `el` and `lfc` handle NaN values in passed in profiles
* Clarification of `advection` docs
* Fixed bug in (log_)interpolate_1d with mixed `DataArray` and numpy arrays
* Fixed orientation of `StationaryFront` to match WPC bulletins by default
* Fixed color-mapped hodograph to no longer require units on input

Bugs Fixed 🐛
* Adjust user-provided parcel temperature profile for NaN values in EL and LFC by 23ccozad in https://github.com/Unidata/MetPy/pull/3056
* A couple typo fixes in the first paragraph by mcmxl22 in https://github.com/Unidata/MetPy/pull/3061
* Improve advection docstring by Z-Richard in https://github.com/Unidata/MetPy/pull/3093
* Fix interpolation with mixed types by dopplershift in https://github.com/Unidata/MetPy/pull/3103
* Fix fronts by dopplershift in https://github.com/Unidata/MetPy/pull/3098
* Unit agnostic intervals for color-mapped hodographs by 23ccozad in https://github.com/Unidata/MetPy/pull/3054

New Contributors
* mcmxl22 made their first contribution in https://github.com/Unidata/MetPy/pull/3061

**Full Changelog**: https://github.com/Unidata/MetPy/compare/v1.5.0...v1.5.1

1.5.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

Highlights
* Drawing fronts and boundaries using Matplotlib path effects for appropriate meteorological styling (e.g. cold fronts)
* Drawing regions with a scalloped style
* Parser for WPC surface bulletins
* CAPE and CIN calculations now use the virtual temperature correction
* Revamped the list of pre-defined plotting areas for the simplified plotting interface
* "Dark mode" now available in the docs (thanks pydata-sphinx-theme!)
* Last release to support Python 3.8

New Features 🎉
* Fronts Plotting Support by dopplershift in https://github.com/Unidata/MetPy/pull/2420
* Function for parsing WPC coded surface bulletins by 23ccozad in https://github.com/Unidata/MetPy/pull/1944
* Add scalloped path effect by nawendt in https://github.com/Unidata/MetPy/pull/2992
* Additional path effects by nawendt in https://github.com/Unidata/MetPy/pull/3003
Enhancements 😄
* A few doc fixes by dopplershift in https://github.com/Unidata/MetPy/pull/2971
* unit redefinition help for /s by kgoebber in https://github.com/Unidata/MetPy/pull/2994
* DOC: Add simple example plotting fronts using path effects by dopplershift in https://github.com/Unidata/MetPy/pull/2997
* Using Virtual Temperature in CAPE/CIN calculations by mgrover1 in https://github.com/Unidata/MetPy/pull/2437
* DOC: Simplify docstring example by dopplershift in https://github.com/Unidata/MetPy/pull/3026
* Update areas by kgoebber in https://github.com/Unidata/MetPy/pull/2949
Bugs Fixed 🐛
* BUG: Fix up some legacy NEXRAD level 2 parsing issues by dopplershift in https://github.com/Unidata/MetPy/pull/2996
* Fix formatting of "Returns" from most_unstable_parcel by dopplershift in https://github.com/Unidata/MetPy/pull/3009
* Improve GEMPAK "thinned GFS" files by dopplershift in https://github.com/Unidata/MetPy/pull/3024
* Support floats in image_range by wxmann in https://github.com/Unidata/MetPy/pull/3028
* BUG: Raise error in moist_lapse on solver fail by dopplershift in https://github.com/Unidata/MetPy/pull/3025
Other Changes
* Add ruff instructions to contributor's guide by dcamron in https://github.com/Unidata/MetPy/pull/2979
* Update METAR link to use production TDS by dopplershift in https://github.com/Unidata/MetPy/pull/3018
* CI: Swap over to PyPI trusted publishing by dopplershift in https://github.com/Unidata/MetPy/pull/3019
* Use weighted_continuous_average in bunkers_storm_motion by dcamron in https://github.com/Unidata/MetPy/pull/2999

New Contributors
* wxmann made their first contribution in https://github.com/Unidata/MetPy/pull/3028

**Full Changelog**: https://github.com/Unidata/MetPy/compare/v1.4.1...v1.5.0

1.4.1

<!-- Release notes generated using configuration in .github/release.yml at main -->
This is a bug fix release for 1.4.0.

Highlights
* Improved reading gridded Gempak files with multiple times assigned
* Added support for Matplotlib 3.7+ with improved unstable testing infrastructure
* Other doc fixes

Enhancements 😄
* Clarify density documentation by sgdecker in https://github.com/Unidata/MetPy/pull/2899
Bugs Fixed 🐛
* Fix bug in GempakGrid by nawendt in https://github.com/Unidata/MetPy/pull/2904
* Fixes for Matplotlib 3.7 by dopplershift in https://github.com/Unidata/MetPy/pull/2927
Other Changes
* Add Miller 1972 pdf to docs by dcamron in https://github.com/Unidata/MetPy/pull/2887


**Full Changelog**: https://github.com/Unidata/MetPy/compare/v1.4.0...v1.4.1

1.4.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

Highlights
* Fully projection/spherical-aware spatial derivative calculations (e.g. vorticity, divergence)
* Added calculations for SWEAT index, Convective Condensation Level (CCL), and convective temperature
* `ArrowPlot` and `RasterPlot` added to the simplified plotting interface, as well as other enhancements to the simplified plotting interface
* Many more examples in docstrings and example gallery
* Improve integration with other libraries that use Pint for unit-handling
* Converted GINI support to work as a proper xarray backend

New Features 🎉
* add declarative layer attributes control by kgoebber in https://github.com/Unidata/MetPy/pull/2425
* add accessor convert to base units by kgoebber in https://github.com/Unidata/MetPy/pull/2422
* Adds ArrowPlot to declarative by kgoebber in https://github.com/Unidata/MetPy/pull/2644
* Adding Raster Plot functionality by nmartinez233 in https://github.com/Unidata/MetPy/pull/2587
* add left and right title option by kgoebber in https://github.com/Unidata/MetPy/pull/2645
* add 2D calculation examples by kgoebber in https://github.com/Unidata/MetPy/pull/2628
* Add SWEAT Index calculate function. by C2oWisComing in https://github.com/Unidata/MetPy/pull/2580
* Implement convective condensation level (CCL) by Z-Richard in https://github.com/Unidata/MetPy/pull/2550
Enhancements 😄
* Update media page by dopplershift in https://github.com/Unidata/MetPy/pull/2428
* Improve the docs for Bunkers storm motion by dopplershift in https://github.com/Unidata/MetPy/pull/2503
* Add docstring examples for thickness_hydrostatic by Z-Richard in https://github.com/Unidata/MetPy/pull/2530
* DOCS: Add numerous calculation examples by kgoebber in https://github.com/Unidata/MetPy/pull/2588
* DOCS: create .magnitude tutorial by Z-Richard in https://github.com/Unidata/MetPy/pull/2655
* Add mean pressure weighted equation by Daviology38 in https://github.com/Unidata/MetPy/pull/2144
* Add numerous sounding examples by kgoebber in https://github.com/Unidata/MetPy/pull/2629
* Clarify meaning of `bottom_up_search` by dopplershift in https://github.com/Unidata/MetPy/pull/2696
* Enable sphinx nitpicky by zbruick in https://github.com/Unidata/MetPy/pull/1147
* Use Pint Application Registry by dopplershift in https://github.com/Unidata/MetPy/pull/2272
* Update GINI Xarray support by dopplershift in https://github.com/Unidata/MetPy/pull/2635
* Add axis labels to some sounding examples by dopplershift in https://github.com/Unidata/MetPy/pull/2717
* Improve the docs for absolute_momentum by dopplershift in https://github.com/Unidata/MetPy/pull/2735
* Add vertical_dim to several index calculations by dopplershift in https://github.com/Unidata/MetPy/pull/2744
* DOC: Add links to BAMS article 🎉 by dopplershift in https://github.com/Unidata/MetPy/pull/2771
* Change default SPECI parsing by nawendt in https://github.com/Unidata/MetPy/pull/2819
* Derivatives & map factors by dcamron in https://github.com/Unidata/MetPy/pull/2743
Bugs Fixed 🐛
* DOC: switch order of Parameters in specific_humidity_from_dewpoint by raybellwaves in https://github.com/Unidata/MetPy/pull/2421
* fix isentropic example by kgoebber in https://github.com/Unidata/MetPy/pull/2424
* Fix value mapper for NEXRAD DPR product by dopplershift in https://github.com/Unidata/MetPy/pull/2442
* TEST: Collapse the NIDS tests together by dopplershift in https://github.com/Unidata/MetPy/pull/2447
* adds RGB image ability to declarative by kgoebber in https://github.com/Unidata/MetPy/pull/2469
* catch metar visibility with zero denominator by akrherz in https://github.com/Unidata/MetPy/pull/2653
* Fix truncated text and decode SPCL obs by nawendt in https://github.com/Unidata/MetPy/pull/2658
* DOC: Fix artifact in NEXRAD level 2 example by dopplershift in https://github.com/Unidata/MetPy/pull/2668
* DOC: Correct mixed_layer_cape_cin example by dopplershift in https://github.com/Unidata/MetPy/pull/2659
* Fix resolution of grids generated by interpolate by dopplershift in https://github.com/Unidata/MetPy/pull/2674
* Add metadata to output of gdxarray by sgdecker in https://github.com/Unidata/MetPy/pull/2691
* fix mixing lines keyword args bug by AndrewLoeppky in https://github.com/Unidata/MetPy/pull/2326
* set default METAR year, month from UTC date by akrherz in https://github.com/Unidata/MetPy/pull/2701
* Interpolate broadcasting by dopplershift in https://github.com/Unidata/MetPy/pull/2728
* Improve default BarbPlot zorder by dopplershift in https://github.com/Unidata/MetPy/pull/2752
* Fix ContourPlot default linestyle by dopplershift in https://github.com/Unidata/MetPy/pull/2751
* Fix Natural Neighbor Verification example by dopplershift in https://github.com/Unidata/MetPy/pull/2761
* Parse 1/16SM visibility in METARs by dopplershift in https://github.com/Unidata/MetPy/pull/2808
* Ensure degree units by default for lat/lon in xarray by dopplershift in https://github.com/Unidata/MetPy/pull/2852
Other Changes
* Fix linkcheck by dopplershift in https://github.com/Unidata/MetPy/pull/2433
* MNT: Tweak Dependabot config by dopplershift in https://github.com/Unidata/MetPy/pull/2477
* Fix image tests by dopplershift in https://github.com/Unidata/MetPy/pull/2492
* Fix compatibility with future Pint by dopplershift in https://github.com/Unidata/MetPy/pull/2496
* Update numpydoc link by dcamron in https://github.com/Unidata/MetPy/pull/2501
* Remove "united" as meaning "having units" by dopplershift in https://github.com/Unidata/MetPy/pull/2432
* Ignore EHP heat index reference in link check by dcamron in https://github.com/Unidata/MetPy/pull/2528
* Add missing CF projection variable to test file by dopplershift in https://github.com/Unidata/MetPy/pull/2531
* Code changes using azimuth_range_to_lat_lon by nmartinez233 in https://github.com/Unidata/MetPy/pull/2538
* Update links to Xarray docs by dopplershift in https://github.com/Unidata/MetPy/pull/2617
* Update link to THREDDS server by dopplershift in https://github.com/Unidata/MetPy/pull/2623
* rebuild metar_parser with canopy 0.4.0 by akrherz in https://github.com/Unidata/MetPy/pull/2654
* Fix inconsistent R_v and Cp_l unit definitions by dcamron in https://github.com/Unidata/MetPy/pull/2656
* MNT: Update SkewXAxis for Matplotlib 3.6 by dopplershift in https://github.com/Unidata/MetPy/pull/2667
* DOC: Improve some formatting issues in docstrings by dopplershift in https://github.com/Unidata/MetPy/pull/2673
* Bump image test tolerance for osx-arm64 by dcamron in https://github.com/Unidata/MetPy/pull/2688
* Update GEMPAK comparison guide by dopplershift in https://github.com/Unidata/MetPy/pull/2689
* Point nonmult units link to pint stable by dcamron in https://github.com/Unidata/MetPy/pull/2727
* Update reference and link for WMO8 manual (Fixes 2737) by dopplershift in https://github.com/Unidata/MetPy/pull/2738
* Update link for Pint temperature unit docs by dopplershift in https://github.com/Unidata/MetPy/pull/2767
* DOC: Update link to WMO8 again by dopplershift in https://github.com/Unidata/MetPy/pull/2781
* Bump image threshold by dopplershift in https://github.com/Unidata/MetPy/pull/2805
* Conditionally define percent unit by dopplershift in https://github.com/Unidata/MetPy/pull/2813
* MNT: Update link for TDS by dopplershift in https://github.com/Unidata/MetPy/pull/2851

New Contributors
* Z-Richard made their first contribution in https://github.com/Unidata/MetPy/pull/2530
* nmartinez233 made their first contribution in https://github.com/Unidata/MetPy/pull/2538
* AndrewLoeppky made their first contribution in https://github.com/Unidata/MetPy/pull/2326
* Daviology38 made their first contribution in https://github.com/Unidata/MetPy/pull/2144

**Full Changelog**: https://github.com/Unidata/MetPy/compare/v1.3.0...v1.4.0

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.