def latlng_2_degrees(latlng, add_direction=False):
    return decimal_2_degrees(
        latlng[0], latitude=True, add_direction=add_direction
    ), decimal_2_degrees(
        latlng[1], latitude=False, add_direction=add_direction
    )
Converts a latlng coordinate position from decimal degrees into DMS format.
dataset/ETHPy150Open satnet-project/server/services/common/gis.py/latlng_2_degrees