class_docstr: Generic GRIB file handler.
class_docstr_tok: ["Generic","GRIB","file","handler","."]
code: def _get_message(self, ds_info):
      with pygrib.open(self.filename) as grib_file:
          if "message" in ds_info:
              msg_num = ds_info["message"]
              msg = grib_file.message(msg_num)
          else:
              msg_keys = self.filetype_info["keys"].keys()
              msg = self._idx(**{k: ds_info[k] for k in msg_keys})[0]
          return msg
  
imports: import logging
  from datetime import datetime
  import dask.array
  import numpy
  import pygrib
  import xarray
  from pyproj import Proj
  from pyresample import geometry
  from satpy.dataset import DataQuery
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 8 for calling the GRIBFileHandler obj's underlying member method code with example usage: obj._get_message(ds_info) and returns: msg