def convert_dms_to_dd(
            degree_num, degree_den,
            minute_num, minute_den,
            second_num, second_den):
        """
        Convert the degree/minute/Second formatted GPS data to decimal
        degrees.

        @param degree_num: the numerator of the degree object.

        @param degree_den: the denominator of the degree object.

        @param minute_num: the numerator of the minute object.

        @param minute_den: the denominator of the minute object.

        @param second_num: the numerator of the second object.

        @param second_den: the denominator of the second object.

        @return: a decimal degree.
        """
        degree = float(degree_num) / float(degree_den)
        minute = float(minute_num) / float(minute_den)/ 60
        second = float(second_num) / float(second_den)/ 3600
        return degree + minute + second