author : frokaikan
It's free to use, you can use or change it without my authorization.
- You need :
- Linux :
- GCC (GNU Compiler Collections)
- Python3
- Windows :
- MinGW (Minimum GCC for Windows)
- Python3
- Linux :
- You should : ("xxx" can be any name)
- mkdir "source/" and put all your file to "source/" directory.
- Rename your header file to "xxx.header".
- 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)
- Rename all your ascii file to "xxx.asc", and let them sorted in lexicographical order. (If you have DE format ascii file)
- (Just for test) Rename your testpo file to "xxx.testpo". If you don't have testpo file, ignore this step.
- type
python makeit.py make -k <ksize> -n <namfil>to generate EPH file. - 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.
- (Just for test) type
python makeit.py testto 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.