Skip to content
frokaikanPublic

About

Binding_EPH : use DE, INPOP and EPM in an easy way!

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

program BINDING_EPH

author : frokaikan
It's free to use, you can use or change it without my authorization.


How to use this program?

  • You need :
    • Linux :
      • GCC (GNU Compiler Collections)
      • Python3
    • Windows :
      • MinGW (Minimum GCC for Windows)
      • Python3
  • You should : ("xxx" can be any name)
    1. mkdir "source/" and put all your file to "source/" directory.
    2. Rename your header file to "xxx.header".
    3. choose ONE of the following three steps :
      • Rename all your ascii file to "xxx.asc", and let them sorted in lexicographical order. (If you have DE format ascii file)
        This program will automatically change fortran-style float number (e.g. 1.2D+03) to C-style float number (e.g. 1.2E+03)
      • Rename your BINDED ascii file to "xxx.in". (If you have binded your .header file and .asc files)
      • Rename your binary file to "JPLEPH". (If you have DE format binary file)
    4. (Just for test) Rename your testpo file to "xxx.testpo". If you don't have testpo file, ignore this step.
    5. type python makeit.py make -k <ksize> -n <namfil> to generate EPH file.
    6. find your JPLEPH file at "output/" directory. The outputs are :
      • asc2eph.exe :: change your .in file to EPH binary file.
      • "namfil" :: the binary EPH file.
      • libeph.o :: the Object file contains all JPL functions (except fsizer3).
      • fsizer3.o :: the Object file contains function fsizer3.
      • testeph.exe :: test your JPLEPH file.
    7. (Just for test) type python makeit.py test to run testeph.

If you have any problem, please send an e-mail to "541240857@qq.com". I'll reply you ASAP.
Thanks for using this program.

About

Binding_EPH : use DE, INPOP and EPM in an easy way!

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages