Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attached CASA image cannot be loaded in CARTA #1239

Closed
kswang1029 opened this issue Feb 14, 2023 · 1 comment · Fixed by #1241
Closed

attached CASA image cannot be loaded in CARTA #1239

kswang1029 opened this issue Feb 14, 2023 · 1 comment · Fixed by #1241
Assignees
Labels
bug Something isn't working casa Issue due to casacore implementation question Further information is requested
Milestone

Comments

@kswang1029
Copy link
Contributor

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:

  1. download the attached CASA image (unzip it first) and load it with CARTA
  2. see error in the file info tab

Expected behavior
The attached image should be loaded in CARTA as well

Platform info (please complete the following information):

  • OS [e.g. macOS Monterey]: macOS Monterey
  • Browser [e.g. chrome, safari, electron app]: v3-stable electron app
  • Browser version [e.g. 22]: v3-stable electron app
  • Backend branch [e.g. dev, v3b2 release]: v3-stable
  • Frontend branch [e.g. dev, v3b2 release]: v3-stable
@kswang1029 kswang1029 added the bug Something isn't working label Feb 14, 2023
@kswang1029 kswang1029 added this to the v4.0-b1 milestone Feb 14, 2023
@kswang1029 kswang1029 assigned pford and unassigned markccchiang Feb 14, 2023
@kswang1029 kswang1029 added question Further information is requested casa Issue due to casacore implementation labels Feb 14, 2023
@kswang1029
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working casa Issue due to casacore implementation question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants