-
Notifications
You must be signed in to change notification settings - Fork 76
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
[BUG] Imviz: "White out" when center_on "off-screen, on-image" #704
Comments
This comment has been minimized.
This comment has been minimized.
Turns out, this is caused by WCS translation silently passing back |
With #755 , the original example will result in a warning due to invalid WCS -> pix conversion. So, there is no more problem of panning to nowhere. |
I checked this again since I was the one who first reported it. Reading more closely, the white out was happening with invalid coordinates -- for example, the right ascension in the provided example is outside of the queried FITS images' fields of view, so it should trigger an out of bounds message. Besides that, the white out still happens for me. I was previously using Edge, but I still see this behavior while using Firefox with the current I'm also seeing a recurrence of the problem where I get the "(X, Y) is out of bounds" message for valid pixel or RA/Dec coordinates that are outside of the area currently displayed in the viewer. If I pan to a section of the image that does include those coordinates, then |
@ojustino , your original example now emits a out of bounds warning, which I thought was the desired behavior. Could you please open a new issue and provide data and reproducible code snippets for the problems that still occur for you? When I tested locally, besides your original example, I zoomed in a lot into a section of image, and then |
@pllim I'm using the same snippet as above when I get the white out instead of the out of bounds warning. I was saying that number 3 in the above steps should be "Use I believe everyone is getting the intended behavior but me, so I'm not sure that the issue is actually with [Edit: It was indeed user error with the |
To close this out: @ojustino has confirmed that this bug is now gone. |
This issue is tracked on JIRA as JDAT-1577. |
Comment by Pey-Lian Lim on JIRA: Fix at #755 |
As reported by @ojustino while reviewing #687 .
To reproduce:
imviz.center_on
on a pixel location that is valid but far out from the displayed area.Example use case from Justin:
🐱
The text was updated successfully, but these errors were encountered: