def validate_humidity(rel_humidity):
    """Validate input humidity.

    Checks that humidity satisfies the following constraints:
    - relative humidity must be below 100%