code: def _interpolate_nearest(x, x_sample, y_sample):
      i = _find_enclosing_index(x, x_sample)
      return y_sample[i]
  
imports: from collections import namedtuple
  import dask.array
  import numba
  import numpy
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 38 for calling a global function with example usage: _interpolate_nearest(x, x_sample, y_sample) and returns: y_sample