added error cases for weatherParser