MetPy 0.6.0 has been released. This release has a wide collection of new features as well as minor bug fixes, including several contributions from our community:
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 (https://unidata.github.io/siphon) 0.6.
equivalent_potential_temperature
has changed to explicitly take adewpoint
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
andcoriolis_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, @brianmapes, @jrleeman, @kgoebber, @mwilson14, @nawendt, @tjwixtrom, and @dopplershift all contributed code to this release.
For full release notes see the GitHub Release Page.
MetPy packages are available for Conda on the conda-forge channel and for pip from the Python Package Index.
Let us know if you run into any problems, either at MetPy issue tracker, or on the python-users list.
Hello.
I have a question about how to run the met.py script. Is there any specific program under this script? And how to "load" to it a data machine?
Posted by Dawid GAckowski on October 23, 2017 at 04:10 AM MDT #
David,
Sure! You may want to take a look at MetPy's install guide: https://unidata.github.io/MetPy/latest/installguide.html
If you're unfamiliar with working with Python, you may want to look at Unidata's Online Python Training:
https://unidata.github.io/online-python-training
or the MetPy Monday screencast on installing and using Conda:
http://www.unidata.ucar.edu/blogs/developer/entry/metpy-mondays-1-conda-installation
Posted by Ryan May on October 23, 2017 at 06:46 AM MDT #