def METHOD_NAME (self, path, flags=READ, ttype=None) :
    """
    open_dir(path, flags=READ)
    Open a directory in the directory instance namespace. Returns
    a new directory object.
    :param path:     The name/path of the directory to open
    :type path:      str()
    :param flags:    :ref:`filesystemflags`
    Example::
        # create a subdir 'data' in /tmp
        dir = saga.namespace.Directory("sftp://localhost/tmp/")
        data = dir.open_dir ('data/', saga.namespace.Create)
    """
    if  not flags : flags = 0
    return self._adaptor.METHOD_NAME (path, flags, ttype=ttype)