Group Abstract Group Abstract

Message Boards Message Boards

0
|
9.9K Views
|
4 Replies
|
1 Total Like
View groups...
Share
Share this post:

Problem with .FITS files

Posted 12 years ago
Hi, I cannot open some .fits files from the LASCO instrument of SOHO observatory.

http://lasco-www.nrl.navy.mil/index.php?p=content/database

http://sharpp.nrl.navy.mil/cgi-bin/swdbi/lasco/images/form

For some fits (not for all) the command Import[“filename.fits”] prints “$Failed”, but I can open the same fits with other applications (this means that the files are not damaged). Is this a bug or am I doing something wrong?

Thank you.
4 Replies
I don't know much about FITS, but I thought it will be useful if I post this (and help avoid some confusion):

FITS is a rather complex format that can store different kinds of data in various ways.  Mathematica only supports certain kinds of FITS files.  It is likely that your files are not damaged, but Mathematica simply doesn't support this particular kind of FITS file.  I remember trying to read in some FITS files once, and after discovering this, I gave up on doing it directly with Mathematica.  You might convert it to an easier to read format with some other application, and then read the other format into Mathematica.

This is not a bug, and you're likely not doing anything wrong.  Mathematica simply doesn't support FITS fully, probably because of the complexities and the generality of the format.

(I did not actually download your files, I'm just sharing my previous experiences with FITS.)
POSTED BY: Szabolcs Horvát
Attachments:
OK, I know that.
I’m sending you two .fits files (A and B ) from LASCO:
https://www.dropbox.com/s/ltu1f0twu3gx5k1/LASCO_FITS.rar
I can open the file B.fts but I can't import the file A.fts. The two images captured by the same camera (C2), the A.fts is a decompressed image (Level 0.5) and the B.fts is a calibrated image (Level 1).  
.fits is on the list of supported formats. 
See http://reference.wolfram.com/mathematica/ref/format/FITS.html
POSTED BY: Frank Kampas
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard