Giter VIP home page Giter VIP logo

Comments (7)

Bill-Gray avatar Bill-Gray commented on July 23, 2024

Hmmm... no idea on this one, but I hadn't downloaded the full ephemeris yet (my Internet connection is not all that fast). I'd just got files for a few millennia near the present. Downloading files as I write to test it out here.
Are you getting any error message(s)? Does the resulting file run properly through testeph (except, presumably, for warning you that the file doesn't cover the entire range that it ought to)?

from jpl_eph.

toddcarnes avatar toddcarnes commented on July 23, 2024

No. It runs, makes the ephemeris and exits normally. I don't get any errors or anything.

The only reason I caught it was because I noticed it was over a gig smaller than DE431 even though they cover the same time range.

I ran dump_eph on it and it reported that the file ended at 5999 instead of 17000.

The guys over on the Swiss Ephemeris list downloaded the same files and used NASA's fortran program to compile them and ended up with the whole thing from -13000 to 17000 and it was exactly the same size as DE431 down to the byte.

FWIW, I used asc2eph for DE440 just prior to DE441 and everything was fine.

I kinda wondered if it had something to do with the way JPL chose to break the files up into smaller pieces this time.

from jpl_eph.

toddcarnes avatar toddcarnes commented on July 23, 2024

I even tried deleting all the files, re-downloading them and re-compiling (3 times) just in case the files were getting corrupted or something, but it didn't make a difference.

from jpl_eph.

Bill-Gray avatar Bill-Gray commented on July 23, 2024

Yup, it's not just you. With just the ascp05000.441 and ascp06000.441, I get the same thing; it processes the first file and stops at the year 6000. Investigating...

from jpl_eph.

Bill-Gray avatar Bill-Gray commented on July 23, 2024

Found problem and am fixing it. See line 166 of asc2eph.cpp, where it's assumed that only DE-431 goes past the year 6000. True at the time, but now DE-441 does the same thing.

I've made a simple change that removes any need to make assumptions about a maximum date. Just need to make sure it works before I add/commit/push the change.

Thanks for the bug report!

from jpl_eph.

Bill-Gray avatar Bill-Gray commented on July 23, 2024

...And the fix works. (With the added benefit of the code not making foolish assumptions anymore about just how far into the future a given ephemeris goes. I've talked with folks interested in making ephems in this format spanning hundreds of millennia, but with lower precision; there are no particular guarantees about DE time spans.)

from jpl_eph.

toddcarnes avatar toddcarnes commented on July 23, 2024

You're quick. :)

from jpl_eph.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.