class_docstr: Test the HRITFileHandler.
class_docstr_tok: ["Test","the","HRITFileHandler","."]
docstr: Test get_xy_from_linecol.
docstr_tok: ["Test","get_xy_from_linecol","."]
code: def test_get_xy_from_linecol(self):
      """Test get_xy_from_linecol."""
      x__, y__ = self.reader.get_xy_from_linecol(0, 0, (10, 10), (5, 5))
      assert -131072 == x__
      assert -131072 == y__
      x__, y__ = self.reader.get_xy_from_linecol(
          10, 10, (10, 10), (5, 5)
      )
      assert x__ == 0
      assert y__ == 0
      x__, y__ = self.reader.get_xy_from_linecol(
          20, 20, (10, 10), (5, 5)
      )
      assert 131072 == x__
      assert 131072 == y__
  
imports: import bz2
  import gzip
  import os
  import unittest
  from datetime import datetime, timedelta
  from tempfile import NamedTemporaryFile, gettempdir
  from unittest import mock
  import numpy
  import pytest
  from satpy.readers import FSFile
  from satpy.readers.hrit_base import HRITFileHandler, decompress, get_xritdecompress_cmd, get_xritdecompress_outfile
label_desc: Use image node_id 2 for calling the TestHRITFileHandler obj's underlying member method code with example usage: obj.test_get_xy_from_linecol() without return types