code: def _get_dataarrays_from_identifiers(scn, identifiers):
      """Return a list of DataArray based on a single or list of identifiers.
  
      An identifier can be a DataID or a string with name of a valid DataID.
      """
      if isinstance(identifiers, (str, DataID)):
          identifiers = [identifiers]
  
      if identifiers is not None:
          dataarrays = [scn[ds] for ds in identifiers]
      else:
          dataarrays = [scn._datasets.get(ds) for ds in scn._wishlist]
          dataarrays = [
              dataarray
              for dataarray in dataarrays
              if dataarray is not None
          ]
      return dataarrays
  
imports: import xarray
  from satpy.composites import enhance2dataset
  from satpy.dataset import DataID
label_desc: Use image node_id 1 for calling a global function with example usage: _get_dataarrays_from_identifiers(scn, identifiers) and returns: dataarrays