class_docstr: Test the NC_ABI_L2 reader.
class_docstr_tok: ["Test","the","NC_ABI_L2","reader","."]
docstr: Create fake data for the tests.
docstr_tok: ["Create","fake","data","for","the","tests","."]
code: def setup_method(self):
      """Create fake data for the tests."""
      proj = xr.DataArray(
          [],
          attrs={
              "semi_major_axis": 1.0,
              "semi_minor_axis": 1.0,
              "inverse_flattening": 1.0,
              "longitude_of_prime_meridian": 0.0,
          },
      )
  
      proj_ext = xr.DataArray(
          [],
          attrs={
              "geospatial_westbound_longitude": -85.0,
              "geospatial_eastbound_longitude": -65.0,
              "geospatial_northbound_latitude": 20.0,
              "geospatial_southbound_latitude": -20.0,
              "geospatial_lat_center": 0.0,
              "geospatial_lon_center": -75.0,
          },
      )
  
      x__ = xr.DataArray(
          [0, 1],
          attrs={"scale_factor": 2.0, "add_offset": -1.0},
          dims=("lon",),
      )
      y__ = xr.DataArray(
          [0, 1],
          attrs={"scale_factor": -2.0, "add_offset": 1.0},
          dims=("lat",),
      )
      fake_dataset = xr.Dataset(
          data_vars={
              "goes_lat_lon_projection": proj,
              "geospatial_lat_lon_extent": proj_ext,
              "lon": x__,
              "lat": y__,
              "RSR": xr.DataArray(np.ones((2, 2)), dims=("lat", "lon")),
          },
      )
      self.fake_dataset = fake_dataset
  
imports: import contextlib
  from typing import Optional
  from unittest import mock
  import numpy
  import pytest
  import xarray
label_desc: Use image node_id 1 for calling the Test_NC_ABI_L2_area_latlon obj's underlying member method code with example usage: obj.setup_method() without return types