Skip to content

Releases: Unidata/MetPy

0.11.0

30 Sep 20:51
a31af23
Compare
Choose a tag to compare

Version 0.11 (2019/09/30)

This is the FINAL RELEASE to support Python 2.7.

API Changes

  • MetPy's copy of the "viridis" colormap is deprecated. Use it directly from matplotlib instead.
  • Deprecated the tmpk_out argument for isentropic_interpolation; this will be removed in 1.0. Use temperature_out instead.
  • ageostrophic_wind now issues a FutureWarning due to an impending change to its function signature in 1.0--this will change the signature to ageostrophic_wind(heights, u, v, f, dx, dy) for better consistency with the rest of the library. To avoid this warning, import the function with from metpy.future import ageostrophic_wind.
  • Deprecated the bounds argument on Hodograph.plot_colormapped in favor of intervals to improve clarity on how to use the argument.
  • Removed previously deprecated:
    • lat_lon_grid_spacing: use lat_lon_grid_deltas instead
    • cdm module
    • GINIFile.to_dataset()

Highlights

  • Several SkewT fixes and enhancements, including reworking the transform so that it works in screen space; this helps it work much better on oddly shaped axes. On Matplotlib 3.2, this means that the SkewT maintains sensible data scaling. SkewT by default also now has sensible plot limits.
  • MetPy 0.10.x accidentally picked up a hard dependency on CartoPy, this has been removed
  • Expanded simplified plotting interface with more documentation and support for Barbs
  • Several bug fixes for lcl, el, lfc, and cape_cin
  • No longer require using .metpy.parse_cf() to activate coordinate identification with XArray
  • XArray accessor automatically converts problematic '%' units to 'percent'
  • Added unit support in reduce_point_density
  • wind_direction now supports specifying the convention (either 'to' or 'from') to support oceanographic applications (default remains 'from').
  • Improved numerical stability of geopotential<->height calculations
  • Added parsing of more combinations of weather symbols
  • Added specific_humidity_from_dewpoint, altimeter_to_station_pressure, altimeter_to_sea_level_pressure
  • heat_index now better matches NWS algorithm
  • Added angle_to_direction to convert wind direction in degrees to e.g. 'NE'
  • Added control of mask_undefined on apparent_temperature

Contributors

@ahuang11, @akrherz, @jthielen, @kgoebber, @leouieda, @mgrover1, @sgdecker, @tjwixtrom, @zbruick, @jrleeman, and @dopplershift contributed code to this release.

Issues Closed

In this release 46 issues were closed.

Pull Requests Merged

Read more

0.10.2

06 Jul 21:33
cdfad57
Compare
Choose a tag to compare

Version 0.10.2 (2019/07/06)

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

In this release 4 issues were closed.

Pull Requests Merged

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

In this release 6 pull requests were closed.

0.10.0

06 Jan 02:19
cee9d4d
Compare
Choose a tag to compare

Version 0.10 (2019-01-06)

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 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

In this release 11 issues were closed.

Pull Requests Merged

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

In this release 25 pull requests were closed.

0.9.2

29 Sep 20:10
d0d44e8
Compare
Choose a tag to compare

Version 0.9.2 (2018/09/29)

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 - Set default edge color on counties
  • Issue 934 - Add CI check for MetPyDeprecationWarning (PR 948)
  • Issue 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 - Deprecation check (934)
  • PR 947 - Update for requirements
  • PR 946 - Replace deprecated interp with interpolate_1d

In this release 3 pull requests were closed.

0.9.1

27 Aug 22:57
e416110
Compare
Choose a tag to compare

Version 0.9 (2018/08/27)

Fixes incorrect use of pooch that caused get_test_data to not work on released versions.

0.9.0

27 Aug 20:34
f47ebee
Compare
Choose a tag to compare

Version 0.9 (2018/08/27)

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

In this release 19 issues were closed.

Pull Requests Merged

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

In this release 36 pull requests were closed.

0.8.0

17 May 20:48
9879351
Compare
Choose a tag to compare

Version 0.8 (2018/05/17)

API Changes

  • lat_lon_grid_spacing has been deprecated in favor of lat_lon_grid_deltas. The latter gives properly signed values depending on the ordering of points in the lat/lon grid.
  • The deprecated upper air data reading support has been removed. Use the upper air support in siphon instead.
  • The function delete_masked_points has been renamed to _delete_masked_points, as it was not intended to be part of the supported API.
  • GINIFile.to_dataset(), which gives a netCDF4-python-like interface to the information in the file, has been deprecated. Instead, now an instance of GINIFile can be passed directly to xarray.open_dataset() to provide a similar interface. to_dataset() (as well as the non-public cdm module) will be removed in 0.11.

Highlights

  • MetPy now requires XArray. Using XArray, MetPy provides some custom accessors under the .metpy attribute on Dataset and DataArray. This allows simplified access to the underlying grid projection as a CartoPy projection, as well as simplified access to data as an array with units attached. (See the XArray_Projections.py example) MetPy calculation functions will also now automatically convert an XArray DataArray with units metadata into a proper array with units. Future releases of MetPy will improve the integration with XArray.
  • GINIFile now works directly as an XArray storage backend. See the updated GINI_Water_Vapor.py example for details. Support for Unidata NEXRAD composites in GINI format was also added.
  • MetPy's colortables are now available from metpy.plots.colortables rather than needing to do metpy.plots.ctables.registry.
  • Fixed a few corner cases with isentropic interpolation, including problems with columns of entirely missing data (frequently encountered with NARR data)
  • lfc and el now work with arbitrary parcel profiles
  • Gradient and related functions now properly propagate masked values
  • Text and time formatting for add_timestamp() are now configurable
  • New calculations
    • Absolute vorticity
    • Ageostrophic wind
    • Apparent temperature (combines wind chill and heat index)
    • Brunt-Väisälä frequency and period
    • Critical angle (severe weather parameter)
    • Dewpoint (from specific humidity)
    • Exner function
    • Inertial advective wind
    • Parse angle (converts strings like "ESE" to degree values)
    • Potential temperature to temperature
    • Potential vorticity
    • Q Vector
    • Saturation equivalent potential temperature
    • Static stability
    • Wet bulb temperature
  • Other assorted bug fixes
  • Reminder: MetPy plans to drop support for Python 2.7 in Fall 2019

Contributors

@ahuang11, @akrherz, @asselapathirana, @eliteuser26, @jthielen, @kishan3, @Meteodan, @mwilson14, @shofer16450, @tjwixtrom, @WEP11, @jrleeman, and @dopplershift all contributed commits to this release.

Issues Closed

  • Issue #841 - Update GEMPAK table
  • Issue #836 - Examples fail on netcdf4 1.4
  • Issue #833 - apparent_temperature with scalars
  • Issue #827 - Themo.py parcel_profile edge case all p less than lcl
  • Issue #820 - Suggested improvement for api/generated/metpy.calc.bulk_shear
  • Issue #819 - Unify and fix dev/contributor docs
  • Issue #812 - Add missing items to plots and gridding namespaces
  • Issue #810 - Segmented Hodograph Misses Surface
  • Issue #806 - Add quiver functionality to hodograph
  • Issue #805 - Make hodograph creation unit aware
  • Issue #803 - Document Python 2.7 plans
  • Issue #802 - Add information about semantic versioning
  • Issue #798 - isentropic_interpolation() should enforce a search direction, ideally user specifiable
  • Issue #797 - Add unit helper for pandas data frames
  • Issue #795 - Update GINI support
  • Issue #789 - get_layer_heights modifying heights in place
  • Issue #782 - Advertise Stack Overflow for support
  • Issue #774 - GEOD kwargs override in lat_lon_grid_spacing
  • Issue #773 - Coriolis Units
  • Issue #769 - isentropic_interpolation error on NARR isobaric data
  • Issue #757 - Exner Function
  • Issue #756 - Change all example calculation imports to mpcalc
  • Issue #755 - Montgomery Stream Function Docs
  • Issue #750 - Make LFC/EL calculations respect chosen parcel profile?
  • Issue #737 - Add optional unit conversion to barbs
  • Issue #730 - Increase versatility of add_timestamp
  • Issue #724 - Create feels_like function as frontend to windchill and heat_index
  • Issue #722 - Fix build again
  • Issue #716 - metpy.calc.gradient docs are unclear
  • Issue #712 - Add tests for gradient
  • Issue #708 - Add calls to add_timestamp to examples
  • Issue #703 - mixing_ratio_from_relative_humidity returns values in percent
  • Issue #702 - potential temperature to temperature
  • Issue #700 - Export gradient
  • Issue #699 - Make lat_lon_grid_spacing aware of sign
  • Issue #693 - Freetype Pinning
  • Issue #689 - Removals/Deprecations in 0.8
  • Issue #687 - Fix doctests with numpy 1.14
  • Issue #683 - Clean up isentropic interpolation example
  • Issue #650 - Potential Vorticity
  • Issue #642 - Masked arrays and gradient
  • Issue #640 - Inertial Advective Wind
  • Issue #616 - Clean up sigma interpolation example
  • Issue #409 - Add calculation for wet bulb temperature
  • Issue #306 - Improve Contributor Documentation

In this release 45 issues were closed.

Pull Requests Merged

  • PR #851 - MNT: Fix some non-standard naming
  • PR #850 - Optimize parse_angle
  • PR #849 - Fix mask propagation in gradient
  • PR #848 - Clean up examples
  • PR #847 - Xarray Conversion Decorator
  • PR #846 - Isentropic updates
  • PR #844 - Add new functionality to GEMPAK table
  • PR #843 - Added a function to calculate critical angle.
  • PR #840 - Remove requirements text
  • PR #839 - Exposing functionality
  • PR #838 - Apparent temperature working with scalars
  • PR #835 - Delete masked points
  • PR #834 - Add example usage of parse_angle()
  • PR #831 - Hodograph units
  • PR #830 - Add tests for gradient
  • PR #829 - Update GINI Support
  • PR #828 - parcel_profile fails with truncated pressure profile
  • PR #826 - LFC above LCL
  • PR #825 - Pass parcel profile through cape_cin calculation
  • PR #824 - Dewpoint From Specific Humidity
  • PR #822 - Doc maint
  • PR #821 - Adding calculation of LFC and EL for arbitrary parcel profile
  • PR #818 - MNT: Fix travis doc build
  • PR #817 - Feels like temperature
  • PR #816 - Hodograph arrows
  • PR #815 - Refactor colored line segment hodograph
  • PR #814 - Documentation updates
  • PR #811 - Removes grid size warning from generate_grid
  • PR #807 - Pandas unit helper
  • PR #796 - BUG: Fix get_layer_heights modifying heights in-place (Fixes #789)
  • PR #793 - Improve logging in NEXRAD Level 3
  • PR #786 - Xarray + CF + CartoPy Projection Handling
  • PR #783 - Add new metpy/calc/tools parse_angle
  • PR #781 - Remove upperair support
  • PR #780 - Remove keys()
  • PR #779 - Add Exner Function
  • PR #778 - Add Q-vector and Static Stability Calculations
  • PR #777 - Add inertial advective wind calculation
  • PR #776 - Geod kwarg override
  • PR #775 - Coriolis units to 1/s
  • PR #771 - Updating tests
  • PR #768 - Four panel example edit
  • PR #766 - Potential vorticity
  • PR #765 - CartoPy Updates
  • PR #759 - MNT: use mpcalc as import alias for metpy.calc
  • PR #758 - Fix rendering issues in Montgomery Streamfunction
  • PR #754 - Absolute vorticity
  • PR #753 - Rename testdata
  • PR #749 - MNT: Fix Travis testing with CartoPy
  • PR #748 - Add saturation equivalent potential temperature
  • PR #747 - Add county outline files
  • PR #746 - Add potential temperature to temperature conversion
  • PR #744 - Fix dependecies. #734
  • PR #741 - Adds custom grid boundary to interpolate
  • PR #740 - Fix return types in docstrings of logo functions
  • PR #739 - Ageostrophic wind
  • PR #738 - Barb unit conversion at plot time
  • PR #736 - Fix Level3File
  • PR #735 - Fix Example/Tutorial Flake
  • PR #733 - Add Dry Air Density Constant
  • PR #732 - Add timestamp options
  • PR #731 - Wet Bulb Temperature
  • PR #727 - Add lat_lon_grid_deltas function to replace lat_lon_grid_spacing
  • PR #720 - Add precipitation color table
  • PR #718 - Add calls to 'add_timestamp' to examples
  • PR #711 - Export gradient
  • PR #710 - Clean up sigma interpolation example
  • PR #709 - Fix build
  • PR #707 - Force mixing_ratio_from_relative_humidity to return dimensionless
  • PR #695 - Add Batch of Functions for Brunt-Väisälä Frequency and Period

In this release 70 pull requests were closed.

0.7.0

04 Jan 19:50
ba13b4c
Compare
Choose a tag to compare

Version 0.7 (2018/01/04)

API Changes

  • The default dimension ordering for functions in kinematics (i.e. when dim_order is not passed) has changed from "xy" to "yx". This lets more data work out of the box with these functions, and has been warned since 0.5.1
  • Renamed h_convergence and v_vorticity to divergence and vorticity, respectively. These latter names are simpler and more accurate. The old names are still available for old code, but are deprecated and will be removed in 0.9.
  • convergence_vorticity and shearing_stretching_deformation are deprecated, and will be removed in 0.9. These functions existed as performance optimizations, but new calculation internals renders them unnecessary.
  • The parameter sblcl for significant_tornado has been renamed to surface_based_lcl_height to improve clarity. This only affects users who were passing by keyword argument.
  • Changed relative_humidity_wet_psychrometric, relative_humidity_from_mixing_ratio, and relative_humidity_from_specific_humidity to return values as unitless ratios rather than percentages, for better symmetry with the rest of the library.

Highlights

  • Added our own functions for first_derivative, second_derivative, gradient, and laplacian. These are 3 point finite difference calculations that handle irregularly spaced grid points.
  • Added function to calculate x,y grid spacing for latitude/longitude grids
  • Added table of equivalencies between GEMPAK functions and Python. This is an on-going effort to provide a resource for migrating from GEMPAK.
  • Added ability to add_timestamp to add outlined text
  • New calculations
    • Thickness (using hypsometric formula)
    • Geopotential to/from height
    • Mixing ratio from relative humidity
    • Moist static energy
    • Dry static energy

Contributors

@akrherz, @dennissergeev, @eliteuser26, @jthielen, @leouieda, @lsterzinger, @shofer16450, @tjwixtrom, @WEP11, @jrleeman, and @dopplershift all contributed commits to this release.

Issues Closed

In this release 18 issues were closed.

Pull Requests Merged

  • PR 698 - MNT: Change default dimension ordering for kinematics functions
  • PR 697 - Add high contrast functionality to timestamp (610)
  • PR 694 - Change unit attachment to LCL pressure (619)
  • PR 692 - Add gradient and derivatives for irregular grids (174)
  • PR 688 - Fix versioned doc handling (675)
  • PR 686 - DOC: Correct "the the" typos
  • PR 684 - Respelling of v_vorticity and h_divergence
  • PR 682 - Add RTD Theme
  • PR 681 - Add relative humidity calculation from dewpoint function
  • PR 679 - Make mixing_ratio return 'dimensionless'
  • PR 678 - New functions for calculation of geopotential from height and vice versa
  • PR 677 - Update to Treat RH as a Unitless Ratio in Existing Functions
  • PR 676 - Replace "View source" with "Improve this page" (673)
  • PR 674 - GEMPAK Conversion Table (574)
  • PR 672 - Add Code of Conduct
  • PR 671 - Update gridding_functions.py
  • PR 669 - Add a Mixing Ratio from RH Calculation
  • PR 668 - DOC: check presence of patched rtd_theme prior to setting versions
  • PR 625 - Ensure that appropriate constants and function results are dimensionless (623)
  • PR 624 - Hodograph coloring bound units (615)
  • PR 622 - Indices scalar input (608)
  • PR 621 - Add a Thickness Calculation
  • PR 620 - Rename Convergence Functions to Divergence (617)
  • PR 618 - Docs cleanup (312)
  • PR 612 - [MNT] Fix flake8 import order issues
  • PR 611 - Update returns of figure annotations (609)
  • PR 607 - Static energy calculations
  • PR 605 - Specific humidity from mixing ratio
  • PR 533 - Calc dx dy

In this release 29 pull requests were closed.

0.6.1

05 Nov 06:14
d290880
Compare
Choose a tag to compare

Version 0.6.1 (2017/11/04)

API Change

  • Small API change to change storm_relative_helicity to take heights, as well as an argument for depth. This fixes a bug in the original design of the function where the default bottom was 0, which is below the first level of most soundings.

Highlights

  • Fix bugs in corner cases of get_layer, precipitable_water, el, and bulk_shear
  • Fix use of units with plot_colormapped on Hodograph
  • Fix lack of projection of wind barbs in StationPlot when using CartoPy
  • Enable interpolation by default when calling shade_cape and friends for SkewT
  • Fixed up definitions of CAPE and CIN to be net integrals above and below the LFC, respectively
  • Add MetPy logo to examples

Issues Closed

In this release 12 issues were closed.

Pull Requests Merged

  • PR 604 - Improve logo positioning (563)
  • PR 603 - Integrate all areas for CAPE/CIN (370)
  • PR 602 - get_layer bounds improvements (596)
  • PR 600 - Fix projection of barbs in StationPlot
  • PR 597 - get_layer with data in increasing pressure order (593)
  • PR 595 - Cleanup precipitable water
  • PR 577 - Storm Relative Helicity Improvements (576)
  • PR 572 - Hodograph coloring units ([569](https://github.com/an issue where units were being dropped and causing improper plots. Closes /issues/569))
  • PR 571 - Turn on interpolation in CAPE/CIN shading by default (566)
  • PR 570 - Assign depth kwarg default value if it is None in get_layer (568)
  • PR 565 - Update Sounding Tutorial/Examples
  • PR 564 - Update GINI Example with new color table values (560)
  • PR 562 - Simplify EL calculation
  • PR 561 - Return figure object when adding logo

In this release 14 pull requests were closed.

0.6.0

15 Sep 17:34
c5249c2
Compare
Choose a tag to compare

Version 0.6 (2017/09/15)

Summary

API Changes

  • MetPy's upper air data download functionality has been deprecated, and will be removed in version 0.8. This functionality can now be found in Siphon 0.6.
  • equivalent_potential_temperature has changed to explicitly take a dewpoint parameter. The previous implementation of this calculation was only valid for pressure and temperature corresponding to the lifted condensation level (LCL). The new formula accepting dewpoint explicitly is valid everywhere.

Other Changes

  • Additional calculations
    • CAPE/CIN, including most unstable and surface-based
    • precipitable water
    • Montgomery streamfunction
    • supercell composite
    • significant tornado parameter
    • frontogenesis and (shear, stretching, total) deformation
    • relative humidity
    • storm relative helicity
    • Bunker's storm motion
  • Added isentropic interpolation
  • Added support for 1D interpolation on multi-dimensional arrays
  • Added example for interpolating from sigma coordinates to pressure coordinates
  • Support for coloring layers on a hodograph
  • Support for coloring wind barbs on skew-T
  • Added function for adding MetPy and/or Unidata logos to figures
  • Added warnings to get_wind_components and coriolis_parameter when it seems that degree values are accidentally passed in without units (which treats them as radians)
  • Simplified turning on clipping on StationPlot

Dependency Updates

  • Minimum supported NumPy version is now 1.10.0
  • Minimum supported Pint version is now 0.8

Contributors

@abkenyon, @bryanguarente, @brianmapes, @jrleeman, @kgoebber, @mwilson14, @nawendt, @tjwixtrom, and @dopplershift all contributed code to this release.

Issues Closed

  • Issue 555 - skew.ax.set_xlim() Values Being Overwritten
  • Issue 550 - Add our own implementation for is_string_like
  • Issue 546 - Clipping surface plots with layout
  • Issue 538 - Use shade_cape and shade_cin
  • Issue 516 - Add deprecation warning for get_upper_air_data
  • Issue 507 - Add capability to manually control station plot size
  • Issue 504 - Add mapping of METAR wx codes to WMO numeric codes
  • Issue 489 - NEXRAD Level 2 AssertionError
  • Issue 479 - Clean up constants documentation
  • Issue 467 - Duplicated output points in find_intersections
  • Issue 460 - Add reduce_point_density to examples
  • Issue 450 - Level3File threshold error
  • Issue 445 - Weird output from IAState
  • Issue 435 - Handle Wyoming Server Downtime Gracefully
  • Issue 431 - Re-enable Sphinx linkcheck
  • Issue 428 - Update References
  • Issue 425 - Unused Function Parameter in Point_Interpolation Example
  • Issue 424 - Input validation for dewpoint_rh
  • Issue 410 - Add MetPy logo and timestamp option
  • Issue 400 - Improve colormaps
  • Issue 340 - Reproduce Doswell and Rasmussen, 1994
  • Issue 294 - Pressure to theta conversion
  • Issue 293 - Sigma to pressure conversion
  • Issue 284 - Use doctr for documentation deployment
  • Issue 16 - CAPE/CIN calculation

In this release 25 issues were closed.

Pull Requests Merged

  • PR 559 - Add unidata logo
  • PR 557 - Add warning when coriolis calculation latitude is over pi radians
  • PR 556 - Remove x limit setting in skewt.plot
  • PR 554 - Fix duplication of intersections in find_intersections
  • PR 553 - Remove is_string_like
  • PR 552 - Fix #546
  • PR 551 - Wind direction warning
  • PR 545 - Supercell Composite and Significant Tornado Parameters
  • PR 543 - ENH: Fully implement matplotlib/pint integration
  • PR 539 - Update to shade helpers in docs
  • PR 536 - Storm Motion and Shear
  • PR 535 - Update wx_code_map in wx_symbols.py
  • PR 531 - MNT: QuantifiedCode is dead
  • PR 528 - Doc cleanup
  • PR 527 - MNT: Update some links that were redirecting
  • PR 526 - Colormap improvements
  • PR 525 - Dewpoint from RH input validation.
  • PR 523 - GitHub enhancements
  • PR 521 - adds frontogenesis calculation and test
  • PR 520 - Isentropic Example
  • PR 519 - MNT: Deprecate get_upper_air_data
  • PR 515 - Pressure-Weighted Mean
  • PR 514 - Sigma to Pressure Interpolation Example
  • PR 513 - ENH: Add link to MetPy poster and repo for SciPy 2017
  • PR 512 - wmo code dictionary added to wx_symbols.py
  • PR 511 - Theta-E
  • PR 510 - MNT: Bump numpy requirement to 1.10.0
  • PR 509 - ENH: Add link to MetPy units talk
  • PR 506 - Reduce point density in Station_Plot.py example
  • PR 505 - NEXRAD parser fixes
  • PR 503 - Constants documentation
  • PR 502 - Add unit verification to find_intersections
  • PR 497 - Floating comparisons
  • PR 494 - Most Unstable CAPE
  • PR 492 - SBCAPE
  • PR 491 - Fixing minor LFC bug
  • PR 490 - El Bug Fix
  • PR 487 - Precipitable Water
  • PR 486 - Mixed parcel and layer
  • PR 485 - BUG: Fix get_layer with float32 data
  • PR 484 - Cleanup point interpolation example
  • PR 483 - Move contributor guide
  • PR 482 - Hodograph Layer Coloring
  • PR 481 - Interp Bug Fix
  • PR 477 - Add sigma to pressure conversion
  • PR 475 - Get layer interpolation fix
  • PR 473 - Most unstable parcel
  • PR 472 - Change Pint dependency to version 0.8.
  • PR 469 - LFC and EL calculations when LFC = LCL
  • PR 468 - Log interpolation
  • PR 465 - CAPE and CIN Calculations
  • PR 464 - Update references
  • PR 462 - Added a function to calculate storm-relative helicity given a storm motion vector and a wind profile.
  • PR 459 - Have get_upper_air_data bring in height data.
  • PR 456 - Fixes
  • PR 455 - Montgomery Streamfunction
  • PR 454 - Isentropic pressure
  • PR 453 - Log interpolation
  • PR 446 - Relative humidity
  • PR 444 - Get Layer Function
  • PR 443 - Pressure height helpers
  • PR 439 - MNT: Refactor lcl to use scipy.optimize
  • PR 432 - Be better about closing file handles
  • PR 429 - Fix build
  • PR 427 - Adds total deformation calculation
  • [PR 419](https://github.com/Unid...
Read more