class_docstr: Test NDVI-weighted hybrid green correction of green band.
class_docstr_tok: ["Test","NDVI-weighted","hybrid","green","correction","of","green","band","."]
docstr: Test that the datatype is not altered by the compositor.
docstr_tok: ["Test","that","the","datatype","is","not","altered","by","the","compositor","."]
code: def test_ndvi_hybrid_green_dtype(self):
      """Test that the datatype is not altered by the compositor."""
      with dask.config.set(scheduler=CustomScheduler(max_computes=0)):
          comp = NDVIHybridGreen(
              "ndvi_hybrid_green",
              limits=(0.15, 0.05),
              prerequisites=(0.51, 0.65, 0.85),
              standard_name="toa_bidirectional_reflectance",
          )
          res = comp((self.c01, self.c02, self.c03))
      assert res.data.dtype == np.float32
  
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 3 for calling the TestNdviHybridGreenCompositor obj's underlying member method code with example usage: obj.test_ndvi_hybrid_green_dtype() without return types