code: def _get_emissive_variable_info(
      var_name: str, resolution: int, bands: list[str]
  ):
      num_bands = len(bands)
      data = _generate_visible_data(resolution, len(bands))
      dim_factor = RES_TO_REPEAT_FACTOR[resolution] * 2
      band_dim_name = (
          f"Band_{resolution}_{num_bands}_Emissive:MODIS_SWATH_Type_L1B"
      )
      row_dim_name = f"{dim_factor}*nscans:MODIS_SWATH_Type_L1B"
      col_dim_name = "Max_EV_frames:MODIS_SWATH_Type_L1B"
      return {
          var_name: {
              "data": data,
              "type": SDC.UINT16,
              "fill_value": 0,
              "attrs": {
                  "dim_labels": [
                      band_dim_name,
                      row_dim_name,
                      col_dim_name,
                  ],
                  "valid_range": (0, 32767),
                  "band_names": ",".join(bands),
              },
          },
          var_name
          + "_Uncert_Indexes": {
              "data": np.zeros(data.shape, dtype=np.uint8),
              "type": SDC.UINT8,
              "fill_value": 255,
              "attrs": {
                  "dim_labels": [
                      band_dim_name,
                      row_dim_name,
                      col_dim_name,
                  ],
              },
          },
      }
  
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 9 for calling a global function with example usage: _get_emissive_variable_info(var_name, resolution, bands) and returns: dict