[Spice_discussion] Use of TIME_WRAPPER in mkspk

William Thompson William.T.Thompson at nasa.gov
Fri Apr 23 08:26:58 PDT 2010


I have a data file containing times and state vectors which I wish to convert 
into a SPICE kernel.  The data lines look like the following:

2017-03-11T23:14:42.94302378  -146942313.389226    20543733.660900 
8906589.632310   -3.572797  -23.716085  -10.044392

I'm told that the timestamps are in TDB time.  However, when I try processing 
these data through mkspk using a setup line with the entry:

TIME_WRAPPER      = '# TDB'

I get the following error message

> Toolkit version: N0060
>  
> SPICE(UNPARSEDTIME)
>  
> The input string uses the ISO "T" date/time delimiter but does not match any of
> the accepted ISO formats.
>  
> A traceback follows.  The name of the highest level module is first.
> MKSPK --> STR2ET

However, if I remove this line, then mkspk produces a kernel.  For the present, 
the slight difference in time between UTC and TDB is not important, but the 
software should be able to handle this situation.

Bill Thompson


-- 
William Thompson
NASA Goddard Space Flight Center
Code 671
Greenbelt, MD  20771
USA

301-286-2040
William.T.Thompson at nasa.gov


More information about the Spice_discussion mailing list