code: def _create_coarest_finest_data_array(shape, area_def, attrs=None):
      data_arr = xr.DataArray(
          da.arange(math.prod(shape)).reshape(shape),
          attrs={
              "area": area_def,
          },
      )
      if attrs:
          data_arr.attrs.update(attrs)
      return data_arr
  
imports: import math
  import numpy
  import pytest
  import xarray
  from dask import array
  from satpy import Scene
  from satpy.dataset.dataid import default_id_keys_config
  from satpy.tests.utils import FAKE_FILEHANDLER_END, FAKE_FILEHANDLER_START, make_cid, make_dataid
label_desc: Use image node_id 1 for calling a global function with example usage: _create_coarest_finest_data_array(shape, area_def, attrs) and returns: data_arr