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

Could not enable spatial matching: no valid transform was found #170

Open
keflavich opened this issue Sep 24, 2022 · 4 comments
Open

Could not enable spatial matching: no valid transform was found #170

keflavich opened this issue Sep 24, 2022 · 4 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@keflavich
Copy link

I'm getting the error:
image

when the images have valid WCSes, and CARTA has recognized the WCS (it shows the correct coordinates in the top left).

The debugger console shows the message, "Cannot perform spatial transform between images with non-square pixels". I think this is the underlying cause of the problem - that should be shown in the error message.

Is there any way to partially support such frames? I haven't thought through the problem in depth, so the answer may just be 'no', but it would be nice if there was a way to at least approximately match such frames.

@veggiesaurus
Copy link

Do they have the same pixel ratio?

@keflavich
Copy link
Author

unfortunately, no. they have approximately identical pixel sizes in both dimensions, but not at the third decimal place. they only differ from square by a tiny amount

@Danselem
Copy link

I'm getting the error: image

when the images have valid WCSes, and CARTA has recognized the WCS (it shows the correct coordinates in the top left).

The debugger console shows the message, "Cannot perform spatial transform between images with non-square pixels". I think this is the underlying cause of the problem - that should be shown in the error message.

Is there any way to partially support such frames? I haven't thought through the problem in depth, so the answer may just be 'no', but it would be nice if there was a way to at least approximately match such frames.

image

I also encountered the same problem with DSS images queried from https://irsa.ipac.caltech.edu/data/DSS/

@gica3618
Copy link

I recently had the same issue with a DSS image and a CARTA developer told me that CARTA currently indeed has a limitation on spatial matching: pixels have to be square pixel.

@kswang1029 kswang1029 added enhancement New feature or request question Further information is requested labels Nov 28, 2023
@kswang1029 kswang1029 added this to CARTA Dec 6, 2023
@kswang1029 kswang1029 moved this to New issue in CARTA Dec 6, 2023
@kswang1029 kswang1029 removed this from CARTA Dec 6, 2023
@kswang1029 kswang1029 added this to CARTA Dec 6, 2023
@kswang1029 kswang1029 moved this to New issue in CARTA Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
No open projects
Status: New issues
Development

No branches or pull requests

5 participants