Skip to content

Commit

Permalink
fix divergence unit requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
kgoebber committed Oct 6, 2019
1 parent 54fd284 commit a744f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metpy/calc/kinematics.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def vorticity(u, v, dx, dy):
@exporter.export
@preprocess_xarray
@ensure_yx_order
@check_units('[speed]', '[speed]', '[length]', '[length]')
@check_units(dx='[length]', dy='[length]')
def divergence(u, v, dx, dy):
r"""Calculate the horizontal divergence of the horizontal wind.
Expand Down

0 comments on commit a744f71

Please sign in to comment.