Determining degree-day thresholds from field observations