Closed kswang1029 closed 4 months ago
I found both ATCA images are inconsistent between the OpenFileAck and the fits files headers in CTYPE3. There might be a change of file info parsing from the backend causing this problem.
For the WCS rendering failed ATCA image(link): The headerEntries of OpenFileAck from the backend shows CTYPE3 = 'VELO'. But the header from the fits file shows CTYPE3 = 'VELO-HEL'
For the WCS rendering succeeded one(link): The headerEntries of OpenFileAck from the backend shows CTYPE3 = 'VELO' just like the failed one. But the header from the fits file shows CTYPE3 = 'VELO-LSR'
I am not sure why it works fine for the second image, but the missing of chars is spotted.
Refer to https://github.com/CARTAvis/carta-backend/issues/1375 for the issue. This is going to be fixed via https://github.com/CARTAvis/carta-backend/pull/1376.
Describe the bug
With v4.1-stable, some of the ATCA FITS images cannot have WCS grid rendered properly (missing) at the frontend.
The attached image shows the headers as displayed in v3 (left) and v4.1 (right) respectively.
The key difference is CTYPE3 v3 CTYPE3 = VELO-HEL BUNIT = JY/BEAM v4.1 CTYPE3 = VELO BUNIT = Jy/beam
With ds9 we see CTYPE3 = 'VELO-HEL' BUNIT = 'JY/BEAM '
With some other ATCA FITS images, it works just fine (ex https://drive.google.com/file/d/1ynmyPlgEJolb_1D8m5tWNapXIGMwmUHO/view?usp=sharing)
To Reproduce Steps to reproduce the behavior:
Expected behavior WCS grid should be rendered and moment image can be generated.
Platform info (please complete the following information):