class_docstr: Test NDVI-weighted hybrid green correction of green band.
class_docstr_tok: ["Test","NDVI-weighted","hybrid","green","correction","of","green","band","."]
docstr: Initialize channels.
docstr_tok: ["Initialize","channels","."]
code: def setup_method(self):
      """Initialize channels."""
      coord_val = [1.0, 2.0]
      self.c01 = xr.DataArray(
          da.from_array(
              np.array([[0.25, 0.30], [0.20, 0.30]], dtype=np.float32),
              chunks=25,
          ),
          dims=("y", "x"),
          coords=[coord_val, coord_val],
          attrs={"name": "C02"},
      )
      self.c02 = xr.DataArray(
          da.from_array(
              np.array([[0.25, 0.30], [0.25, 0.35]], dtype=np.float32),
              chunks=25,
          ),
          dims=("y", "x"),
          coords=[coord_val, coord_val],
          attrs={"name": "C03"},
      )
      self.c03 = xr.DataArray(
          da.from_array(
              np.array([[0.35, 0.35], [0.28, 0.65]], dtype=np.float32),
              chunks=25,
          ),
          dims=("y", "x"),
          coords=[coord_val, coord_val],
          attrs={"name": "C04"},
      )
  
file_path: satpy/satpy/tests/compositor_tests/test_spectral.py
imports: import dask
  import dask.array
  import numpy
  import pytest
  import xarray
  from satpy.composites.spectral import HybridGreen, NDVIHybridGreen, SpectralBlender
  from satpy.tests.utils import CustomScheduler
label_desc: Use image node_id 1 for calling the TestNdviHybridGreenCompositor obj's underlying member method code with example usage: obj.setup_method() without return types