def DMStoN (degrees, minutes, seconds):
    """
    Get a decimal number from degrees, minutes and seconds.
    """
    decimal = degrees + float(minutes) / 60.0 + float(seconds) / 3600.0
    return decimal