CALCEPH

Presentation

This library is designed to access the binary planetary ephemeris files, such INPOPxx, JPL DExxx and SPICE ephemeris files.

This library provides a C Application Programming Interface (API) and, optionally, Fortran 77/2003, Python 2/3 and octave/Matlab interfaces to be called by the application.

License

This software is an open-source product distributed under three distinct licenses giving you the choice of one of the three following sets of free software/open source licensing terms. This allows the use of our code in as wide a variety of software projects as possible.

This software is governed by the CECILL-C, CECILL-B or CECILL version 2.1 license under French law and abiding by the rules of distribution of free software. You can use, modify and/or redistribute the software under the terms of the CeCILL-C, CeCILL-B or CeCILL license as circulated by CEA, CNRS and INRIA at the following URL https://cecill.info/.

Download

Latest stable version

  • Version 3.5.0 (August 2021)
    Sources calceph-3.5.0.tar.gz
    Packages PyPI versionHomebrew versionFedora package
    Vcpkg package ConanCenter package
    Octave package calcephoct-3.5.0.tar.gz
    • Add the function calceph_getmaxsupportedorder, calceph_getpositionrecordindex2 and calceph_getorientrecordindex2.
    • Update config.sub and config.guess to support new processors.
    • Fix an incorrect result of calceph_(s)getconstant and calceph_getconstantvd with SPICE text kernel if the current locale has a decimal separator different than the decimal point (e.g. comma).
    • Fix compilation warnings with gcc 11 about pointers and arrays.
    • Fix compilation errors with the android SDK API level < 24.
    • Fix the installation with python 3.10 or later (PEP 632).
    • Reduce the stack size of the arrays for the evaluation with C99 compilers.
    • Change the array size of the function calceph_getfileversion from the value CALCEPH_MAX_CONSTANTNAME to CALCEPH_MAX_CONSTANTVALUE, to conform to the documentation and examples. Only C and Fortran 2003 are affected by this change : previous header file contains an invalid declaration of the function. Few programs may be affected by this change, as the required array has a smaller size : No buffer overflow may appear.
  • Previous releases

Documentation

Installation

The installation steps for various programming languages are described in the following links.

Other interfaces

The following interfaces for CALCEPH are available:

Contact

The library is written by the research team Astronomie et systèmes dynamiques (CNRS/Observatoire de Paris/IMCCE).

For all comments concerning these pages, contact the authors: inpop.imcce@obspm.fr.

Last update Tuesday 21 September 2021