code: def apply_lut(data, lut):
      """Apply a lookup table."""
      return lut[data]
  
imports: from contextlib import suppress
  from datetime import datetime
  from functools import cached_property
  import dask.array
  import numpy
  import xarray
  from satpy.utils import import_error_helper
  from satpy.readers.file_handlers import BaseFileHandler
label_desc: Use image node_id 1 for calling a global function with example usage: apply_lut(data, lut) and returns: lut