WindFromLatLon:
--------------------------------------------------------------------------
Outputs wind data given latitude and longitude.
The data is derived from the w data structure which is obtained from
LoadShapeFile. This function is slow so once you have obtained your
wind file it is best so save it!
Enter WindFromLatLon for a demo
--------------------------------------------------------------------------
Form:
WindFromLatLon
wind = WindFromLatLon( w, lat, lon )
--------------------------------------------------------------------------
------
Inputs
------
w (1,1) Data structure
.lon {n} (1,:) Longitude of polygon vertices (deg)
.lat {n} (1,:) Latitude of polygon vertices (deg)
.wind(n) Wind values
.lonRange (1,2) Longitude range [min max] (deg)
.latRange (1,2) Latitude range [min max] (deg)
.name (1,:) File name
lat (1,:) Latitudes
lon (1,:) East Longitudes
-------
Outputs
-------
wind (n,m) Wind class (lon,lat)
--------------------------------------------------------------------------
Children:
Common: Graphics/NewFig
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Math: Geometry/PointInPolygon
WindTurbine: WindData/LoadShapeFile