Absolutely. If you so wish you can take the train at noon and get off at 12:30 where any temperature difference due to the sun should be minimal.
Example: http://wetterstationen.meteomedia.de/?station=104870&wahl=vo... (the forecast diagram for my local weather station)