code from: Temperature has an overriding role compared to photoperiod in regulating the seasonal timing of winter moth egg hatching

code from: Temperature has an overriding role compared to photoperiod in regulating the seasonal timing of winter moth egg hatching