class_docstr: GOMS HRIT format reader.
docstr: Calibrate the data.
docstr_tok: ["Calibrate","the","data","."]
code: def calibrate(self, data, calibration):
      """Calibrate the data."""
      tic = datetime.now()
      if calibration == "counts":
          res = data
      elif calibration in ["radiance", "brightness_temperature"]:
          res = self._calibrate(data)
      else:
          raise NotImplementedError(
              "Don't know how to calibrate to " + str(calibration)
          )
  
      res.attrs["standard_name"] = calibration
      res.attrs["calibration"] = calibration
  
      logger.debug("Calibration time " + str(datetime.now() - tic))
      return res
  
imports: import logging
  from datetime import datetime
  import numpy
  import xarray
  from satpy.readers._geos_area import get_area_definition, get_area_extent
  from satpy.readers.hrit_base import HRITFileHandler, ancillary_text, annotation_header, base_hdr_map, image_data_function, time_cds_short
label_desc: Use image node_id 3 for calling the HRITGOMSFileHandler obj's underlying member method code with example usage: obj.calibrate(data, calibration) and returns: res