code: def set_data_path(self, pth):
          
          if os.path.exists(pth):
              if not os.path.exists(os.path.join(pth, 'data', 'geodetic')):
                  raise IOError("The given path doesn't contain a 'data' "
                                "subdirectory")
              os.environ["AIPSPATH"] = "%s dummy dummy" % pth
docs: Set the location of the measures data directory.
  
          :param pth: The absolute path to the measures data directory.