Closed kswang1029 closed 1 year ago
when using CASA-exportfits to convert the image to FITS, CASA shows errors
2023-02-14 06:06:05 SEVERE exportfits::FITSKeywordUtil::addKeywords (file casacore/fits/FITS/FITSKeywordUtil.cc, line 150) Value of keyword SPW will be truncated at 68 characters. 2023-02-14 06:06:05 SEVERE exportfits::FITSKeywordUtil::addKeywords (file casacore/fits/FITS/FITSKeywordUtil.cc, line 150) Value of keyword VIRTSPW will be truncated at 68 characters. 2023-02-14 06:06:05 SEVERE exportfits::image::tofits (file src/tools/image/image_cmpt.cc, line 6129) Exception Reported: Exception: Error creating initial FITS header. 2023-02-14 06:06:05 SEVERE exportfits::image::tofits (file src/tools/image/image_cmpt.cc, line 6129)+ ... thrown by static void casa::ImageFactory::toFITS(casa::SPCIIF, const casa6core::String &, casa6core::Bool, casa6core::Bool, casa6core::Int, casa6core::Double, casa6core::Double, const casa6core::Record &, const casa6core::String &, casa6core::Bool, casa6core::Bool, casa6core::Bool, casa6core::Bool, casa6core::Bool, casa6core::Bool, casa6core::Bool, const casa6core::String &, casa6core::Bool, casa6core::Bool) at File: src/code/imageanalysis/ImageAnalysis/ImageFactory2.cc, line: 546 2023-02-14 06:06:05 SEVERE exportfits::::casa Task exportfits raised an exception of class RuntimeError with the following message: Exception: Error creating initial FITS header. 2023-02-14 06:06:05 SEVERE exportfits::::casa+ ... thrown by static void casa::ImageFactory::toFITS(casa::SPCIIF, const casa6core::String &, casa6core::Bool, casa6core::Bool, casa6core::Int, casa6core::Double, casa6core::Double, const casa6core::Record &, const casa6core::String &, casa6core::Bool, casa6core::Bool, casa6core::Bool, casa6core::Bool, casa6core::Bool, casa6core::Bool, casa6core::Bool, const casa6core::String &, casa6core::Bool, casa6core::Bool) at File: src/code/imageanalysis/ImageAnalysis/ImageFactory2.cc, line: 546 2023-02-14 06:06:05 SEVERE exportfits::::casa Exception Reported: Error in exportfits: Exception: Error creating initial FITS header. 2023-02-14 06:06:05 SEVERE exportfits::::casa+ ... thrown by static void casa::ImageFactory::toFITS(casa::SPCIIF, const casa6core::String &, casa6core::Bool, casa6core::Bool, casa6core::Int, casa6core::Double, casa6core::Double, const casa6core::Record &, const casa6core::String &, casa6core::Bool, casa6core::Bool, casa6core::Bool, casa6core::Bool, casa6core::Bool, casa6core::Bool, casa6core::Bool, const casa6core::String &, casa6core::Bool, casa6core::Bool) at File: src/code/imageanalysis/ImageAnalysis/ImageFactory2.cc, line: 546
Describe the bug Reported by @jott3077
The attached CASA image cannot be loaded in CARTA. It can be loaded, however, with CASA-viewer and CASA-imhead.
oussid.s19_0._0137+331_3C48__bp.K_band.cont.I.iter1.psf.tt0.tar.gz
To Reproduce Steps to reproduce the behavior:
Expected behavior The attached image should be loaded in CARTA as well
Platform info (please complete the following information):