Project

General

Profile

Bug #2371

spiceinit - NAIF error due to length of spk kernel filename

Added by Lynn Weller almost 3 years ago. Updated 12 days ago.

Status:
Acknowledged
Priority:
Normal
Assignee:
-
Category:
Applications
Target version:
-
Impact:
Software Version:
Test Reviewer:

Description

It appears there is a limitation on the number of characters a spacecraft kernel file can have. I'm exactly sure what the exact number is, but it is somewhere to the tune of 130+. The limitation seems to only apply to spk files for some reason.

Errors occur when I run the following:
spiceinit from=M3G20090214T094953_V03_L1B.cub \
ck=/work/projects/m3/lweller/PDSLOC_Products/Control/Iterations/Prelim_10kGround_KernelUpdated/M3G20090214T094953_V03_L1B_prelim10kgrnd_ck.bc \
spk=/work/projects/m3/lweller/PDSLOC_Products/Control/Iterations/Prelim_10kGround_KernelUpdated/M3G20090214T094953_V03_L1B_prelim10kgrnd_spk.bsp

Error                     = "An unknown NAIF error has been encountered.
                             The short explanation provided by NAIF is
                             [SPICE(SPKINSUFFDATA)]. The Naif error is
                             [Insufficient ephemeris data has been loaded
                             to compute the position of -86 (CHANDRAYAAN-1)
                             relative to 0 (SOLAR SYSTEM BARYCENTER) at the
                             ephemeris epoch 2009 FEB 14 09:50:57.544.]"

If I drop "prelim10kgrnd_" from the spk filename, the program runs successfully.

I've put test data under /work/users/lweller/Isis3Tests/Spiceinit/SpkFilename/ that will replicate the error (already renaming things under my m3 projects directory in the example above). See the file proc.txt for the cases where it fails, and the last case where the program works depending on the number of characters in the spk filename.

This fails as far back as isis3.4.10, and likely even beyond that.

History

#1 Updated by Tammy Becker almost 3 years ago

  • Status changed from New to Acknowledged

Also available in: Atom PDF