[Spice_discussion] Use of TIME_WRAPPER in mkspk

Nat Bachman Nathaniel.Bachman at jpl.nasa.gov
Fri Apr 23 16:02:46 PDT 2010

Hi William,

As far as I know, the ISO standard excludes formats
with a "TDB" token appended. SPICE uses the "T"
token to decide the string is in an ISO format;
this is why SPICE rejects the string.

Replacing the T with a blank should fix the problem.


Nathaniel.Bachman at jpl.nasa.gov

William Thompson wrote:
> 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
>> 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.
> 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

More information about the Spice_discussion mailing list