class_docstr: Test the SAFE MTD XML file handler.
class_docstr_tok: ["Test","the","SAFE","MTD","XML","file","handler","."]
docstr: Test reading the satellite zenith array.
docstr_tok: ["Test","reading","the","satellite","zenith","array","."]
code: def test_satellite_zenith_array(self):
      """Test reading the satellite zenith array."""
      info = dict(
          xml_tag="Viewing_Incidence_Angles_Grids", xml_item="Zenith"
      )
  
      expected_data = np.array(
          [
              [
                  11.7128,
                  11.18397802,
                  10.27667671,
                  9.35384969,
                  8.42850504,
                  7.55445611,
                  6.65475545,
                  5.66517232,
                  4.75893757,
                  4.04976844,
              ],
              [
                  11.88606009,
                  10.9799713,
                  10.07083278,
                  9.14571825,
                  8.22607131,
                  7.35181457,
                  6.44647222,
                  5.46144173,
                  4.56625547,
                  3.86638233,
              ],
              [
                  11.6823579,
                  10.7763071,
                  9.86302106,
                  8.93879112,
                  8.04005637,
                  7.15028077,
                  6.21461062,
                  5.25780953,
                  4.39876601,
                  3.68620793,
              ],
              [
                  11.06724679,
                  10.35723901,
                  9.63958896,
                  8.73072512,
                  7.83680864,
                  6.94792574,
                  5.9889201,
                  5.05445872,
                  4.26089708,
                  3.50984272,
              ],
              [
                  6.28411038,
                  6.28411038,
                  6.28411038,
                  6.28411038,
                  6.28411038,
                  5.99769643,
                  5.62586167,
                  4.85165966,
                  4.13238314,
                  3.33781401,
              ],
              [
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.24140837,
              ],
              [
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.24140837,
              ],
              [
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.24140837,
              ],
              [
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.24140837,
              ],
              [
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.7708,
                  3.24140837,
              ],
          ]
      )
      res = self.xml_tile_fh.get_dataset(
          make_dataid(name="satellite_zenith_angle", resolution=60),
          info,
      )[::200, ::200]
      np.testing.assert_allclose(res, expected_data)
  
file_path: satpy/satpy/tests/reader_tests/test_msi_safe.py
imports: import unittest.mock
  from io import BytesIO, StringIO
  import numpy
  import pytest
  import xarray
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 2 for calling the TestMTDXML obj's underlying member method code with example usage: obj.test_satellite_zenith_array() without return types