class_docstr: Handler for the geographical datasets.
class_docstr_tok: ["Handler","for","the","geographical","datasets","."]
code: def _geo_resolution_for_l2_l1b(metadata):
      # data files probably have this level 2 files
      # this does not work for L1B 1KM data files because they are listed
      # as 1KM data but the geo data inside is at 5km
      latitude_dim = metadata["SwathStructure"]["SWATH_1"][
          "DimensionMap"
      ]["DimensionMap_2"]["GeoDimension"]
      resolution_regex = re.compile(r"(?P<resolution>\d+)(km|KM)")
      resolution_match = resolution_regex.search(latitude_dim)
      return int(resolution_match.group("resolution")) * 1000
  
imports: from __future__ import annotations
  import logging
  import re
  from ast import literal_eval
  from contextlib import suppress
  from datetime import datetime
  import numpy
  import xarray
  from pyhdf.error import HDF4Error
  from pyhdf.SD import SD
  from satpy import DataID
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import normalize_low_res_chunks
label_desc: Use image node_id 5 for calling the HDFEOSGeoReader obj's underlying member method code with example usage: obj._geo_resolution_for_l2_l1b(metadata) and returns: unknown