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 7, 2019
1 parent 54fd284 commit e3a1b9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/metpy/calc/kinematics.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ 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.
r"""Calculate the horizontal divergence of a vector.
Parameters
----------
Expand Down

0 comments on commit e3a1b9b

Please sign in to comment.