Simple program for finding the Weibull distribution parameters
k shape factor and c scale factor. Usage:
python find_weibull.py filename -p
where:
filename is a text file from which program loads the first column with the header.
-p parameter if plot should be preparded and saved
python find_weibull.py data_example/WS125.txt -p
python find_weibull.py -p
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