Simple program for finding the Weibull distribution parameters
k shape factor and c scale factor. Usage:
./find_weibull.out filename
where filename is a text file from which program loads the first column with the header.
The file WS125.txt with the example wind measurement data set comes
from the measurement mast US Virgin Islands St. Thomas Bovoni and
was downloaded from the site
https://midcdmz.nrel.gov/apps/sitehome.pl?site=USVILONA.
Roberts, O.; Andreas, A.; (1997). United States Virgin Islands:
St. Thomas & St. Croix (Data); NREL Report No. DA-5500-64451.
http://dx.doi.org/10.7799/1183464
https://midcdmz.nrel.gov/
Sorting function from
https://fortran-lang.discourse.group/t/modern-fortran-sample-code/2019/4