class_docstr: Test Scene.to_xarray() conversion.
class_docstr_tok: ["Test","Scene.to_xarray","(",")","conversion","."]
docstr: Test converting empty Scene to xarray.
docstr_tok: ["Test","converting","empty","Scene","to","xarray","."]
code: def test_with_empty_scene(self):
      """Test converting empty Scene to xarray."""
      scn = Scene()
      ds = scn.to_xarray()
      assert isinstance(ds, xr.Dataset)
      assert len(ds.variables) == 0
      assert len(ds.coords) == 0
  
imports: from datetime import datetime
  import pytest
  import xarray
  from dask import array
  from satpy import Scene
label_desc: Use image node_id 1 for calling the TestToXarrayConversion obj's underlying member method code with example usage: obj.test_with_empty_scene() without return types