<< CL_ephDE_loadT Models CL_eph_moon >>

celestlab >> Models > CL_ephDE_setPath

CL_ephDE_setPath

Records the path of DExxx ephemeris files

Calling Sequence

ephem = CL_ephDE_setPath(dpath)

Description

Parameters

dpath:

(string) Path of ephemeris directory. Default value: "" (see above). (1x1)

ephem:

Scilab structure containing the path and necessary data (1x1)

Authors

See also

Examples

// Records the path for DE405 ephemeris files
dpath = CL_path("de405", CL_home());
ephem = CL_ephDE_setPath(dpath);

// Use it!
cjd = CL_dat_convert("cal", "cjd", [1962;1;1]);
[pos, vel, acc] = CL_ephDE_getPVA("Mars", cjd, "Earth", ephem=ephem)

Report an issue
<< CL_ephDE_loadT Models CL_eph_moon >>