class_docstr: Testing geo-related utility functions.
class_docstr_tok: ["Testing","geo-related","utility","functions","."]
docstr: Test xyz2angle.
docstr_tok: ["Test","xyz2angle","."]
code: def test_xyz2angle(self, xyz, acos, azizen):
      """Test xyz2angle."""
      azi, zen = xyz2angle(*xyz, acos=acos)
      assert azi == pytest.approx(azi)
      assert zen == pytest.approx(zen)
  
imports: from __future__ import annotations
  import datetime
  import logging
  import typing
  import unittest
  import warnings
  from math import sqrt
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
  from satpy.tests.utils import xfail_skyfield_unstable_numpy2
  from satpy.utils import angle2xyz, get_legacy_chunk_size, get_satpos, import_error_helper, lonlat2xyz, proj_units_to_meters, xyz2angle, xyz2lonlat
label_desc: Use image node_id 4 for calling the TestGeoUtils obj's underlying member method code with example usage: obj.test_xyz2angle(xyz, acos, azizen) without return types