added some methods to the Weatherdata class