class_docstr: Test the filehandler.
class_docstr_tok: ["Test","the","filehandler","."]
docstr: Test reading the angles.
docstr_tok: ["Test","reading","the","angles","."]
code: def test_angles(self):
      """Test reading the angles."""
      with tempfile.TemporaryFile() as tmpfile:
          self._header.tofile(tmpfile)
          tmpfile.seek(HEADER_LENGTH, 0)
          self._data.tofile(tmpfile)
  
          fh_ = MHS_AMSUB_AAPPL1CFile(
              tmpfile, self.filename_info, self.filetype_info
          )
          info = {}
          key = make_dataid(name="solar_zenith_angle")
          res = fh_.get_dataset(key, info)
  
          assert np.all(res[2] == 0)
          assert np.all(res[1] == 0)
          expected = np.array(
              [
                  76.82,
                  77.09,
                  77.33,
                  77.56,
                  77.77,
                  77.97,
                  78.16,
                  78.34,
                  78.51,
                  78.68,
                  78.83,
                  78.99,
                  79.13,
                  79.27,
                  79.4,
                  79.53,
                  79.66,
                  79.78,
                  79.9,
                  80.01,
                  80.13,
                  80.23,
                  80.34,
                  80.45,
                  80.55,
                  80.65,
                  80.75,
                  80.84,
                  80.94,
                  81.03,
                  81.12,
                  81.21,
                  81.3,
                  81.39,
                  81.48,
                  81.57,
                  81.65,
                  81.74,
                  81.82,
                  81.91,
                  81.99,
                  82.08,
                  82.16,
                  82.24,
                  82.33,
                  82.41,
                  82.49,
                  82.58,
                  82.66,
                  82.75,
                  82.83,
                  82.91,
                  83.0,
                  83.09,
                  83.17,
                  83.26,
                  83.35,
                  83.44,
                  83.53,
                  83.62,
                  83.71,
                  83.81,
                  83.9,
                  84.0,
                  84.1,
                  84.2,
                  84.31,
                  84.41,
                  84.52,
                  84.63,
                  84.75,
                  84.86,
                  84.98,
                  85.11,
                  85.24,
                  85.37,
                  85.51,
                  85.65,
                  85.8,
                  85.95,
                  86.11,
                  86.28,
                  86.46,
                  86.65,
                  86.84,
                  87.05,
                  87.27,
                  87.51,
                  87.76,
                  88.03,
              ]
          )
  
          np.testing.assert_allclose(res[0], expected)
  
file_path: satpy/satpy/tests/reader_tests/test_aapp_mhs_amsub_l1c.py
imports: import datetime
  import tempfile
  import unittest
  import numpy
  import pytest
  from satpy.readers.aapp_mhs_amsub_l1c import _HEADERTYPE, _SCANTYPE, HEADER_LENGTH, MHS_AMSUB_AAPPL1CFile
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 5 for calling the TestMHS_AMSUB_AAPPL1CReadData obj's underlying member method code with example usage: obj.test_angles() without return types