code: def convert_to_angles(x, y, z):
      """Convert the cartesian coordinates to angles."""
      # Conversion to ECEF is recommended by the provider, but no significant
      # difference has been seen.
      # x, y, z = (-np.sin(lon) * x - np.sin(lat) * np.cos(lon) * y + np.cos(lat) * np.cos(lon) * z,
      #            np.cos(lon) * x - np.sin(lat) * np.sin(lon) * y + np.cos(lat) * np.sin(lon) * z,
      #            np.cos(lat) * y + np.sin(lat) * z)
      azi, zen = xyz2angle(x, y, z, acos=True)
      return azi, zen
  
imports: import logging
  from contextlib import suppress
  from datetime import datetime, timedelta
  import dask.array
  import h5py
  import numpy
  import xarray
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.readers.utils import np2str
  from satpy.utils import angle2xyz, get_legacy_chunk_size, lonlat2xyz, xyz2angle, xyz2lonlat
label_desc: Use image node_id 2 for calling a global function with example usage: convert_to_angles(x, y, z) and returns: azi,  zen