Open kswang1029 opened 6 months ago
The problem comes from the file name. If renaming the file with a simpler name, wcs grid works. No need to use ds9 to save it as a new file. It seems that AST has some difficulties to handle complex file name.
The problem comes from the file name. If renaming the file with a simpler name, wcs grid works. No need to use ds9 to save it as a new file. It seems that AST has some difficulties to handle complex file name.
Interesting. Any idea on which char causing the problem?
The problem comes from the file name. If renaming the file with a simpler name, wcs grid works. No need to use ds9 to save it as a new file. It seems that AST has some difficulties to handle complex file name.
Interesting. Any idea on which char causing the problem?
I guess it is "=" or ","?
@kswang1029 yes, it is ",".
Describe the bug This is a user bug report. If we load the image
https://drive.google.com/file/d/1bDbI9-DV-nAssT5bJslAvMOdHWaO7qhJ/view?usp=drive_web
we do not see the wcs grid rendered properly. The console shows errors as
line277:
plot = astPlot(wcsinfo, gbox, pbox, args);
If we load the image in ds9 and save as a slice in fits again, then the wcs grid can be rendered successfully in CARTA. For some reason, this trick regulates the fits header.
Let's see if a fix can be applied to handle this case (or not, ie headers fault)
To Reproduce Steps to reproduce the behavior:
Expected behavior can handle such fits header
Platform info (please complete the following information):