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.


acquire([needs_lock]) Acquire the file object from this manager.
close([needs_lock]) Close the file object associated with this manager, if needed.