class_docstr: Reader VGAC data.
class_docstr_tok: ["Reader","VGAC","data","."]
docstr: Calibrate data.
docstr_tok: ["Calibrate","data","."]
code: def calibrate(self, data, yaml_info, file_key, nc):
      """Calibrate data."""
      scale_factor = yaml_info.get("scale_factor_nc", 0.0002)
      if file_key + "_LUT" in nc:
          bt_lut = nc[file_key + "_LUT"]
          data = self.convert_to_bt(data, bt_lut, scale_factor)
      if data.attrs["units"] == "percent":
          # Should be removed with later versions of data
          data = self.fix_radiances_not_in_percent(data)
      return data
  
file_path: satpy/satpy/readers/viirs_vgac_l1c_nc.py
imports: import logging
  from datetime import datetime
  import numpy
  import xarray
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 2 for calling the VGACFileHandler obj's underlying member method code with example usage: obj.calibrate(data, yaml_info, file_key, nc) and returns: data