Unidata / MetPy

MetPy is a collection of tools in Python for reading, visualizing and performing calculations with weather data.
https://unidata.github.io/MetPy/
BSD 3-Clause "New" or "Revised" License
1.25k stars 416 forks source link

Storm relative radial/tangential wind #653

Open jrleeman opened 6 years ago

jrleeman commented 6 years ago

Calculate the storm relative radial/tangential wind, the equivalent of GEMPAK's MTNG, MRAD.

From GEMPAK Docs:

MTNG  Magnitude of storm relative tangential wind
      MTNG ( V, LAT, LON, DIR, SPD ) = DOT ( Vrel, k X R )
             where Vrel is the velocity minus the storm motion vector
             specified by DIR and SPD, and R is a unit vector
             tangent to a great circle arc from the storm center
             specified by LAT, LON to a grid point.  k denotes the
         local vertical unit vector.
MRAD  Magnitude of storm relative radial wind
      MRAD ( V, LAT, LON, DIR, SPD ) = DOT ( Vrel, R )
             where Vrel is the velocity minus the storm motion vector
             specified by DIR and SPD, and R is a unit vector
             tangent to a great circle arc from the storm center
             specified by LAT, LON to a grid point.
jbzambon commented 3 years ago

If anyone is looking for this function, I put together some scripts that may be helpful.