code: def _runner_class_for_sensor(sensor_name: str) -> Type[_CREFLRunner]:
      try:
          return _SENSOR_TO_RUNNER[sensor_name]
      except KeyError:
          raise NotImplementedError(
              f"Don't know how to apply CREFL to data from sensor {sensor_name}."
          )
  
imports: from __future__ import annotations
  import logging
  from typing import Optional, Type, Union
  import dask.array
  import numpy
  import xarray
  from satpy.dataset.dataid import WavelengthRange
label_desc: Use image node_id 2 for calling a global function with example usage: _runner_class_for_sensor(sensor_name) and returns: _SENSOR_TO_RUNNER