code: def get_resolution_and_unit_strings(resolution):
      """Get the resolution value and unit as strings.
  
      If the resolution is larger than 1000 m, use kilometer as unit. If lower, use meter.
  
      Args:
          resolution: scalar
              Resolution in meters.
  
      Returns:
          Dictionary with `value` and `unit` keys, values are strings.
      """
      if resolution >= 1000:
          return {
              "value": "{:.0f}".format(resolution * 1e-3),
              "unit": "km",
          }
  
      return {"value": "{:.0f}".format(resolution), "unit": "m"}
  
file_path: satpy/satpy/readers/_geos_area.py
imports: import numpy
  from pyresample import geometry
label_desc: Use image node_id 7 for calling a global function with example usage: get_resolution_and_unit_strings(resolution) and returns: dict, dict