ygrenier / SwissEphNet

Swiss Ephemeris for .Net. A Swiss Ephemeris portage for .Net.
Other
77 stars 35 forks source link

Asteroid calculation does not work #18

Closed sebsebien closed 8 years ago

sebsebien commented 8 years ago

The calculation of the 6 main asteroïds (Chiron, Pallas, ...) is working fine. However, the calculation of most other asteroïds does not work.

You can reproduce the error by calling for example swe_calc_ut() or swe_pheno_ut().

As planet number, you can use use 10005 (the file se00005.se1 or se00005s.se1 must be present in your ephemeris folder). It will crash while reading the file ('le format de la chaîne d'entrée est incorrect').

I get the same issue for most asteroids. For asteroid 'Amor' (number 11221, file se01221s.se1), however, it works fine.

ygrenier commented 8 years ago

Fixed on PR #20