Germany recorded its warmest year in 2018, a period also marked by a drought lasting months, the country's DWD weather service said Tuesday.