Hi Luc,
thanks a lot for your help on even the most amateurish questions!it works charmingly now.
cheers,simon
From: MAISONOBE Luc <luc.maisonobe@c-s.fr>
Reply-To: <orekit-users@orekit.org>
Date: Fri, 29 Mar 2013 14:19:07 +0100
To: <orekit-users@orekit.org>
Subject: Re: [Orekit Users] CelestialBody Position extrapolation
simon.spoerri@students.fhnw.ch a écrit :
Dear all,
Hi Simon,
i'd like to create a discrete sampling of celestial body positions for acomplete orbit of all bodies. I tried both getting positions from thecelestialBody object directly and using a Propagator to get positions of theorbits. However i run into ephemerides constraints and cannot obtaincoordinates past around 2030 (Error: out of range date for EARTH_MOONephemerides: 2030-05-20T14:36:30.712).
I'm not sure about your needs. Orekit uses JPL ephemerides (or INPOPephemerides) to compute position/velocity of celestial bodies. It doesnot do any propagation by itself for these bodies.
The limitation you get is simply the limitation of the JPL ephemeridesyou use. I guess you simply relied on the orekit-data.zip fileprovided for convenience in the download section of the forge and didnot change the default set of data contained in this zip archive. Ifyou want to go past 2030, you can look inside the archive and you willsee it contains a file named unxp1962.406. This is a reduce JPLephemeris file. Remove this file and replace it by the original filesfrom JPL that you will find here:<ftp://ssd.jpl.nasa.gov/pub/eph/planets/SunOS/de406/>. Each filecontains ephemerides for 300 years. If you retrieve all 20 files, youwill be able to propagate from year -3000 to year +3000. You can lookat the wiki pagefurther information on how Orekit does load such data.
Please note that JPL ephemerides are already sampled. The correspondto large sets of Chebyshev polynomials. Adding another sampling layeron top of that is probably not worth the trouble. Just using thecelestial body itself is probably sufficient for most purposes. Thecurrent version of celestial bodies that use JPL ephemerides is alsothread safe (it was not thread safe in the 5.x series of the Orekitlibrary), and uses efficient cache mechanisms even when severalthreads uses dates very wide apart from each other. This may be usefulin a web application as you cannot know beforehand if two differentclients will request positions around the same dates.
best regards,Luc
I try to obtain the positions in the SolarSystemBarycenter Frame.My question is if it is possible at all in Orekit to extrapolatebody positionsaround 150 years into the future/past? I know that this is not themain purposeof Orekit and I do not require very accurate results, nevertheless iwanted touse Orekit for that for convenience...And if it is possible, how should i do it?
thanks a lot in advance,Simon
----------------------------------------------------------------This message was sent using IMP, the Internet Messaging Program.
Attachment:
MyStepHandler.java
Description: Binary data
Attachment:
mainPlanetPositionPropagationIssue.java
Description: Binary data
Attachment:
MyChart.java
Description: Binary data