code: def _call_mapped_correction(satz, band_data, corrector, band_name):
      # need to convert to masked array
      orig_dtype = band_data.dtype
      band_data = np.ma.masked_where(np.isnan(band_data), band_data)
      res = corrector.get_correction(satz, band_name, band_data)
      return res.filled(np.nan).astype(orig_dtype, copy=False)
  
file_path: satpy/satpy/modifiers/atmosphere.py
imports: import logging
  import dask.array
  import numpy
  import xarray
  from satpy.modifiers import ModifierBase
  from satpy.modifiers._crefl import ReflectanceCorrector
  from satpy.modifiers.angles import compute_relative_azimuth, get_angles, get_satellite_zenith_angle
label_desc: Use image node_id 1 for calling a global function with example usage: _call_mapped_correction(satz, band_data, corrector, band_name) and returns: res