Threshold-days analysis and plotting; start degree days function.