class_docstr: Test the file handler.
class_docstr_tok: ["Test","the","file","handler","."]
docstr: Test sector identification.
code: def test_get_sector(self):
      """Test sector identification."""
      from satpy.readers.goes_imager_nc import (
          FULL_DISC,
          NORTH_HEMIS_EAST,
          NORTH_HEMIS_WEST,
          SOUTH_HEMIS_EAST,
          SOUTH_HEMIS_WEST,
          UNKNOWN_SECTOR,
      )
  
      shapes_vis = {
          (10800, 20754): FULL_DISC,
          (7286, 13900): NORTH_HEMIS_EAST,
          (2301, 13840): SOUTH_HEMIS_EAST,
          (5400, 13200): NORTH_HEMIS_WEST,
          (4300, 11090): SOUTH_HEMIS_WEST,
          (123, 456): UNKNOWN_SECTOR,
      }
      shapes_ir = {
          (2700, 5200): FULL_DISC,
          (1850, 3450): NORTH_HEMIS_EAST,
          (600, 3500): SOUTH_HEMIS_EAST,
          (1310, 3300): NORTH_HEMIS_WEST,
          (1099, 2800): SOUTH_HEMIS_WEST,
          (123, 456): UNKNOWN_SECTOR,
      }
      shapes = shapes_ir.copy()
      shapes.update(shapes_vis)
      for (nlines, ncols), sector_ref in shapes.items():
          if (nlines, ncols) in shapes_vis:
              channel = "00_7"
          else:
              channel = "10_7"
          sector = self.reader._get_sector(
              channel=channel, nlines=nlines, ncols=ncols
          )
          assert sector == sector_ref, "Incorrect sector identification"
  
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 7 for calling the GOESNCFileHandlerTest obj's underlying member method code with example usage: obj.test_get_sector() without return types