code: def dms2dd(degrees, minutes, seconds):
      
      dd = float(degrees) + old_div(float(minutes), 60) + \
          old_div(float(seconds), (60 * 60))
      return dd
docs: Convert latitude/longitude of a location that is in degrees, minutes, seconds to decimal degrees
  
      Parameters
      ----------
      degrees : degrees of latitude/longitude
      minutes : minutes of latitude/longitude
      seconds : seconds of latitude/longitude
  
      Returns
      -------
      degrees : decimal degrees of location
  
      Examples
      --------
      Convert 180 degrees 4 minutes 23 seconds to decimal degrees:
  
      >>> ipmag.dms2dd(180,4,23)
      180.07305555555556