class_docstr: Test the EPIC L1b HDF5 reader.
class_docstr_tok: ["Test","the","EPIC","L1b","HDF5","reader","."]
docstr: Test that data is correctly calibrated.
docstr_tok: ["Test","that","data","is","correctly","calibrated","."]
code: def test_counts_calibration(self, setup_hdf5_file):
      """Test that data is correctly calibrated."""
      from satpy.tests.utils import make_dsq
  
      test_reader = self._setup_h5(setup_hdf5_file)
      # Test counts calibration
      ds = test_reader.load(
          [make_dsq(name="B317", calibration="counts")]
      )
      np.testing.assert_allclose(ds["B317"].data, b317_data)
  
file_path: satpy/satpy/tests/reader_tests/test_epic_l1b_h5.py
imports: import os
  import tempfile
  import h5py
  import numpy
  import pytest
  from satpy.readers.epic_l1b_h5 import CALIB_COEFS
label_desc: Use image node_id 4 for calling the TestEPICL1bReader obj's underlying member method code with example usage: obj.test_counts_calibration(setup_hdf5_file) without return types