import math


def hour_angle_sunrise(lat, solar_decline):
    """Returns Hour Angle, in degrees, with Latitude, lat and Solar Decline Deg, solar_decline"""
    hour_angle_sunrise = math.degrees(
        math.acos(
            math.cos(math.radians(90.833))
            / (math.cos(math.radians(lat)) * math.cos(math.radians(solar_decline)))
            - math.tan(math.radians(lat)) * math.tan(math.radians(solar_decline))
        )
    )
    return hour_angle_sunrise