code: def _get_parallax_shift_xyz(
      sat_lon, sat_lat, sat_alt, lon, lat, parallax_distance
  ):
      """Calculate the parallax shift in cartesian coordinates.
  
      From satellite position and cloud position, get the parallax shift in
      cartesian coordinates:
  
      Args:
          sat_lon (number): Satellite longitude in geodetic coordinates [degrees]
          sat_lat (number): Satellite latitude in geodetic coordinates [degrees]
          sat_alt (number): Satellite altitude above the Earth surface [m]
          lon (array or number): Longitudes of pixel or pixels to be corrected,
              in geodetic coordinates [degrees]
          lat (array or number): Latitudes of pixel/pixels to be corrected, in
              geodetic coordinates [degrees]
          parallax_distance (array or number): Cloud to ground distance with parallax
              effect [m].
  
      Returns:
          Parallax shift in cartesian coordinates in meter.
      """
      sat_xyz = np.hstack(lonlat2xyz(sat_lon, sat_lat)) * sat_alt
      cth_xyz = (
          np.stack(lonlat2xyz(lon, lat), axis=-1) * EARTH_RADIUS * 1e3
      )  # km → m
      delta_xyz = cth_xyz - sat_xyz
      sat_distance = np.sqrt((delta_xyz * delta_xyz).sum(axis=-1))
      dist_shape = delta_xyz.shape[:-1] + (
          1,
      )  # force correct array broadcasting
      return cth_xyz - delta_xyz * (
          parallax_distance / sat_distance
      ).reshape(dist_shape)
  
imports: import datetime
  import inspect
  import logging
  import warnings
  import dask.array
  import numpy
  import xarray
  from pyorbital.orbital import A
  from pyorbital.orbital import get_observer_look
  from pyproj import Geod
  from pyresample.bucket import BucketResampler
  from pyresample.geometry import SwathDefinition
  from satpy.modifiers import ModifierBase
  from satpy.resample import resample_dataset
  from satpy.utils import get_satpos, lonlat2xyz, xyz2lonlat
label_desc: Use image node_id 3 for calling a global function with example usage: _get_parallax_shift_xyz(sat_lon, sat_lat, sat_alt, lon, lat, parallax_distance) and returns: unknown