class_docstr: Class for testing the VIIRS enhancement function in satpy.enhancements.viirs.
docstr: Test VIIRS flood enhancement.
docstr_tok: ["Test","VIIRS","flood","enhancement","."]
code: def test_viirs(self):
      """Test VIIRS flood enhancement."""
      from satpy.enhancements.viirs import water_detection
  
      expected = [
          [
              [1, 7, 8, 8, 8, 9, 10, 11, 14, 8],
              [20, 23, 26, 10, 12, 15, 18, 21, 24, 27],
          ]
      ]
      run_and_check_enhancement(
          water_detection, self.da, expected, palettes=self.palette
      )
  
file_path: satpy/satpy/tests/enhancement_tests/test_viirs.py
imports: import unittest
  import dask.array
  import numpy
  import xarray
  from .test_enhancements import run_and_check_enhancement
label_desc: Use image node_id 2 for calling the TestVIIRSEnhancement obj's underlying member method code with example usage: obj.test_viirs() without return types