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

A problem with reading ephemeris files #72

Open
MarinChernyak opened this issue Nov 22, 2020 · 1 comment
Open

A problem with reading ephemeris files #72

MarinChernyak opened this issue Nov 22, 2020 · 1 comment

Comments

@MarinChernyak
Copy link

Hello!
I am experiencing the problem with calculations of asteroids. I am using VS2012/WinForms/C#
This is my try to compute position of Chiron. First, I checked whether the file is existing.
bool f1 = File.Exists(@"C:\SWEPH\ephe\seas_18.se1");
f1 is true, so - it is existing.

Next:

sweph.swe_set_ephe_path(@"C:\SWEPH\ephe");
iflgret = sweph.swe_calc_ut(JD, SE_CHIRON, Constants.SEFLG_SPEED, dCoordinates,ref serr);

iflgret get -1.
the error message: SwissEph file 'seas_18.se1' not found in PATH 'C:\SWEPH\ephe'

I have downloaded the file seas_18.se1 from GitHub... It was working fine in a project, which written in C++.
What is wrong?
Thanks for advance for your response!

@ogaty
Copy link

ogaty commented Nov 23, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants