class_docstr: Test navigation of a single pixel.
class_docstr_tok: ["Test","navigation","of","a","single","pixel","."]
docstr: Test transformation from satellite to earth-fixed coordinates.
docstr_tok: ["Test","transformation","from","satellite","to","earth-fixed","coordinates","."]
code: def test_transform_satellite_to_earth_fixed_coords(self):
      """Test transformation from satellite to earth-fixed coordinates."""
      point_sat = nav.Vector3D(1, 2, 3)
      attitude = nav.Attitude(
          angle_between_earth_and_sun=np.pi,
          angle_between_sat_spin_and_z_axis=np.pi,
          angle_between_sat_spin_and_yz_plane=np.pi / 2,
      )
      orbit = nav.Orbit(
          angles=nav.OrbitAngles(
              greenwich_sidereal_time=np.pi,
              declination_from_sat_to_sun=np.pi,
              right_ascension_from_sat_to_sun=np.pi / 2,
          ),
          sat_position=nav.Vector3D(-999, -999, -999),
          nutation_precession=np.diag([1, 2, 3]).astype(float),
      )
      res = nav.transform_satellite_to_earth_fixed_coords(
          point_sat, orbit, attitude
      )
      np.testing.assert_allclose(res, [-3, 1, -2])
  
imports: import numpy
  import pytest
  from satpy.tests.reader_tests.utils import get_jit_methods, skip_numba_unstable_if_missing
label_desc: Use image node_id 4 for calling the TestSinglePixelNavigation obj's underlying member method code with example usage: obj.test_transform_satellite_to_earth_fixed_coords() without return types