def deg_min_sec_to_dec_deg(deg_min_sec):
    """Convert Degrees minutes and seconds.ms to decimal degrees"""
    deg = int(deg_min_sec.split(' ')[0])
    min = int(deg_min_sec.split(' ')[1])
    sec = float(deg_min_sec.split(' ')[2])

    dec_deg = abs(deg) + min/60 + sec/3600
    dec_deg = round(dec_deg, 8)

    if deg < 0:
        return -dec_deg
    return dec_deg