xarray.backends.DummyFileManager

xarray.backends.DummyFileManager#

class xarray.backends.DummyFileManager(value)[source]#

FileManager that simply wraps an open file in the FileManager interface.

__init__(value)[source]#

Methods

__init__(value)

acquire([needs_lock])

Acquire the file object from this manager.

acquire_context([needs_lock])

Context manager for acquiring a file.

close([needs_lock])

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