code: def make_test_data(dims):
      """Make test data."""
      return xr.DataArray(
          da.from_array(
              np.ones([dim for dim in dims], dtype=np.float32) * 10,
              [dim for dim in dims],
          )
      )
  
imports: import os
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
  from satpy.tests.reader_tests.test_hdf5_utils import FakeHDF5FileHandler
label_desc: Use image node_id 6 for calling a global function with example usage: make_test_data(dims) and returns: xr