Reported by a user
To reproduce the issue:
- load the attached images and match them
- make a region on the first image
- set the first image as active and pan around the region to see region statistics. This is working well.
- set the 2nd image (matched) as active and pan around the region to see region statistics. This triggers the issue.
The backend log says:
[2021-12-07 15:07:19.375] [debug] Region conversion failed or was distorted, using polygon approximation for rectangle
[2021-12-07 15:07:19.375] [error] Error converting region to output image: (/Users/kswang/carta_build/carta-casacore/casa6/casatools/casacore/coordinates/Coordinates/CoordinateSystem.cc : 1143) Failed AlwaysAssert world.nelements() == nWorldAxes()
[2021-12-07 15:07:19.375] [error] Error approximating rectangle as polygon in matched image.
With other images generated with CASA tclean, there is no such issue.

tmp.zip
Reported by a user
To reproduce the issue:
The backend log says:
[2021-12-07 15:07:19.375] [debug] Region conversion failed or was distorted, using polygon approximation for rectangle
[2021-12-07 15:07:19.375] [error] Error converting region to output image: (/Users/kswang/carta_build/carta-casacore/casa6/casatools/casacore/coordinates/Coordinates/CoordinateSystem.cc : 1143) Failed AlwaysAssert world.nelements() == nWorldAxes()
[2021-12-07 15:07:19.375] [error] Error approximating rectangle as polygon in matched image.
With other images generated with CASA tclean, there is no such issue.
tmp.zip