[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Flexible Image Transport System (FITS) file format support
From: |
Guido Walter Pettinari |
Subject: |
Re: Flexible Image Transport System (FITS) file format support |
Date: |
Sun, 28 Mar 2010 14:27:39 +0000 |
Hi Søren,
I think you are right again. I compiled MFITSIO with Matlab R2008B and the
latest version of CFITSIO 3, and I obtain exactly the same error message:
>> data = fits_read_image ('cl_out.fits')
12 An error occurred: 320
??? Error using ==> fits_read_image
Could not close file.
Error in ==> fits_read at 21
IMAGE = fits_read_image(filename);
By the way, I was wrong in my last e-mail: after running fits_read_image, I do
not get any output, not even an unusable image. This is true for both Matlab
and Octave. I have sent an e-mail to Damian Eads
(http://users.soe.ucsc.edu/~eads/index.shtml), the developer of MFITSIO, asking
him if he plans to update MFITSIO.
At a later stage, when I will have more familiarity with FITS file, I may be
interested in developing an Octave Forge package to support them. It would be a
wrapper to CFITSIO v3. Is it possible to write it using MEX API instead of
Octave's? With MEX's it could be an easier task since I could re-use some code
from MFITSIO.
Cheers,
Guido
On Mar 28, 2010, at 5:40 , Søren Hauberg wrote:
>
> I had a look at this and I must say that I think the problem lies in
> MFITSIO and not Octave. My guess (and I am guessing) is that MFITSIO is
> not compatible with version 3 of CFITSIO, as MFITSIO has not been
> updated since 2003 (the last version of CFITSIO in the 2.x.x series is
> from 2004).
>
> Does anybody have access to Matlab on a machine with CFITSIO installed,
> that would be willing to install MFITSIO and see if it works?
>
> Søren
>
>
- Flexible Image Transport System (FITS) file format support, coccoinomane, 2010/03/27
- Re: Flexible Image Transport System (FITS) file format support, Søren Hauberg, 2010/03/27
- Re: Flexible Image Transport System (FITS) file format support, John W. Eaton, 2010/03/27
- Re: Flexible Image Transport System (FITS) file format support, Guido Walter Pettinari, 2010/03/27
- Re: Flexible Image Transport System (FITS) file format support, Søren Hauberg, 2010/03/28
- Re: Flexible Image Transport System (FITS) file format support,
Guido Walter Pettinari <=
- Re: Flexible Image Transport System (FITS) file format support, Søren Hauberg, 2010/03/28
- Re: Flexible Image Transport System (FITS) file format support, Thomas D. Dean, 2010/03/28
- Re: Flexible Image Transport System (FITS) file format support, Dmitri A. Sergatskov, 2010/03/28
- Re: Flexible Image Transport System (FITS) file format support, Thomas D. Dean, 2010/03/28
- Re: Flexible Image Transport System (FITS) file format support, Thomas D. Dean, 2010/03/28
- Re: Flexible Image Transport System (FITS) file format support, Thomas D. Dean, 2010/03/29