Skip to content

An example of ephemeris calculation with different toolkits and sources: NASA/NAIF SPICE toolkit with JPL DE440 ephemeris and IAA RAS EPM 2021 ephemeris

License

Notifications You must be signed in to change notification settings

Ornstein89/ephemeris_generic_example

Repository files navigation

License: MIT en ru CMake build Windows/Linux CMake test on Windows/Linux

Переход к описанию на русском

Basic Example of Ephemeris Libraries Use

Description

The project shows an example of Solar System bodies position and modion calculation with:

  1. JPL ephemeris (DE-series) with NAIF C SPICE toolkit.
  2. IAA RAS ephemeris (EPM-series) with libephaccess library.

Build and launch

Windows

Need to install CMake* and one of C/C++ build tools (MSVC as part of Visual Studio Community, for example) first.

*I'm working on alternative build system based on Visual Studio solution only, will be available in the future.

git clone https://github.com/Ornstein89/ephemeris_generic_example.git
cd ephemeris_generic_example
mkdir build_windows
cd build_windows
cmake .. :: cmake configure for your local machine
cmake --build :: build of all targets: example apps, libs, tests
ctest :: unit testing

Linux

Need to install CMake and C/C++ build tools first:

sudo apt-get install git g++ gcc build-essential cmake

Project build:

git clone https://github.com/Ornstein89/ephemeris_generic_example.git
cd ephemeris_generic_example
mkdir build_ubuntu
cd build_ubuntu
cmake .. # cmake configure for your local machine
cmake --build # build of all targets: example apps, libs, tests
ctest # unit testing

TODO

  • CMake adaptation
  • CMake autodownload libs and kernels
  • CI/CD
  • Crosspaltform build (Windows/Linux)
  • Update Visual Studio build system
  • Description internationalization
  • Documentation
  • Testing

About

An example of ephemeris calculation with different toolkits and sources: NASA/NAIF SPICE toolkit with JPL DE440 ephemeris and IAA RAS EPM 2021 ephemeris

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published