code: def _create_lonlats(h5f, resolution):
      lonlat_suffix = get_lonlat_suffix(resolution)
      for var_name in [
          "Longitude" + lonlat_suffix,
          "Latitude" + lonlat_suffix,
      ]:
          var = h5f.create_variable(
              var_name,
              dimensions_by_resolution[resolution],
              np.uint16,
              chunks=chunks_1km[1:],
          )
          var[:] = values_by_resolution[resolution]
          var.attrs["scale_factor"] = 0.01
          var.attrs["add_offset"] = 0.0
  
imports: import os
  from datetime import datetime
  import dask.array
  import h5netcdf
  import numpy
  import pytest
  from satpy import Scene
  from satpy.readers.insat3d_img_l1b_h5 import CHANNELS_BY_RESOLUTION, LUT_SUFFIXES, Insat3DIMGL1BH5FileHandler, get_lonlat_suffix, open_dataset, open_datatree
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 4 for calling a global function with example usage: _create_lonlats(h5f, resolution) without return types