class_docstr: Test composites for spectral channel corrections.
class_docstr_tok: ["Test","composites","for","spectral","channel","corrections","."]
docstr: Initialize channels.
docstr_tok: ["Initialize","channels","."]
code: def setup_method(self):
      """Initialize channels."""
      rows = 5
      cols = 10
      self.c01 = xr.DataArray(
          da.zeros((rows, cols), chunks=25) + 0.20,
          dims=("y", "x"),
          attrs={"name": "C02"},
      )
      self.c02 = xr.DataArray(
          da.zeros((rows, cols), chunks=25) + 0.30,
          dims=("y", "x"),
          attrs={"name": "C03"},
      )
      self.c03 = xr.DataArray(
          da.zeros((rows, cols), chunks=25) + 0.40,
          dims=("y", "x"),
          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 TestSpectralComposites obj's underlying member method code with example usage: obj.setup_method() without return types