Computing Weibull distribution parameters from a wind speed time series