An improved model for degree-days values from temperature data