class_docstr: Tests for the area utilities.
class_docstr_tok: ["Tests","for","the","area","utilities","."]
docstr: Test the scan angle calculation.
docstr_tok: ["Test","the","scan","angle","calculation","."]
code: def test_get_xy_from_linecol(self):
      """Test the scan angle calculation."""
      pdict, extent = self.make_pdict_ext(1, "S2N")
      good_xy = [0.2690166648133674, -10.837528496767087]
      factors = (pdict["lfac"], pdict["cfac"])
      offsets = (pdict["loff"], pdict["coff"])
      x, y = get_xy_from_linecol(400, 1800, offsets, factors)
      np.testing.assert_approx_equal(x, good_xy[0])
      np.testing.assert_approx_equal(y, good_xy[1])
  
      pdict, extent = self.make_pdict_ext(2, "N2S")
      good_xy = [0.2690166648133674, 0.30744761692956274]
      factors = (pdict["lfac"], pdict["cfac"])
      offsets = (pdict["loff"], pdict["coff"])
      x, y = get_xy_from_linecol(400, 1800, offsets, factors)
      np.testing.assert_approx_equal(x, good_xy[0])
      np.testing.assert_approx_equal(y, good_xy[1])
  
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 3 for calling the TestGEOSProjectionUtil obj's underlying member method code with example usage: obj.test_get_xy_from_linecol() without return types