Skip to content

Fetching EOP from IERS via HTTP#313

Merged
attipaci merged 21 commits into
mainfrom
eop-fetch
May 15, 2026
Merged

Fetching EOP from IERS via HTTP#313
attipaci merged 21 commits into
mainfrom
eop-fetch

Conversation

@attipaci

@attipaci attipaci commented May 4, 2026

Copy link
Copy Markdown
Collaborator

C99 API

Added

  • novas_fetch_eop() -- to obtain cubic spline interpolated EOP from IERS for given Julian Date.
  • novas_fetch_eop_unix() -- to obtain cubic spline interpolated EOP from IERS for a given UNIX time.
  • novas_set_eop_url() / novas_get_eop_url() -- to use alternative (e.g. mirrored) URLs for the IERS EOP or leap seconds series, or to check what URLs are currently configured.
  • novas_get_eop_itrf_year() -- to retrieve the ITRF realization year associated with a given EOP data series.
  • novas_reset_eop() -- to free up resources used for obtaining EOP data from IERS.
  • novas_set_auto_fetch_eop() and novas_is_auto_fetch_eop() -- To control and check whether automatic fetching of EOP values and leap seconds from IERS is allowed if needed.
  • novas_set_leap_list() -- to use a local leap-seconds.list data file (at least until its expiry).
  • novas_leap_lookup() -- to look up leap seconds for a given UNIX time.

Changed

  • novas_set_time() and related functions, and novas_make_frame() changed to fetch EOP values from IERS if the arguments for these are NAN and fetching is allowed.

C++11 API

Added

  • EOP::fetch_for_jd(), EOP::fetch_for_mjd(), EOP::fetch_for(), and EOP::fetch_current() methods.

Changed

  • Time constructors will fetch EOP as needed (if allowed) if dUT1 is undefined (NAN), and the EOP parameter is now optional as a result.
  • EOP values to GeodeticObserver are now optional, and invalid EOP does not invalidate the observer so long as automatic fetching of EOP is allowed.
  • Frame will fetch polar offsets from IERS if the geodetic observer does not provide these, and fetching is allowed.

@attipaci attipaci self-assigned this May 4, 2026
@attipaci attipaci added the enhancement New feature or request label May 4, 2026
@attipaci attipaci added this to the 1.7.0 milestone May 4, 2026
@attipaci attipaci force-pushed the eop-fetch branch 22 times, most recently from c93bb77 to b57179a Compare May 4, 2026 16:16
@codecov

codecov Bot commented May 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@coveralls

coveralls commented May 4, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 25934626606

Coverage decreased (-0.02%) to 99.124%

Details

  • Coverage decreased (-0.02%) from the base build.
  • Patch coverage: 472 of 472 lines across 7 files are fully covered (100%).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 9817
Covered Lines: 9731
Line Coverage: 99.12%
Coverage Strength: 38154.27 hits per line

💛 - Coveralls

@attipaci attipaci force-pushed the eop-fetch branch 3 times, most recently from aeae2b8 to 8e16826 Compare May 5, 2026 09:44
@attipaci attipaci force-pushed the eop-fetch branch 3 times, most recently from ee70e4d to 6bf2246 Compare May 7, 2026 17:27
@attipaci attipaci force-pushed the eop-fetch branch 3 times, most recently from 6fe3a89 to df0d417 Compare May 11, 2026 13:15
Comment thread src/c99/iers.c Fixed
Comment thread src/c99/iers.c Fixed
Comment thread src/c99/iers.c Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants