code: def test_highlight_compositor(self):
      """Test creating a highlight composite."""
      import dask.array as da
      import numpy as np
      import xarray as xr
      from pyresample.geometry import AreaDefinition
  
      from satpy.composites.glm import HighlightCompositor
  
      rows = 5
      cols = 10
      area = AreaDefinition(
          "test",
          "test",
          "test",
          {"proj": "eqc", "lon_0": 0.0, "lat_0": 0.0},
          cols,
          rows,
          (-20037508.34, -10018754.17, 20037508.34, 10018754.17),
      )
  
      comp = HighlightCompositor(
          "c14_highlight",
          prerequisites=("flash_extent_density", "C14"),
          min_hightlight=0.0,
          max_hightlight=1.0,
      )
      flash_extent_density = xr.DataArray(
          da.zeros((rows, cols), chunks=25) + 0.5,
          dims=("y", "x"),
          attrs={"name": "flash_extent_density", "area": area},
      )
      c14_data = np.repeat(
          np.arange(cols, dtype=np.float64)[None, :], rows, axis=0
      )
      c14 = xr.DataArray(
          da.from_array(c14_data, chunks=25) + 303.15,
          dims=("y", "x"),
          attrs={
              "name": "C14",
              "area": area,
              "standard_name": "toa_brightness_temperature",
          },
      )
      res = comp((flash_extent_density, c14))
      assert isinstance(res, xr.DataArray)
      assert isinstance(res.data, da.Array)
      assert res.attrs["name"] == "c14_highlight"
      data = res.compute()
      np.testing.assert_almost_equal(data.values.min(), -0.04)
      np.testing.assert_almost_equal(data.values.max(), 1.04)
  
label_desc: Use image node_id 2 for calling the TestGLMComposites obj's underlying member method code with example usage: obj.test_highlight_compositor() without return types