Hello,
The script in the Sample file "SamUL Weather Data Case Study" (in SAM 2012.11.30) shows how to download a weather file from the Solar Prospector website. To write a similar script for wind, you can use that script as a model, and use the URL that you see on the Wind Resource page to see how to format the URL to download files from the wind integration database.
Note that SAM downloads wind data files from different databases depending on whether the location is in the eastern or western United States. The western dataset covers the entire region and the files are complete. The eastern data set contains files for a number of locations, and does not contain wind direction, temperature or atmospheric pressure data, so writing a script for the eastern U.S. would be more complicated. See the Help system for more details and references.
Best regards,
Paul.
Best regards,
Paul.