class_docstr: Reader for GAC and LAC data.
class_docstr_tok: ["Reader","for","GAC","and","LAC","data","."]
docstr: Get channel and buffer results.
docstr_tok: ["Get","channel","and","buffer","results","."]
code: def _get_channel(self, key):
      """Get channel and buffer results."""
      name = key["name"]
      calibration = key["calibration"]
      if calibration == "counts":
          if self.counts is None:
              counts = self.reader.get_counts()
              self.counts = counts
          channels = self.counts
      elif calibration in ["reflectance", "brightness_temperature"]:
          if self.calib_channels is None:
              self.calib_channels = (
                  self.reader.get_calibrated_channels()
              )
          channels = self.calib_channels
      else:
          raise ValueError(
              "Unknown calibration: {}".format(calibration)
          )
      return channels[:, :, self.chn_dict[name.upper()]]
  
imports: import logging
  from datetime import datetime, timedelta
  import dask.array
  import numpy
  import pygac.utils
  import xarray
  from pygac.gac_klm import GACKLMReader
  from pygac.gac_pod import GACPODReader
  from pygac.lac_klm import LACKLMReader
  from pygac.lac_pod import LACPODReader
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 6 for calling the GACLACFile obj's underlying member method code with example usage: obj._get_channel(key) and returns: channels