code: def temporal_rgb(
      data_arrays: Sequence[xr.DataArray],
  ) -> xr.DataArray:
      """Combine a series of datasets as a temporal RGB.
  
      The first dataset is used as the Red component of the new composite, the second as Green and the third as Blue.
      All the other datasets are discarded.
      """
      from satpy.composites import GenericCompositor
  
      compositor = GenericCompositor("temporal_composite")
      composite = compositor(
          (data_arrays[0], data_arrays[1], data_arrays[2])
      )
      composite.attrs = data_arrays[2].attrs
  
      return composite
  
file_path: satpy/satpy/multiscene/_blend_funcs.py
imports: from __future__ import annotations
  from datetime import datetime
  from typing import Callable, Iterable, Mapping, Optional, Sequence
  import pandas
  import xarray
  from dask import array
  from satpy.dataset import combine_metadata
label_desc: Use image node_id 11 for calling a global function with example usage: temporal_rgb(data_arrays) and returns: composite