Solar Orbiter Spice kernels
===========================

* link:/documents/SPICE[Documentation]
+
--
Spice kernels documentation
--

* link:SPICE[Spice kernels data]
+
--
Spice kernels data directory]
--

== PAS_to_RTN

We are using a python script using spiceypy library tools to compute PAS to RTN transformation matrix.

Seelink:software/spice/pas_to_rtn.py[]

* OBT is computed from SCET coarse time and fine time 

* Epoch is CDF TT2000 computed from SCET, with origin = 2000/01/01 but without spice kernels correction

* UTC is computed from OBT using spice kernels

* ET (Ephemeris Time) computed from OBT using spice kernels

=== Results for 2020-04-15 (first record)

----
Filename : /DATA/SOLAR/DATA/L1/20200415/solo_L1_swa-pas-3d_20200415_V00.cdf

OBT   : 640266720:32768

Epoch : 2020-04-15T11:52:00.500

UTC   : 2020-04-15T11:52:09.806

ET    : 640223598.991353

SOLO_SWA_PAS => SOLO_SRF
[[ 1.  0.  0.]
 [ 0. -1.  0.]
 [ 0.  0. -1.]]

SOLO_SRF => SOLO_SUN_RTN
[[-1.00000000e+00 -7.08106212e-07  4.15344104e-06]
 [ 3.37886890e-07 -9.96079099e-01 -8.84671055e-02]
 [ 4.19979992e-06 -8.84671055e-02  9.96079099e-01]]

SOLO_SWA_PAS => SOLO_SUN_RTN
[[-1.00000000e+00  7.08106212e-07 -4.15344104e-06]
 [ 3.37886890e-07  9.96079099e-01  8.84671055e-02]
 [ 4.19979992e-06  8.84671055e-02 -9.96079099e-01]]
----

==== Results for 2020-06-01 (first record)

----
Filename : /DATA/SOLAR/DATA/L1/20200601/solo_L1_swa-pas-3d_20200601_V00.cdf

OBT   : 644284796:32768

Epoch : 2020-05-31T23:59:56.500 

UTC   : 2020-06-01T00:00:12.592

ET    : 644241681.7770483

SOLO_SWA_PAS => SOLO_SRF
[[ 1.  0.  0.]
 [ 0. -1.  0.]
 [ 0.  0. -1.]]

SOLO_SRF => SOLO_SUN_RTN
[[-1.00000000e+00 -9.02398598e-07  1.75781989e-06]
 [ 7.48669623e-07 -9.96332045e-01 -8.55713475e-02]
 [ 1.82859175e-06 -8.55713475e-02  9.96332045e-01]]

SOLO_SWA_PAS => SOLO_SUN_RTN
[[-1.00000000e+00  9.02398598e-07 -1.75781989e-06]
 [ 7.48669623e-07  9.96332045e-01  8.55713475e-02]
 [ 1.82859175e-06  8.55713475e-02 -9.96332045e-01]]
----