def get_longitude_direction(longitude_degrees):
    if longitude_degrees is None:
        raise ValueError('No value provided for <longitude_degrees>')

    if longitude_degrees < 0:
        return "W"
    elif longitude_degrees > 0:
        return "E"
    else:
        return ""
Returns the direction for the given longitude degrees.
dataset/ETHPy150Open satnet-project/server/services/common/gis.py/get_longitude_direction