code: def _get_lonlat_variable_info(resolution: int) -> dict:
      lon_5km, lat_5km = _generate_lonlat_data(resolution)
      return {
          "Latitude": {
              "data": lat_5km,
              "type": SDC.FLOAT32,
              "fill_value": -999,
              "attrs": {
                  "dim_labels": [
                      "Cell_Along_Swath_5km:mod35",
                      "Cell_Across_Swath_5km:mod35",
                  ]
              },
          },
          "Longitude": {
              "data": lon_5km,
              "type": SDC.FLOAT32,
              "fill_value": -999,
              "attrs": {
                  "dim_labels": [
                      "Cell_Along_Swath_5km:mod35",
                      "Cell_Across_Swath_5km:mod35",
                  ]
              },
          },
      }
  
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 6 for calling a global function with example usage: _get_lonlat_variable_info(resolution) and returns: dict