View Issue Details

IDProjectCategoryView StatusLast Update
0001219SkyChart1-Softwarepublic14-03-29 17:55
ReporterJames Dietrich Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSLinuxOS Version3
Product Version3.9 SVN 
Target Version3.10Fixed in Version3.9 SVN 
Summary0001219: full range of DE431 dates not allowed
DescriptionAccording to the DE431 header file (ftp://ssd.jpl.nasa.gov/pub/eph/planets/Linux/de431/header.431_572) the DE431 ephemeris extends from -13200-AUG-15 to 17191-MAR-15.
But when I enter a date of January 1, 17050 A.D. or January 1, 13050 B.C., CdC says "Ephemeris probably out of range, disabling any solar system object".

It should be possible to utilize the full extent of the DE431 ephemeris.
Additional InformationI am running 3.9-svn-2709 on 64-bit Debian.
TagsNo tags attached.

Activities

Patrick Chevalley

13-11-12 08:16

administrator   ~0002662

Yes, I always use some safe limit to every ephemeris because it often crash when trying to use the last years.
I probably round a bit too much here and need to refine the limit.

James Dietrich

13-11-12 10:55

reporter   ~0002663

Does the program ever access the ephemeris beyond the limits you set?

Surely there isn't anything wrong with the beginning and ending years of the data file. It ought to be fine to use the full range of dates that each ephemeris contains. It should be enough to rigorously enforce access within the given limits of each ephemeris.

Patrick Chevalley

13-11-12 11:45

administrator   ~0002664

The DE431 range is not as large as you expect.
From: ftp://ssd.jpl.nasa.gov/pub/eph/planets/ascii/de431/README.txt

A binary file covering the full ascii time span,
-13000 to +17000, in little-endian format, suitable for Intel
processors is available in the directory Linux directory.
***********************************************************
The original ephemeris was integrated overs a slightly longer time span,
from year -13200 to +17191, to ensure that data existed before and after
each 1000 year ascii data block. Those few extra years are available
in the SPICE binary SPK file, de431.bsp.

I check my code to ensure it use the max available range in the binary file.

Patrick Chevalley

13-11-12 14:01

administrator   ~0002665

The program need some safe margin around the current time, about 5 hours for Pluto light time for example, or 1 day for rise/set interpolation.

But it look OK to use the limit from the binary ephemeris:
start JD = -3027215.5
end JD = 7930192.5

This is TT time, so the maximum UT date you can input is about 8.5 day earlier.

http://sourceforge.net/p/skychart/code/2712/

Issue History

Date Modified Username Field Change
13-11-12 02:21 James Dietrich New Issue
13-11-12 08:16 Patrick Chevalley Note Added: 0002662
13-11-12 08:16 Patrick Chevalley Assigned To => Patrick Chevalley
13-11-12 08:16 Patrick Chevalley Status new => confirmed
13-11-12 08:16 Patrick Chevalley Target Version 0.3.0 => 3.10
13-11-12 10:55 James Dietrich Note Added: 0002663
13-11-12 11:45 Patrick Chevalley Note Added: 0002664
13-11-12 14:01 Patrick Chevalley Note Added: 0002665
13-11-12 14:01 Patrick Chevalley Status confirmed => resolved
13-11-12 14:01 Patrick Chevalley Resolution open => fixed
13-11-12 14:01 Patrick Chevalley Fixed in Version 0.3.0 => 3.9 SVN
14-03-29 17:55 Patrick Chevalley Status resolved => closed