class_docstr: Tests for the area utilities.
class_docstr_tok: ["Tests","for","the","area","utilities","."]
docstr: Test the retrieval of the area definition.
docstr_tok: ["Test","the","retrieval","of","the","area","definition","."]
code: def test_get_area_definition(self):
      """Test the retrieval of the area definition."""
      from pyproj import CRS
  
      pdict, extent = self.make_pdict_ext(1, "N2S")
      good_res = (-3000.4032785810186, -3000.4032785810186)
  
      a_def = get_area_definition(pdict, extent)
      assert a_def.area_id == pdict["a_name"]
      assert a_def.resolution == good_res
  
      expected_crs = CRS(
          dict(
              proj="geos", units="m", a=6378169, b=6356583.8, h=35785831
          )
      )
      assert a_def.crs == expected_crs
  
file_path: satpy/satpy/tests/reader_tests/test_geos_area.py
imports: import unittest
  import numpy
  from satpy.readers._geos_area import get_area_definition, get_area_extent, get_geos_area_naming, get_resolution_and_unit_strings, get_xy_from_linecol, sampling_to_lfac_cfac
label_desc: Use image node_id 4 for calling the TestGEOSProjectionUtil obj's underlying member method code with example usage: obj.test_get_area_definition() without return types