The upsample_wind_data.py file gives the option to save the wind direction individually for each location or a mean wind direction speed over all locations. Both of the wind simulators require wd_mean as an input and throw an error if it is not defined.