code: def add_attributes(attribs, ignored_attrs, desc):
      """Add all the custom properties directly as attributes."""
      for key, val in desc.items():
          if key not in ignored_attrs:
              attribs[key] = val
  
imports: from datetime import datetime
  import numpy
  import xarray
  from satpy.tests.reader_tests.test_netcdf_utils import FakeNetCDF4FileHandler
label_desc: Use image node_id 15 for calling a global function with example usage: add_attributes(attribs, ignored_attrs, desc) without return types