class_docstr: File reader for individual ABI L1B NetCDF4 files.
docstr: Calibrate IR channels to BT.
docstr_tok: ["Calibrate","IR","channels","to","BT","."]
code: def _ir_calibrate(self, data):
      """Calibrate IR channels to BT."""
      fk1 = float(self["planck_fk1"])
      fk2 = float(self["planck_fk2"])
      bc1 = float(self["planck_bc1"])
      bc2 = float(self["planck_bc2"])
  
      if self.clip_negative_radiances:
          min_rad = self._get_minimum_radiance(data)
          data = data.clip(min=data.dtype.type(min_rad))
  
      res = (fk2 / np.log(fk1 / data + 1) - bc1) / bc2
      res.attrs = data.attrs
      res.attrs["units"] = "K"
      res.attrs["long_name"] = "Brightness Temperature"
      res.attrs["standard_name"] = "toa_brightness_temperature"
      return res
  
file_path: satpy/satpy/readers/abi_l1b.py
imports: import logging
  import numpy
  import satpy
  from satpy.readers.abi_base import NC_ABI_BASE
label_desc: Use image node_id 8 for calling the NC_ABI_L1B obj's underlying member method code with example usage: obj._ir_calibrate(data) and returns: res