WindLatLon:

--------------------------------------------------------------------------
  Compute horizontal wind variance with latitude and longitude.
--------------------------------------------------------------------------
   Form:
   [windMag,windDir] = WindLatLon( XLAT, XLONG, ALT, IDAY, XLST );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   XLAT          (1,M)    Array of latitude values   [deg]
   XLONG         (1,N)    Array of longitude values  [deg]
   ALT            (1)     Altitude  (0 - 75)   [km]    
   IDAY           (1)     Day of the year, 1-365 (Jan 1 - Dec 25)
   XLST           (1)     Hour of the day (0 - 24)

   -------
   Outputs
   -------
   windMag       (M,N)    Wind magnitude                      [m/s]
   windDir       (M,N)    Wind heading measured north to east [deg]

--------------------------------------------------------------------------

Children:

ACPro: Wind/HorizontalWind
Common: Graphics/NewFig
Math: Linear/Mag