class_docstr: Tests for the area utilities.
class_docstr_tok: ["Tests","for","the","area","utilities","."]
docstr: Create a dictionary and extents to use in testing.
docstr_tok: ["Create","a","dictionary","and","extents","to","use","in","testing","."]
code: def make_pdict_ext(self, typ, scan):
      """Create a dictionary and extents to use in testing."""
      if typ == 1:  # Fulldisk
          pdict = {
              "a": 6378169.00,
              "b": 6356583.80,
              "h": 35785831.00,
              "ssp_lon": 0.0,
              "nlines": 3712,
              "ncols": 3712,
              "a_name": "geostest",
              "a_desc": "test area",
              "p_id": "test_area",
              "cfac": -13642337,
              "lfac": -13642337,
              "coff": 1856,
          }
          if scan == "N2S":
              pdict["scandir"] = "N2S"
              pdict["loff"] = 1856
              extent = (
                  5567248.28340708,
                  5567248.28340708,
                  -5570248.686685662,
                  -5570248.686685662,
              )
  
          if scan == "S2N":
              pdict["scandir"] = "S2N"
              pdict["loff"] = -1856
              extent = (
                  5567248.28340708,
                  5570248.686685662,
                  -5570248.686685662,
                  -5567248.28340708,
              )
  
      if typ == 2:  # One sector
          pdict = {
              "a": 6378169.00,
              "b": 6356583.80,
              "h": 35785831.00,
              "ssp_lon": 0.0,
              "nlines": 464,
              "ncols": 3712,
              "a_name": "geostest",
              "a_desc": "test area",
              "p_id": "test_area",
              "cfac": -13642337,
              "lfac": -13642337,
              "coff": 1856,
          }
          if scan == "N2S":
              pdict["scandir"] = "N2S"
              pdict["loff"] = 464
              extent = (
                  5567248.28340708,
                  1390686.9196223018,
                  -5570248.686685662,
                  -1500.2016392905093,
              )
  
          if scan == "S2N":
              pdict["scandir"] = "S2N"
              pdict["loff"] = 464
              extent = (
                  5567248.28340708,
                  -1390686.9196223018,
                  -5570248.686685662,
                  -2782874.0408838945,
              )
  
      return pdict, extent
  
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 1 for calling the TestGEOSProjectionUtil obj's underlying member method code with example usage: obj.make_pdict_ext(typ, scan) and returns: pdict,  extent