NOAAWindData:

Path: ACPro/Wind

--------------------------------------------------------------------------
   Load wind data from the NOAA web site. The web site is:

   http://aviationweather.gov/products/nws/winds/?area=#1&fint=06&lvl=#2
   http://aviationweather.gov/products/nws/#1?fint=06&lvl=#2
   
   where #1 and #2 denote the first and second arguments, 'area' and 'lvl'
  
   For more information on the data format, see:
     http://aviationweather.gov/products/nws/winds/info.php

   NOTE: You must have a working internet connection to use this function.

--------------------------------------------------------------------------
   Form:
   data = NOAAWindData( area, lvl )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   area            (:)   Geographic area to get wind data from. 
                         Choose from:
                          chicago, boston, miami, ft worth, salt lake,
                          san francisco

   lvl             (:)   Altitude level. Choose from:  lo, hi
   latLonData      (:)   Data structure array of city lat/lon data

   -------
   Outputs
   -------
   data            (.)   Wind data set with fields:
                         .code      (:)     3 letter city/airport code
                         .lat       (1)     Latitude of location
                         .lon       (1)     Longitude of location
                         .h        (1,n)    Vector of altitudes
                         .heading  (1,n)    Vector of wind headings
                         .windMag  (1,n)    Vector of wind magnitudes
                         .windN    (1,n)    Vector of wind north components
                         .windE    (1,n)    Vector of wind east components

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

Back to the ACPro Module page