code: def _get_angles_variable_info(resolution: int) -> dict:
      angle_data = _generate_angle_data(resolution)
      dim_factor = RES_TO_REPEAT_FACTOR[resolution] * 2
      angle_info = {
          "data": angle_data,
          "type": SDC.INT16,
          "fill_value": -32767,
          "attrs": {
              "dim_labels": [
                  f"{dim_factor}*nscans:MODIS_SWATH_Type_L1B",
                  "1KM_geo_dim:MODIS_SWATH_Type_L1B",
              ],
              "scale_factor": 0.01,
              "add_offset": -0.01,
          },
      }
      angles_info = {}
      for var_name in (
          "SensorAzimuth",
          "SensorZenith",
          "SolarAzimuth",
          "SolarZenith",
      ):
          angles_info[var_name] = angle_info
      return angles_info
  
imports: from __future__ import annotations
  from datetime import datetime, timedelta
  from typing import Optional
  import numpy
  import pytest
  from pyhdf.SD import SD, SDC
label_desc: Use image node_id 7 for calling a global function with example usage: _get_angles_variable_info(resolution) and returns: angles_info