Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow 100 nanosecond leeway in querying DAF files #348

Merged
merged 3 commits into from
Nov 5, 2024

Conversation

ChristopherRabotin
Copy link
Member

Summary

We've uncovered an edge case whereby the ephemeris time converted to UTC is a few dozen nanoseconds off of the UTC of exactly zero seconds. This is due to the greater precision in time management of hifitime compared to SPICE. As a direct cause, ANISE throws an error when trying to query the very first data point in a trajectory if it went through the UTC -> ET conversion in SPICE.

This PR adds a leeway of 100 ns when querying a trajectory (or any DAF file).

A test was added to the LRO BSP test validate_gh_283_multi_barycenter_and_los ensuring proper querying.

This PR also prepares for the official release of v0.5. Note that there is NO change in file format for this version, and the format versioning is still set to 0.4 when building files.

Architectural Changes

No change

New Features

No change

Improvements

No change

Bug Fixes

No change

Testing and validation

A test was added to the LRO BSP test validate_gh_283_multi_barycenter_and_los ensuring proper querying.

Documentation

This PR does not primarily deal with documentation changes.

Increased the acceptance limit for SPICE validation on LRO because it seems to depend on the platform
@ChristopherRabotin ChristopherRabotin merged commit e5b8d3e into master Nov 5, 2024
20 checks passed
@ChristopherRabotin ChristopherRabotin deleted the gh-346-bis branch November 5, 2024 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant