MCPcopy
hub / github.com/pydata/xarray / open

Method open

xarray/tests/test_backends_datatree.py:42–44  ·  view source on GitHub ↗
(self, path, **kwargs)

Source from the content-addressed store, hash-verified

40class TestNetCDF4DataTree(_TestNetCDF4Data):
41 @contextlib.contextmanager
42 def open(self, path, **kwargs):
43 with open_datatree(path, engine=self.engine, **kwargs) as ds:
44 yield ds.to_dataset()
45
46 def test_child_group_with_inconsistent_dimensions(self) -> None:
47 with pytest.raises(

Callers

nothing calls this directly

Calls 2

open_datatreeFunction · 0.90
to_datasetMethod · 0.45

Tested by

no test coverage detected