xarray.backends.BackendEntrypoint¶
-
class
xarray.backends.
BackendEntrypoint
[source]¶ BackendEntrypoint
is a class container and it is the main interface for the backend plugins, see BackendEntrypoint subclassing. It shall implement:open_dataset
method: it shall implement reading from file, variables decoding and it returns an instance ofDataset
. It shall take in input at leastfilename_or_obj
argument anddrop_variables
keyword argument. For more details see open_dataset.guess_can_open
method: it shall returnTrue
if the backend is able to openfilename_or_obj
,False
otherwise. The implementation of this method is not mandatory.
-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
()Initialize self.
guess_can_open
(filename_or_obj)Backend open_dataset method used by Xarray in
open_dataset()
.open_dataset
(filename_or_obj[, drop_variables])Backend open_dataset method used by Xarray in
open_dataset()
.Attributes
open_dataset_parameters
list of
open_dataset
method parameters