MetPy 0.7 Released

MetPy 0.7.0 has been released:

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

Vorticity Advection

Contributors

@akrherz, @dennissergeev, @eliteuser26, @jthielen, @leouieda, @lsterzinger, @shofer16450, @tjwixtrom, @WEP11, @jrleeman, and @dopplershift all contributed commits 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.

Comments:

Post a Comment:
Comments are closed for this entry.
News@Unidata
News and information from the Unidata Program Center
News@Unidata
News and information from the Unidata Program Center

Welcome

FAQs

Developers’ blog

Recent Entries:
Take a poll!

What if we had an ongoing user poll in here?

Browse By Topic
Browse by Topic
« December 2024
SunMonTueWedThuFriSat
2
3
4
5
6
7
8
11
12
13
14
15
16
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    
       
Today