class_docstr: A file handler for CLAVRx files.
class_docstr_tok: ["A","file","handler","for","CLAVRx","files","."]
docstr: Get nadir resolution.
docstr_tok: ["Get","nadir","resolution","."]
code: def get_nadir_resolution(self, sensor):
      """Get nadir resolution."""
      for k, v in NADIR_RESOLUTION.items():
          if sensor.startswith(k):
              return v
      res = self.filename_info.get("resolution")
      if res.endswith("m"):
          return int(res[:-1])
      elif res is not None:
          return int(res)
  
imports: import logging
  import os
  from glob import glob
  from typing import Optional, Union
  import netCDF4
  import numpy
  import xarray
  from pyresample import geometry
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.readers.hdf4_utils import SDS, HDF4FileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 5 for calling the CLAVRXHDF4FileHandler obj's underlying member method code with example usage: obj.get_nadir_resolution(sensor) and returns: int, v, int