code: def _data_array_none_sensor(name: str) -> xr.DataArray:
      """Create a DataArray with sensor set to ``None``."""
      return xr.DataArray(
          da.zeros((2, 2)),
          attrs={
              "name": name,
              "sensor": None,
          },
      )
  
imports: from unittest import mock
  import pytest
  import xarray
  from dask import array
  from satpy import Scene
  from satpy.tests.utils import make_cid, make_dataid, make_dsq, spy_decorator
label_desc: Use image node_id 2 for calling a global function with example usage: _data_array_none_sensor(name) and returns: xr