class_docstr: Testing the file handler.
class_docstr_tok: ["Testing","the","file","handler","."]
docstr: Test identification of the nadir pixel.
code: def test_get_nadir_pixel(self):
      """Test identification of the nadir pixel."""
      from satpy.readers.goes_imager_nc import FULL_DISC
  
      earth_mask = np.array(
          [
              [0, 0, 0, 0],
              [0, 1, 0, 0],
              [1, 1, 1, 0],
              [0, 1, 0, 0],
              [0, 0, 0, 0],
          ]
      )
      nadir_row, nadir_col = self.reader._get_nadir_pixel(
          earth_mask=earth_mask, sector=FULL_DISC
      )
      assert (nadir_row, nadir_col) == (2, 1), "Incorrect nadir pixel"
  
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 3 for calling the GOESNCBaseFileHandlerTest obj's underlying member method code with example usage: obj.test_get_nadir_pixel() without return types