class_docstr: Test the SAFE XML Calibration file handler.
class_docstr_tok: ["Test","the","SAFE","XML","Calibration","file","handler","."]
docstr: Set up the test case.
docstr_tok: ["Set","up","the","test","case","."]
code: def setUp(self):
      """Set up the test case."""
      filename_info = dict(
          start_time=None, end_time=None, polarization="vv"
      )
      self.annotation_fh = SAFEXMLAnnotation(
          BytesIO(annotation_xml), filename_info, mock.MagicMock()
      )
      self.calibration_fh = SAFEXMLCalibration(
          BytesIO(calibration_xml),
          filename_info,
          mock.MagicMock(),
          self.annotation_fh,
      )
  
      self.expected_gamma = np.array(
          [
              [
                  1840.695,
                  1779.672,
                  1718.649,
                  1452.926,
                  1187.203,
                  1186.226,
                  1185.249,
                  1184.276,
                  1183.303,
                  1181.365,
              ]
          ]
      ) * np.ones((10, 1))
  
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 1 for calling the TestSAFEXMLCalibration obj's underlying member method code with example usage: obj.setUp() without return types