Skip to content

Commit

Permalink
remmoved decorators and metpy quantify methods
Browse files Browse the repository at this point in the history
  • Loading branch information
winash12 committed May 26, 2024
1 parent a3ae23e commit 0dc0cd5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/metpy/calc/kinematics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1487,8 +1487,6 @@ def rotational_wind_from_inversion(umask, vmask, vortmask, dx, dy, o_bb_indices,
upsi[:, :] = (1 / (2 * np.pi)) * upsi[:, :]
vpsi[:, :] = (1 / (2 * np.pi)) * vpsi[:, :]

upsi = upsi.metpy.quantify()
vpsi = vpsi.metpy.quantify()
return upsi, vpsi


Expand Down Expand Up @@ -1546,6 +1544,5 @@ def divergent_wind_from_inversion(umask, vmask, divmask, dx, dy, o_bb_indices, i

uchi[:, :] = (1 / (2 * np.pi)) * uchi[:, :]
vchi[:, :] = (1 / (2 * np.pi)) * vchi[:, :]
uchi.metpy().quantify()
vchi.metpy().quantify()

return uchi, vchi

0 comments on commit 0dc0cd5

Please sign in to comment.