class_docstr: Test the SAFE XML Calibration file handler.
class_docstr_tok: ["Test","the","SAFE","XML","Calibration","file","handler","."]
docstr: Test reading the gamma calibration array.
docstr_tok: ["Test","reading","the","gamma","calibration","array","."]
code: def test_gamma_calibration_array(self):
      """Test reading the gamma calibration array."""
      res = self.calibration_fh.get_calibration(
          Calibration.gamma, chunks=5
      )
      np.testing.assert_allclose(res, self.expected_gamma)
  
imports: import unittest
  import unittest.mock
  from enum import Enum
  from io import BytesIO
  import dask.array
  import numpy
  import xarray
  from satpy.dataset import DataQuery
  from satpy.readers.sar_c_safe import SAFEXMLAnnotation, SAFEXMLCalibration, SAFEXMLNoise
label_desc: Use image node_id 5 for calling the TestSAFEXMLCalibration obj's underlying member method code with example usage: obj.test_gamma_calibration_array() without return types