class_docstr: Fake message returned by pygrib.open().message(x).
class_docstr_tok: ["Fake","message","returned","by","pygrib.open","(",")",".message","(","x",")","."]
docstr: Init the fake message.
docstr_tok: ["Init","the","fake","message","."]
code: def __init__(self, values, proj_params=None, latlons=None, **attrs):
      """Init the fake message."""
      super(FakeMessage, self).__init__()
      self.attrs = attrs
      self.values = values
      if proj_params is None:
          proj_params = {
              "a": 6378140.0,
              "b": 6356755.0,
              "lat_0": 0.0,
              "lon_0": 0.0,
              "proj": "geos",
              "h": 35785830.098,
          }
      self.projparams = proj_params
      self._latlons = latlons
  
imports: import sys
  import unittest
  from datetime import datetime
  from unittest import mock
  import numpy
  from pytest import approx
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 1 to create a new FakeMessage object from inherited base classes: object with example: obj = FakeMessage(values, proj_params, latlons)