CARTAvis / carta

To CARTA users, this repo holds the CARTA release packages. Please use this repo to log bugs and feature requests. These will be triaged by the development team and prioritised as necessary in the development cycles.
19 stars 0 forks source link

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

Open keflavich opened 2 years ago

keflavich commented 2 years ago

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 commented 2 years ago

Do they have the same pixel ratio?

keflavich commented 2 years ago

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 commented 1 year ago

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 commented 1 year ago

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.