class_docstr: Test the implementation of the calibration factors.
class_docstr_tok: ["Test","the","implementation","of","the","calibration","factors","."]
docstr: Test reflectance calibration.
docstr_tok: ["Test","reflectance","calibration","."]
code: def test_reflectance_calibration(self, da_, xr_):
      """Test reflectance calibration."""
      xr_.open_dataset.return_value = self.fake_dataset
      da_.map_blocks.return_value = self.rad / 100.0
      filename_info = {
          "mission_id": "S3A",
          "dataset_name": "S5",
          "start_time": 0,
          "end_time": 0,
          "stripe": "a",
          "view": "n",
      }
      ds_id = make_dataid(
          name="S5", calibration="reflectance", stripe="a", view="nadir"
      )
      test = NCSLSTR1B("somedir/S1_radiance_an.nc", filename_info, "c")
      data = test.get_dataset(
          ds_id, dict(filename_info, **{"file_key": "S5"})
      )
      assert data.units == "%"
      np.testing.assert_allclose(data.values, self.rad * np.pi)
  
file_path: satpy/satpy/tests/reader_tests/test_slstr_l1b.py
imports: import unittest
  import unittest.mock
  from datetime import datetime
  import numpy
  import pytest
  import xarray
  from satpy.dataset.dataid import DataID, ModifierTuple, WavelengthRange
  from satpy.readers.slstr_l1b import NCSLSTR1B, NCSLSTRAngles, NCSLSTRFlag, NCSLSTRGeo
label_desc: Use image node_id 2 for calling the TestSLSTRCalibration obj's underlying member method code with example usage: obj.test_reflectance_calibration(da_, xr_) without return types