class_docstr: Test the SAFE XML Calibration file handler.
class_docstr_tok: ["Test","the","SAFE","XML","Calibration","file","handler","."]
docstr: Test reading the dn calibration array.
docstr_tok: ["Test","reading","the","dn","calibration","array","."]
code: def test_dn_calibration_array(self):
      """Test reading the dn calibration array."""
      expected_dn = np.ones((10, 10)) * 1087
      res = self.calibration_fh.get_calibration(
          Calibration.dn, chunks=5
      )
      np.testing.assert_allclose(res, expected_dn)
  
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 2 for calling the TestSAFEXMLCalibration obj's underlying member method code with example usage: obj.test_dn_calibration_array() without return types