Skip to content

This project provides a Java frontend for accessing JPL's SPICE (https://naif.jpl.nasa.gov/naif/). The aim is to have both a command line interface and a graphical interface.

License

Notifications You must be signed in to change notification settings

aa-tree/SPICEReader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This project provides a Java frontend for accessing JPL's SPICE (https://naif.jpl.nasa.gov/naif/). The aim is to have both a command line interface and a graphical interface.



Structure



The whole project consists of two parts, FORTRAN backend, and a Java CLI and GUI. The FORTRAN end is located in the folder fortran_src and the Java code in java_base.

The FORTRAN backend has routines for accessing the functions of SPICELib’s toolkits and some other routines like N-body problem in astrodynamics and RK89 integrator. The FORTRAN backend can be used independently as well. Docs for that would be coming up soon.



Dependencies

This project requires:

  1. gfortran [64bit] (Tested with 5.4.0 20160609)

  2. openjdk (Tested with openjdk version "1.8.0_222")

Installation

Note: These steps will be automated in upcoming version of the install script.


  1. Download this repository. Let's say you store it in /path-to-repo/SPICEReader

  2. Download JPL's SPICELIB (FORTRAN) from here: http://naif.jpl.nasa.gov/pub/naif/toolkit//FORTRAN/PC_Linux_gfortran_64bit/packages/toolkit.tar.Z

    1. Unzip the downloaded file. Let's say you get a folder like /path-to-SPICE-ZIP/toolkit

    2. Run 'makeall.csh'.

    3. Copy the file /path-to-SPICE-ZIP/toolkit/lib/spicelib.a to /path-to-repo/SPICEReader/fortran_src/toolkit/lib/


  1. Download the following Binary kernels from JPL’s website. These are data files that store the ephemerides. Use FTP, to make this process simple.

    1. https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/de435.bsp

    2. All files in the folder https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/satellites/

      Skip the folder a_old_version.


Move all these downloaded files to /path-to-repo/SPICEReader/fortran_src/eph/


  1. Download all the files in this folder from here:
    https://naif.jpl.nasa.gov/pub/naif/generic_kernels/lsk/

    Move these to /path-to-repo/SPICEReader/fortran_src/gkernels

  2. Run the script /path-to-repo/SPICEReader/install.sh


Execution



The primary program to execute is /path-to-repo/SPICEReader/SPICEReader.sh



To get help, execute

sh SPICEReader.sh --help



About

This project provides a Java frontend for accessing JPL's SPICE (https://naif.jpl.nasa.gov/naif/). The aim is to have both a command line interface and a graphical interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published