arlmet.Grid.rotate_winds#
- Grid.rotate_winds(u, v, lon, lat)[source]#
Rotate grid-relative wind components to earth-relative ones.
Winds in ARL files on projected grids are stored relative to the grid axes, which is what HYSPLIT expects. This rotates them by the meridian convergence at each point so that
upoints east andvnorth. Lat/lon grids are returned unchanged.- Parameters:
- Returns:
Earth-relative
(u, v)with the broadcast shape of the inputs.- Return type: