[xWind yWind] = Wind2Vxy(upSpec,Atm,[G]);
Rotate components of natural wind transverse to the line of sight from the base coordinate frame to userspecified coordinates. Rotation is based on the angle between the projection of the zenith onto the base coordinate frame in the target plane and the input projection. If the geometry structure is input, the base coordinate frame is the target T/P coordinates in the plane perpendicular to the propagation path. Otherwise, the base coordinate frame is such that the y direction is in the "up" direction and all horizontal components of wind are in the xdirection.
Parameters 
Description 
upSpec [vector] 
Desired projection of the "up" direction 
Atm [struct] 
Atmospheric structure, as from AtmStruct. Must be a discrete atmosphere. 
G [struct] 
(Optional) Geometry structure, as from GeomStruct. 
Return Values 
Description 
xWind [vector] 
Wind in the xdirection (m/s) 
yWind [vector] 
Wind in the ydirection (m/s) 
Copyright (c) 2009. All rights reserved.

What do you think about this topic? Send feedback!
