class_docstr: Testcase for dataset metadata.
class_docstr_tok: ["Testcase","for","dataset","metadata","."]
docstr: Get expected geometry.
code: def geometry(self, channel_id, yaw_flip):
      """Get expected geometry."""
      shapes = {
          1: {"width": 10847, "height": 10810},
          2: {"width": 2712, "height": 2702},
      }
      return {
          "nadir_row": 0 if yaw_flip else 1,
          "projection_longitude": -1 if yaw_flip else 1,
          "shape": shapes[channel_id],
      }
  
imports: import datetime
  import unittest
  from unittest import mock
  import numpy
  import pytest
  import xarray
  from pyresample.geometry import AreaDefinition
  from satpy.readers.goes_imager_nc import is_vis_channel
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 7 for calling the TestMetadata obj's underlying member method code with example usage: obj.geometry(channel_id, yaw_flip) and returns: dict