class_docstr: Test Scene.to_xarray() conversion.
class_docstr_tok: ["Test","Scene.to_xarray","(",")","conversion","."]
docstr: Test converting single area Scene to xarray dataset.
docstr_tok: ["Test","converting","single","area","Scene","to","xarray","dataset","."]
code: def test_with_single_area_scene_type(self, single_area_scn):
      """Test converting single area Scene to xarray dataset."""
      ds = single_area_scn.to_xarray()
      assert isinstance(ds, xr.Dataset)
      assert "var1" in ds.data_vars
  
imports: from datetime import datetime
  import pytest
  import xarray
  from dask import array
  from satpy import Scene
label_desc: Use image node_id 4 for calling the TestToXarrayConversion obj's underlying member method code with example usage: obj.test_with_single_area_scene_type(single_area_scn) without return types