-
Notifications
You must be signed in to change notification settings - Fork 77
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
"BAD WCS" error is too verbose #782
Comments
I think that WCS errors are kind of in a special category. There are times when you don't care about the WCS and then almost any error messages seem annoying, but when you absolutely care about the WCS you definitely need informative error messages, possibly with a full stack trace (e.g. trying to debug some issue in |
Maybe we could handle it via a preference/setting? For the |
I've never been happy with that |
Well, we have |
Between
ginga/ginga/util/wcs.py
Lines 68 to 69 in c847163
and
ginga/ginga/AstroImage.py
Lines 811 to 821 in c847163
I keep seeing traceback info on screen when WCS cannot be computed. This is too verbose to my liking since I see "BAD WCS" on the viewer anyway. I think the code can be refactored to only output traceback when log level is set to debug. However, I cannot find a easy way to do this without refactoring both
wcs.py
andAstroImage.py
. Any thoughts, @ejeschke ?The text was updated successfully, but these errors were encountered: