code: def _three_d_effect_delayed(band_data, kernel, mode):
      """Kernel for running delayed 3D effect creation."""
      from scipy.signal import convolve2d
  
      band_data = band_data.reshape(band_data.shape[1:])
      new_data = convolve2d(band_data, kernel, mode=mode)
      return new_data.reshape(
          (1, band_data.shape[0], band_data.shape[1])
      )
  
imports: import logging
  import os
  from collections import namedtuple
  from functools import wraps
  from numbers import Number
  from typing import Optional
  import dask
  import dask.array
  import numpy
  import xarray
  from trollimage.colormap import Colormap
  from trollimage.xrimage import XRImage
  from satpy._compat import ArrayLike
  from satpy._config import get_config_path
  from satpy.utils import find_in_ancillary
label_desc: Use image node_id 24 for calling a global function with example usage: _three_d_effect_delayed(band_data, kernel, mode) and returns: new_data