code: def _get_basic_variable_info(var_name: str, resolution: int) -> dict:
      shape = _shape_for_resolution(resolution)
      data = np.ones((shape[0], shape[1]), dtype=np.uint16)
      row_dim_name = f"Cell_Along_Swath_{resolution}m:modl2"
      col_dim_name = f"Cell_Across_Swath_{resolution}m:modl2"
      return {
          var_name: {
              "data": data,
              "type": SDC.UINT16,
              "fill_value": 0,
              "attrs": {
                  # dim_labels are just unique dimension names, may not match exactly with real world files
                  "dim_labels": [row_dim_name, col_dim_name],
                  "valid_range": (0, 32767),
                  "scale_factor": 2.0,
                  "add_offset": -1.0,
              },
          },
      }
  
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 26 for calling a global function with example usage: _get_basic_variable_info(var_name, resolution) and returns: dict