class_docstr: Test Scene.to_xarray() conversion.
class_docstr_tok: ["Test","Scene.to_xarray","(",")","conversion","."]
docstr: Define Scene with single area.
docstr_tok: ["Define","Scene","with","single","area","."]
code: def single_area_scn(self):
      """Define Scene with single area."""
      from pyresample.geometry import AreaDefinition
  
      area = AreaDefinition(
          "test",
          "test",
          "test",
          {"proj": "geos", "lon_0": -95.5, "h": 35786023.0},
          2,
          2,
          [-200, -200, 200, 200],
      )
      data_array = xr.DataArray(
          da.zeros((2, 2), chunks=-1),
          dims=("y", "x"),
          attrs={"start_time": datetime(2018, 1, 1), "area": area},
      )
      scn = Scene()
      scn["var1"] = data_array
      return scn
  
imports: from datetime import datetime
  import pytest
  import xarray
  from dask import array
  from satpy import Scene
label_desc: Use image node_id 2 for calling the TestToXarrayConversion obj's underlying member method code with example usage: obj.single_area_scn() and returns: scn