Skip to content
Snippets Groups Projects
Commit 5789703e authored by Roberto Susino's avatar Roberto Susino
Browse files

Fix OBT decoding

parent 145762e2
No related branches found
No related tags found
No related merge requests found
...@@ -2,11 +2,11 @@ function solo_obt2utc, obt ...@@ -2,11 +2,11 @@ function solo_obt2utc, obt
; check if obt is in the correct form (string, with coarse and fine times) ; check if obt is in the correct form (string, with coarse and fine times)
if isa(obt, /number) then obt = decode_obt(obt, /from_decimal) if isa(obt, /number) then obt_decoded = decode_obt(obt, /from_decimal) else obt_decoded = obt
; convert the requested obt into ephemeris time ; convert the requested obt into ephemeris time
cspice_scs2e, -144L, obt, et cspice_scs2e, -144L, obt_decoded, et
; convert the ephemeris time into utc ; convert the ephemeris time into utc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment