Closed Carifio24 closed 1 year ago
All modified lines are covered by tests :white_check_mark:
Comparison is base (
2c5b962
) 71.55% compared to head (075263f
) 69.21%. Report is 28 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@dhomeier I've updated the message format here to give essentially the same method as your proposed upstream fix.
Was just looking through some of my old open PRs. @astrofrog @dhomeier do we think the format of this message is good now? It matches the proposed upstream change quite closely.
@astrofrog @dhomeier Since the issue this is meant to solve popped up again at Cape Code, I just wanted to check in on this and see whether we were happy with this format. I've added a couple tests to verify that the layer disabled message is what we expect to see.
This PR looks to solve a problem where the exception message can be very long when one of the latitude angles is not with [-90°, 90°]. This error message comes from astropy (see https://github.com/astropy/astropy/issues/13994), so this PR just truncates the message if it's longer than 300 characters (adding a ... to the end so the user knows that this isn't the full exception).