class_docstr: Test the NC_ABI_L2 reader.
class_docstr_tok: ["Test","the","NC_ABI_L2","reader","."]
docstr: Test the area generation.
docstr_tok: ["Test","the","area","generation","."]
code: def test_get_area_def_fixedgrid(self, adef):
      """Test the area generation."""
      with _create_reader_for_fake_data(
          "RSR", _create_cmip_dataset()
      ) as reader:
          reader.get_area_def(None)
  
      assert adef.call_count == 1
      call_args = tuple(adef.call_args)[0]
      assert call_args[3] == {
          "a": 1.0,
          "b": 1.0,
          "h": 1.0,
          "lon_0": -90.0,
          "proj": "geos",
          "sweep": "x",
          "units": "m",
      }
      assert call_args[4] == reader.ncols
      assert call_args[5] == reader.nlines
      np.testing.assert_allclose(call_args[6], (-2.0, -2.0, 2.0, 2.0))
  
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_fixedgrid obj's underlying member method code with example usage: obj.test_get_area_def_fixedgrid(adef) without return types