class_docstr: Testcase for dataset metadata.
class_docstr_tok: ["Testcase","for","dataset","metadata","."]
docstr: Define expected metadata.
code: def expected(self, geometry, earth_mask, yaw_flip):
      """Define expected metadata."""
      proj_dict = {
          "a": "6378169",
          "h": "35785831",
          "lon_0": "0",
          "no_defs": "None",
          "proj": "geos",
          "rf": "295.488065897001",
          "type": "crs",
          "units": "m",
          "x_0": "0",
          "y_0": "0",
      }
      area = AreaDefinition(
          area_id="goes_geos_uniform",
          proj_id="goes_geos_uniform",
          description="GOES-15 geostationary projection (uniform sampling)",
          projection=proj_dict,
          area_extent=(
              -5434201.1352,
              -5415668.5992,
              5434201.1352,
              5415668.5992,
          ),
          **geometry["shape"],
      )
      return {
          "area_def_uni": area,
          "earth_mask": earth_mask,
          "yaw_flip": yaw_flip,
          "lon0": 0,
          "lat0": geometry["projection_longitude"],
          "nadir_row": geometry["nadir_row"],
          "nadir_col": 1,
      }
  
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 8 for calling the TestMetadata obj's underlying member method code with example usage: obj.expected(geometry, earth_mask, yaw_flip) and returns: dict