question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Format of deltat.preds changed?

See original GitHub issue

If I’m not mistaking, the format of deltat.preds provided by the USNO recently changed. While in the old format, it looked like this:

YEAR TT-UT PREDICTION UT1-UTC PREDICTION ERROR

2017.00 68.591 -0.408 0.000 2017.25 68.72 0.469 0.00 2017.50 68.81 0.376 0.01

The new layout is:

MJD YEAR TT-UT Pred UT1-UTC Pred ERROR

58484.000 2019.00 69.34 -0.152 0.117
58575.000 2019.25 69.48 -0.295 0.162
58666.000 2019.50 69.62 -0.440 0.215

Hence, when running

from skyfield.api import load ts = load.timescale()

Skyfield crashes with an error like

ValueError: year 58668 is out of range

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
brandon-rhodescommented, Feb 5, 2019

Wonderful, I’m glad it’s working for you now! Let me know in the future if you run into any more problems.

0reactions
brandon-rhodescommented, Mar 6, 2019

Thanks for the note! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing Skyfield - Rhodes Mill
Fix: teach Skyfield the new format of the Naval Observatory ∆T data file deltat.preds , whose change in format caused Skyfield to start...
Read more >
Why is the change of temperature $\Delta T$ measured in ...
Now, it's clear that if ΔT=xK then ΔT=x°C, with x≥0.
Read more >
Downloads failing as maia.usno.navy.mil hs been shutdown
The deltat.preds on NASA's FTP seems to be unparsable: ... Changed earth rotation data source from USNO to NASA CDDIS #297.
Read more >
6 Easy Ways to Insert the Delta Symbol (Δ) in Excel
Insert Delta Symbol in Excel · Using the Keyboard Shortcut (Workaround) · Copy and Paste the Delta Symbol · Changing the Font to...
Read more >
User Manual for the HH2
Delta-T Devices Ltd reserves the right to change the designs and specifications of ... Linearisation Tables Format on page 76 of HH2 User...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found