class xarray.backends.FileManager

Manager for acquiring and closing a file object.

Use FileManager subclasses (CachingFileManager in particular) on backend storage classes to automatically handle issues related to keeping track of many open files and transferring them between multiple processes.

__init__(self, /, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.


__init__(self, /, \*args, \*\*kwargs)

Initialize self.

acquire(self[, needs_lock])

Acquire the file object from this manager.

acquire_context(self[, needs_lock])

Context manager for acquiring a file.

close(self[, needs_lock])

Close the file object associated with this manager, if needed.