added check for valid weather output