Variable julian_for was not initialized for case daily interpolation, see ticket #861 with thanks to D Goll.