class_docstr: Test the NcNWCSAF reader for Geo products.
class_docstr_tok: ["Test","the","NcNWCSAF","reader","for","Geo","products","."]
docstr: Test the scaling of the dataset with floating point values.
docstr_tok: ["Test","the","scaling","of","the","dataset","with","floating","point","values","."]
code: def test_scale_dataset_floating(
      self, nwcsaf_geo_ct_filehandler, attrs, expected
  ):
      """Test the scaling of the dataset with floating point values."""
      var = xr.DataArray([1, 2, 3], attrs=attrs)
      var = nwcsaf_geo_ct_filehandler.scale_dataset(var, "dummy")
      np.testing.assert_allclose(var, expected)
      assert "scale_factor" not in var.attrs
      assert "add_offset" not in var.attrs
  
imports: import h5netcdf
  import numpy
  import pytest
  import xarray
  from satpy.readers.nwcsaf_nc import NcNWCSAF, read_nwcsaf_time
label_desc: Use image node_id 6 for calling the TestNcNWCSAFGeo obj's underlying member method code with example usage: obj.test_scale_dataset_floating(nwcsaf_geo_ct_filehandler, attrs, expected) without return types