Metpy

Latest version: v1.6.3

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

Scan your dependencies

Page 5 of 9

0.10.2

Highlights
* Fix for import error with xarray 0.12.2
* Fixes for pint 0.9
* Fixes skewT ticks issue with matplotlib 3.1
* Fixes for interpolation with scipy 1.3.0
* Allows using any version of pooch
* Requires numpy >= 1.12.0

Issues Closed

* [Issue 1077](https://github.com/Unidata/MetPy/issues/1077) - Xarray v0.12.2 (29 June 2019) breaking metpy No module named 'xarray.core.accessors' ([PR 1078](https://github.com/Unidata/MetPy/pull/1078))
* [Issue 1043](https://github.com/Unidata/MetPy/issues/1043) - metpy tests fail with scipy 1.3 ValueError: ndarray is not C-contiguous ([PR 1053](https://github.com/Unidata/MetPy/pull/1053))
* [Issue 997](https://github.com/Unidata/MetPy/issues/997) - MetPy broken by pint 0.9 ([PR 1087](https://github.com/Unidata/MetPy/pull/1087))
* [Issue 987](https://github.com/Unidata/MetPy/issues/987) - Update SkewT implementation

In this release 4 issues were closed.

Pull Requests Merged

* [PR 1087](https://github.com/Unidata/MetPy/pull/1087) - Fix pint 0.9 errors from units.wraps and iterable ([997](https://github.com/Unidata/MetPy/issues/997))
* [PR 1085](https://github.com/Unidata/MetPy/pull/1085) - Matplotlib 3.1 fixes
* [PR 1078](https://github.com/Unidata/MetPy/pull/1078) - Conditional import of the DatetimeAccessor due to xarray update ([1077](https://github.com/Unidata/MetPy/issues/1077))
* [PR 1053](https://github.com/Unidata/MetPy/pull/1053) - Fix Scipy 1.3 not-C-contiguous error ([1043](https://github.com/Unidata/MetPy/issues/1043))
* [PR 1045](https://github.com/Unidata/MetPy/pull/1045) - migrate mpl.cbook.iterable to numpy.iterable
* [PR 1031](https://github.com/Unidata/MetPy/pull/1031) - allow any pooch >= 0.1 to be used

In this release 6 pull requests were closed.

0.10

API Changes
* `potential_vorticity_baroclinic` was changed to take all 3D variables, with dimensions ordered: vertical, y, x.

Highlights
* MetPy has gained a simplified plotting interface designed to mimic that of GEMPAK. It uses a handful of objects on which users set attributes to values to control the plot, requiring data in an xarray `DataArray` or `Dataset`. See MetPy's [plotting examples](https://unidata.github.io/MetPy/latest/examples/index.html#plotting) for more information.
* MetPy's xarray accessor now has its own versions of `loc` and `sel` that accept unit-ed values.
* Added an n-point soothing function
* `moist_lapse` and `dry_lapse` now accept an arbitrary starting (reference) pressure value.
* `potential_vorticity_baroclinic` now works with data either on isobaric or isentropic surfaces.
* MetPy now has state borders that match the boundaries of the county borders.
* `SkewT` instances can now be created at an arbitrary rectangular location within a figure.
* MetPy's calculations have been adjusted so that the values of constants can be overridden by changing the values in the `constants` module.

Contributors

akrherz, JoyMonteiro, jthielen, kgoebber, mendezr, tsupinie, vardan10, jrleeman, and dopplershift contributed code to this release.

Issues Closed

* [Issue 977](https://github.com/Unidata/MetPy/issues/977) - Support pooch 0.2 ([PR 978](https://github.com/Unidata/MetPy/pull/978))
* [Issue 974](https://github.com/Unidata/MetPy/issues/974) - Change xarray projection warning
* [Issue 973](https://github.com/Unidata/MetPy/issues/973) - Problems with profile calculations and NUCAPS data
* [Issue 969](https://github.com/Unidata/MetPy/issues/969) - wind_components: conversion to unit angle radian not implemented ([PR 979](https://github.com/Unidata/MetPy/pull/979))
* [Issue 960](https://github.com/Unidata/MetPy/issues/960) - `parse_cf` should not delete the `grid_mapping` attribute
* [Issue 939](https://github.com/Unidata/MetPy/issues/939) - Python 3.7
* [Issue 936](https://github.com/Unidata/MetPy/issues/936) - Add state boundaries to match USCOUNTIES
* [Issue 895](https://github.com/Unidata/MetPy/issues/895) - Potential Vorticity ([PR 963](https://github.com/Unidata/MetPy/pull/963))
* [Issue 813](https://github.com/Unidata/MetPy/issues/813) - Update dependencies ([PR 984](https://github.com/Unidata/MetPy/pull/984))
* [Issue 725](https://github.com/Unidata/MetPy/issues/725) - Removals/Deprecations in 0.10
* [Issue 85](https://github.com/Unidata/MetPy/issues/85) - dry and moist adiabiat skewt lines ([PR 964](https://github.com/Unidata/MetPy/pull/964))

In this release 11 issues were closed.

Pull Requests Merged

* [PR 990](https://github.com/Unidata/MetPy/pull/990) - Make necessary coordinate information for cross sections clearer
* [PR 989](https://github.com/Unidata/MetPy/pull/989) - Declarative/simplified plotting
* [PR 986](https://github.com/Unidata/MetPy/pull/986) - Change axis-tracking attribute from axis to _metpy_axis ([981](https://github.com/Unidata/MetPy/issues/981))
* [PR 984](https://github.com/Unidata/MetPy/pull/984) - Update requirements ([813](https://github.com/Unidata/MetPy/issues/813))
* [PR 979](https://github.com/Unidata/MetPy/pull/979) - Clarify wind_components docs ([969](https://github.com/Unidata/MetPy/issues/969))
* [PR 978](https://github.com/Unidata/MetPy/pull/978) - relax pooch requirement to >=0.1 ([977](https://github.com/Unidata/MetPy/issues/977))
* [PR 976](https://github.com/Unidata/MetPy/pull/976) - Change XArray projection warning to a logged message
* [PR 975](https://github.com/Unidata/MetPy/pull/975) - Fix interpolation tests for SciPy 1.2
* [PR 971](https://github.com/Unidata/MetPy/pull/971) - Add unit- and axis-aware selection to the metpy accessors ([970](https://github.com/Unidata/MetPy/issues/970))
* [PR 967](https://github.com/Unidata/MetPy/pull/967) - fix #960 and add test function
* [PR 964](https://github.com/Unidata/MetPy/pull/964) - Skew-T adiabat reference pressure ([85](https://github.com/Unidata/MetPy/issues/85))
* [PR 963](https://github.com/Unidata/MetPy/pull/963) - Update PV calc for isobaric ([895](https://github.com/Unidata/MetPy/issues/895))
* [PR 962](https://github.com/Unidata/MetPy/pull/962) - Miscellaneous Cleanup
* [PR 959](https://github.com/Unidata/MetPy/pull/959) - Add Skew-T axes at arbitrary locations
* [PR 958](https://github.com/Unidata/MetPy/pull/958) - MNT: Make io module docstring conform to standards
* [PR 956](https://github.com/Unidata/MetPy/pull/956) - MNT: Remove use of numpy.asscalar
* [PR 953](https://github.com/Unidata/MetPy/pull/953) - Test cleanup
* [PR 952](https://github.com/Unidata/MetPy/pull/952) - address pytest fixture warnings emitted by pytest==3.8.1
* [PR 951](https://github.com/Unidata/MetPy/pull/951) - Marginally increase testing coverage
* [PR 950](https://github.com/Unidata/MetPy/pull/950) - Remove edgecolor from county example
* [PR 944](https://github.com/Unidata/MetPy/pull/944) - Adds n point smoothing function
* [PR 940](https://github.com/Unidata/MetPy/pull/940) - Python37 ([939](https://github.com/Unidata/MetPy/issues/939))
* [PR 938](https://github.com/Unidata/MetPy/pull/938) - Add instructions for adding a file to the cache
* [PR 937](https://github.com/Unidata/MetPy/pull/937) - Adds US State borders at same scales as counties
* [PR 930](https://github.com/Unidata/MetPy/pull/930) - Access constants via module

In this release 25 pull requests were closed.

0.10.0

0.9.2

Hightlights

* Set default edge color for county borders
* Fix internal use of deprecated function
* Update required version of pooch
* Fix example and test issues with Matplotlib 3.0

Issues Closed

* [Issue 935](https://github.com/Unidata/MetPy/issues/935) - Set default edge color on counties
* [Issue 934](https://github.com/Unidata/MetPy/issues/934) - Add CI check for MetPyDeprecationWarning ([PR 948](https://github.com/Unidata/MetPy/pull/948))
* [Issue 933](https://github.com/Unidata/MetPy/issues/933) - pooch.create can fail to create cache directory, bombing out metpy/cbook.py

In this release 3 issues were closed.

Pull Requests Merged

* [PR 948](https://github.com/Unidata/MetPy/pull/948) - Deprecation check ([934](https://github.com/Unidata/MetPy/issues/934))
* [PR 947](https://github.com/Unidata/MetPy/pull/947) - Update for requirements
* [PR 946](https://github.com/Unidata/MetPy/pull/946) - Replace deprecated interp with interpolate_1d

In this release 3 pull requests were closed.

0.9.1

0.9

API Changes
* Renamed `get_wind_speed` to `wind_speed`; the old name is still available but is deprecated and will be removed in 0.12
* Renamed `get_wind_dir` to `wind_direction`; the old name is still available but is deprecated and will be removed in 0.12
* Renamed `get_wind_components` to `wind_components`; the old name is still available but is deprecated and will be removed in 0.12

Highlights

* Added support for cross-sections along arbitrary lat/lon paths
* Added `parcel_profile_with_lcl` to compute the parcel profile and return values for the parcel profile, as well as the ambient pressure, temperature, and dew point that includes the lcl
* Fixed corner case problems in some thermodynamic calculations by using parcel profiles including the LCL
* Added function to get a matplotlib color from a GEMPAK color number
* Added CartoPy map feature for U.S. counties
* `get_test_data` will now automatically download and cache data files if the user is not running a git checkout of MetPy. This makes all of our test/example data much more easily available.
* Added `smooth_gaussian`, which smooths a grid using a Gaussian distribution-shaped kernel; this is an analog of GEMPAK's `gwfs`
* Fixed error reading newer NEXRAD Level 2 files

Contributors

akrherz, JoyMonteiro, jthielen, leouieda, sgdecker, jrleeman, and dopplershift contributed code to this release.

Issues Closed

* [Issue 907](https://github.com/Unidata/MetPy/issues/907) - 'gpm' is not a defined unit ([PR 925](https://github.com/Unidata/MetPy/pull/925))
* [Issue 905](https://github.com/Unidata/MetPy/issues/905) - Add Units Tutorial ([PR 923](https://github.com/Unidata/MetPy/pull/923))
* [Issue 904](https://github.com/Unidata/MetPy/issues/904) - Respell API Docs ([PR 920](https://github.com/Unidata/MetPy/pull/920))
* [Issue 902](https://github.com/Unidata/MetPy/issues/902) - calc.lfc( ) bug report. ([PR 929](https://github.com/Unidata/MetPy/pull/929))
* [Issue 897](https://github.com/Unidata/MetPy/issues/897) - Doc build failing ([PR 898](https://github.com/Unidata/MetPy/pull/898))
* [Issue 884](https://github.com/Unidata/MetPy/issues/884) - Error: type 2 should be 80 bytes but got 120 ([PR 891](https://github.com/Unidata/MetPy/pull/891))
* [Issue 867](https://github.com/Unidata/MetPy/issues/867) - Suggested improvement for examples/Four_Panel_Map ([PR 921](https://github.com/Unidata/MetPy/pull/921))
* [Issue 866](https://github.com/Unidata/MetPy/issues/866) - Logging overrides user preferences ([PR 924](https://github.com/Unidata/MetPy/pull/924))
* [Issue 865](https://github.com/Unidata/MetPy/issues/865) - Rename `get_wind_direction` and `get_wind_speed` ([PR 868](https://github.com/Unidata/MetPy/pull/868))
* [Issue 863](https://github.com/Unidata/MetPy/issues/863) - Barbs slightly clipped on skewT
* [Issue 860](https://github.com/Unidata/MetPy/issues/860) - Systematically identify coordinate types for xarray ([PR 880](https://github.com/Unidata/MetPy/pull/880))
* [Issue 859](https://github.com/Unidata/MetPy/issues/859) - Expose globe in auto parsed projections ([PR 881](https://github.com/Unidata/MetPy/pull/881))
* [Issue 857](https://github.com/Unidata/MetPy/issues/857) - Update GEMPAK table ([PR 921](https://github.com/Unidata/MetPy/pull/921))
* [Issue 854](https://github.com/Unidata/MetPy/issues/854) - Suggested improvement for api/generated/metpy.calc.wet_bulb_temperature ([PR 856](https://github.com/Unidata/MetPy/pull/856))
* [Issue 842](https://github.com/Unidata/MetPy/issues/842) - Gradient Interface ([PR 869](https://github.com/Unidata/MetPy/pull/869))
* [Issue 809](https://github.com/Unidata/MetPy/issues/809) - Organize calc docs ([PR 889](https://github.com/Unidata/MetPy/pull/889))
* [Issue 690](https://github.com/Unidata/MetPy/issues/690) - Removals/Deprecations in 0.9 ([PR 882](https://github.com/Unidata/MetPy/pull/882))
* [Issue 447](https://github.com/Unidata/MetPy/issues/447) - Bake in county outlines ([PR 927](https://github.com/Unidata/MetPy/pull/927))
* [Issue 190](https://github.com/Unidata/MetPy/issues/190) - testdata missing

In this release 19 issues were closed.

Pull Requests Merged

* [PR 929](https://github.com/Unidata/MetPy/pull/929) - Calculation fixes ([902](https://github.com/Unidata/MetPy/issues/902))
* [PR 928](https://github.com/Unidata/MetPy/pull/928) - A Few Documentation Fixes
* [PR 927](https://github.com/Unidata/MetPy/pull/927) - Add US County features ([447](https://github.com/Unidata/MetPy/issues/447))
* [PR 925](https://github.com/Unidata/MetPy/pull/925) - Add gpm unit as an alias to meters ([907](https://github.com/Unidata/MetPy/issues/907))
* [PR 924](https://github.com/Unidata/MetPy/pull/924) - Fix logging setup ([866](https://github.com/Unidata/MetPy/issues/866))
* [PR 923](https://github.com/Unidata/MetPy/pull/923) - Add unit tutorial ([905](https://github.com/Unidata/MetPy/issues/905))
* [PR 922](https://github.com/Unidata/MetPy/pull/922) - BUG: Increase default x clipping radius for SkewT
* [PR 921](https://github.com/Unidata/MetPy/pull/921) - Doc/example updates ([867](https://github.com/Unidata/MetPy/issues/867), [857](https://github.com/Unidata/MetPy/issues/857))
* [PR 920](https://github.com/Unidata/MetPy/pull/920) - Respell doc page names for clarity ([904](https://github.com/Unidata/MetPy/issues/904))
* [PR 917](https://github.com/Unidata/MetPy/pull/917) - Add link to SciPy 2018 talk
* [PR 916](https://github.com/Unidata/MetPy/pull/916) - Add gempak_color() and related tests
* [PR 915](https://github.com/Unidata/MetPy/pull/915) - WIP: Use Pooch to download sample data ([8](https://github.com/fatiando/pooch/issues/8))
* [PR 911](https://github.com/Unidata/MetPy/pull/911) - Implement gwfs function from GEMPAK
* [PR 910](https://github.com/Unidata/MetPy/pull/910) - Fix non-tuple NumPy indexing in MetPy ([900](https://github.com/Unidata/MetPy/issues/900))
* [PR 908](https://github.com/Unidata/MetPy/pull/908) - Make handling units like 'degrees_north' a little nicer
* [PR 903](https://github.com/Unidata/MetPy/pull/903) - Add NARR Cross Section Example
* [PR 901](https://github.com/Unidata/MetPy/pull/901) - Update docstring for vorticity
* [PR 899](https://github.com/Unidata/MetPy/pull/899) - Make derivative calculations work with xarray DataArrays
* [PR 898](https://github.com/Unidata/MetPy/pull/898) - Remove removed functions from doc page override ([897](https://github.com/Unidata/MetPy/issues/897))
* [PR 892](https://github.com/Unidata/MetPy/pull/892) - "Improve this page" links for examples and tutorials
* [PR 891](https://github.com/Unidata/MetPy/pull/891) - Update nexrad ([884](https://github.com/Unidata/MetPy/issues/884))
* [PR 889](https://github.com/Unidata/MetPy/pull/889) - Reorganization of calc docs (with module template override option) ([809](https://github.com/Unidata/MetPy/issues/809))
* [PR 888](https://github.com/Unidata/MetPy/pull/888) - permit usage of temperature in Kelvin for heat_index calc
* [PR 887](https://github.com/Unidata/MetPy/pull/887) - fix apparent_temperature when only windchill is calculated
* [PR 882](https://github.com/Unidata/MetPy/pull/882) - Cleanup kinematics calculations and permit leading dimensions ([690](https://github.com/Unidata/MetPy/issues/690))
* [PR 881](https://github.com/Unidata/MetPy/pull/881) - Expose cartopy globe in CFProjection and xarray accessor ([859](https://github.com/Unidata/MetPy/issues/859))
* [PR 880](https://github.com/Unidata/MetPy/pull/880) - xarray Coordinate Identification Cleanup ([860](https://github.com/Unidata/MetPy/issues/860))
* [PR 879](https://github.com/Unidata/MetPy/pull/879) - Add cross section function and supporting calculations ([654](https://github.com/Unidata/MetPy/issues/654), [652](https://github.com/Unidata/MetPy/issues/652))
* [PR 876](https://github.com/Unidata/MetPy/pull/876) - Add conversions between omega and w
* [PR 875](https://github.com/Unidata/MetPy/pull/875) - Additional changes to drop python 3.4
* [PR 873](https://github.com/Unidata/MetPy/pull/873) - Drop python 3.4
* [PR 872](https://github.com/Unidata/MetPy/pull/872) - Changing gridding to interpolate
* [PR 871](https://github.com/Unidata/MetPy/pull/871) - Systematic Coordinate Identification
* [PR 869](https://github.com/Unidata/MetPy/pull/869) - Change x to coordinates in gradient and laplacian interface ([842](https://github.com/Unidata/MetPy/issues/842))
* [PR 868](https://github.com/Unidata/MetPy/pull/868) - Update Wind Functions ([865](https://github.com/Unidata/MetPy/issues/865), [794](https://github.com/Unidata/MetPy/issues/794))
* [PR 856](https://github.com/Unidata/MetPy/pull/856) - Update thermo.py ([854](https://github.com/Unidata/MetPy/issues/854))

In this release 36 pull requests were closed.

Page 5 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.