updated TempMain2 to use new JulianDate