code: def _sanitize_writer_kwargs(writer_kwargs):
      """Remove satpy-specific kwargs."""
      writer_kwargs = copy.deepcopy(writer_kwargs)
      satpy_kwargs = ["overlay", "decorate", "config_files"]
      for kwarg in satpy_kwargs:
          writer_kwargs.pop(kwarg, None)
      return writer_kwargs
  
file_path: satpy/satpy/writers/cf_writer.py
imports: import copy
  import logging
  import warnings
  import numpy
  import xarray
  from packaging.version import Version
  from satpy.cf.coords import EPOCH
  from satpy.writers import Writer
label_desc: Use image node_id 1 for calling a global function with example usage: _sanitize_writer_kwargs(writer_kwargs) and returns: writer_kwargs