code: def interpolate_nearest(x, x_sample, y_sample):
      """Nearest neighbour interpolation."""
      try:
          return _interpolate_nearest(x, x_sample, y_sample)
      except Exception:
          return np.nan * np.ones_like(y_sample[0])
  
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 37 for calling a global function with example usage: interpolate_nearest(x, x_sample, y_sample) and returns: _interpolate_nearest, unknown