code: def _get_sensor(sensor: str) -> str:
      """Get the sensor."""
      for k, v in SENSORS.items():
          if k in sensor:
              return v
      raise ValueError(f"Unknown sensor '{sensor}'")
  
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 1 for calling a global function with example usage: _get_sensor(sensor) and returns: v