code: def compute_relative_azimuth(
      sat_azi: xr.DataArray, sun_azi: xr.DataArray
  ) -> xr.DataArray:
      """Compute the relative azimuth angle.
  
      Args:
          sat_azi: DataArray for the satellite azimuth angles, typically in 0-360 degree range.
          sun_azi: DataArray for the solar azimuth angles, should be in same range as sat_azi.
  
      Returns:
          A DataArray containing the relative azimuth angle in the 0-180 degree range.
  
      NOTE: Relative azimuth is defined such that:
      Relative azimuth is 0 when sun and satellite are aligned on one side of a pixel (back scatter).
      Relative azimuth is 180 when sun and satellite are directly opposite each other (forward scatter).
      """
      ssadiff = np.absolute(sun_azi - sat_azi)
      ssadiff = np.minimum(ssadiff, 360 - ssadiff)
  
      return ssadiff
  
imports: from __future__ import annotations
  import hashlib
  import os
  import shutil
  import warnings
  from datetime import datetime
  from functools import update_wrapper
  from glob import glob
  from typing import Any, Callable, Optional, Union
  import dask
  import numpy
  import xarray
  from dask import array
  from pyorbital.astronomy import cos_zen
  from pyorbital.astronomy import get_alt_az
  from pyorbital.orbital import get_observer_look
  from pyresample.geometry import AreaDefinition, StackedAreaDefinition, SwathDefinition
  import satpy
  from satpy.utils import PerformanceWarning, get_satpos, ignore_invalid_float_warnings
label_desc: Use image node_id 10 for calling a global function with example usage: compute_relative_azimuth(sat_azi, sun_azi) and returns: ssadiff