Validate weather variable

Wrote an if statement to validate the user input stored in the weather
variable