Hi Henry,
I suspect that your script is not assigning the wind power model weather file input correctly.
Here is a code snippet that shows how to set the weather file:
set('use_specific_wf_wind', 1);
set('user_specified_wf_wind', 'path/to/weather-file.csv');
The 'use_specific_wf_wind' input is the checkbox at the bottom of the Wind Resource input page that enables the 'user_specified_wf_wind' input, which is the path to the weather file (either an .srw or .csv file).
Best regards,
Paul.