class_docstr: Testcase for dataset metadata.
class_docstr_tok: ["Testcase","for","dataset","metadata","."]
docstr: Get expected earth mask.
code: def earth_mask(self, yaw_flip):
      """Get expected earth mask."""
      earth_mask = xr.DataArray(
          [
              [False, False, False, False],
              [True, True, True, True],
              [True, True, True, True],
          ],
          dims=("yc", "xc"),
      )
      self._apply_yaw_flip(earth_mask, yaw_flip)
      return earth_mask
  
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 6 for calling the TestMetadata obj's underlying member method code with example usage: obj.earth_mask(yaw_flip) and returns: earth_mask