def weather_generation_validator(_, __, generation: int) ->None:
    """Only Generation 3 ~ 5 are supported."""
    if generation not in range(3, 6):
        raise ValueError(
            f'Invalid generation: Gen. {generation}. Only Generation 3 ~ 5 are supported.'
            )
