- Notifications
You must be signed in to change notification settings - Fork0
drbitboy/SpkUnMerge
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
BASH script to extract trajectories of each body in a NAIF/SPICE SPK to a separate SPK
spkunmerge.bash: extract each body from SP-Kernel(s)
Usage (BASH):
[NOCLEANUP=yes]
spkunmerge [naif0010.tls] [kernels/plu017.bsp[ anotherSPK.bsp[ ...]]]
e.g. Creates plu017_901.bsp, plu017_902.bsp, plu017_903.bsp and plu017_099.bsp
Seehttp://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/ug/spkmerge.html
N.B.
Assumes NAIF/SPICE utility SPKMERGE is available via PATH
Overwrites new SPKs in $PWD (Present Working Directory) e.g../plu017_901.bsp./plu017_902.bsp./plu017_903.bsp./plu017_999.bsp
A Leapsecond-Kernel is required; defaults to ./naif0010.tls
Overwrites SPKMERGE command files in $PWD e.g../plu017_9xx.spkmergethen deletes them unless NOCLEANUP environment variable isnon-null