Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSPICE integration #88

Merged
merged 4 commits into from
Nov 10, 2024
Merged

CSPICE integration #88

merged 4 commits into from
Nov 10, 2024

Conversation

attipaci
Copy link
Collaborator

@attipaci attipaci commented Nov 10, 2024

Provides optional ephemeris support via the NAIF CSPICE Toolkit in separate solsys-cspice.so[.1] / .a plugin libraries.

To enable, CSPICE_SUPPORT must be set to 1 prior to the build (in the shell or in config.mk) and you must have access to the CSPICE development files (C headers and unversioned libaries). You might want to check out the Smithsonian/cspice-sharedlib repository to help you build CSPICE as a shared library (libcspice.so[.1]).

Added functions are:

  • int novas_use_cspice() -- to use CSPICE for all Solar-system types.

  • int novas_use_cspice_planets() -- to use CSPICE for major planets (and Sun, Moon, SSB) only.

  • int novas_use_cspice_ephem() -- to use CSPICE for NOVAS_EPHEM_OBJECT types only.

To use the plugin, you must link your application with:

 -lsolsys-cspice

@attipaci attipaci added the enhancement New feature or request label Nov 10, 2024
@attipaci attipaci added this to the 1.2.0 milestone Nov 10, 2024
@attipaci attipaci self-assigned this Nov 10, 2024
Copy link

codecov bot commented Nov 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.65%. Comparing base (e46497e) to head (1ca88b1).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #88   +/-   ##
=======================================
  Coverage   99.65%   99.65%           
=======================================
  Files           8        8           
  Lines        2904     2904           
  Branches      561      561           
=======================================
  Hits         2894     2894           
  Partials       10       10           
Flag Coverage Δ
unittests 99.65% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e46497e...1ca88b1. Read the comment docs.

@attipaci attipaci changed the title Initial CSPICE support CSPICE integration Nov 10, 2024
@attipaci attipaci linked an issue Nov 10, 2024 that may be closed by this pull request
@attipaci attipaci force-pushed the cspice-support branch 3 times, most recently from 2e44651 to ad229eb Compare November 10, 2024 16:21
@attipaci attipaci merged commit 9fabfcd into main Nov 10, 2024
16 checks passed
@attipaci attipaci deleted the cspice-support branch November 10, 2024 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for NAIF CSPICE
1 participant