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

DM-26620: Catch astropy.time warnings about dubious years #367

Merged
merged 3 commits into from Sep 5, 2020

Conversation

timj
Copy link
Member

@timj timj commented Sep 4, 2020

Any times from more than 5 years in the future will trigger
warnings when converting between UTC and TAI. Catch the places
where we are converting to TAI since those warnings are not
relevant to users (especially when they involve MAX_TIME
or simulated data from the future).

Any times from more than 5 years in the future will trigger
warnings when converting between UTC and TAI. Catch the places
where we are converting to TAI since those warnings are not
relevant to users (especially when they involve MAX_TIME
or simulated data from the future).
@timj timj requested a review from andy-slac September 4, 2020 20:24
Copy link
Contributor

@andy-slac andy-slac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one minor comment.

tests/test_time_utils.py Outdated Show resolved Hide resolved
@timj timj merged commit a31d210 into master Sep 5, 2020
@timj timj deleted the tickets/DM-26620 branch September 5, 2020 02:16
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.

None yet

2 participants