Skip to content

A problem with reading ephemeris files #72

Description

@MarinChernyak

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions