[daip] Problems using AIPS FITS cubes with C program

Laura Richter g99r1227 at campus.ru.ac.za
Thu Jan 18 10:06:42 EST 2007


Good morning,

I've been writing some C programs (with CFITSIO) to manipulate FITS 
files that I exported from AIPS with FITTP.  Just for testing the 
program I've been using a single channel FITS files from
AIPS and a simple test 6x6x3 data cube I created with fv (fitsviewer).

However, when I ran the code on a data cube exported from AIPS with
FITTP, it gives me errors:

--------------------------
phlr at kepler:~/PhD/programming$ ./FFTcorrel-3D cube1.fits cube2.fits
myout1.fits > out1

FITSIO status = 104: could not open the named file
failed to find or open the following file: (ffopen)
cube1.fits
----------------------------

I also found I can't open these data cubes in fv, where it tells me
"File not found."

Is there some issue with the formatting of cubes, rather than single 
images, that I am not aware of? Or perhaps I am exporting them 
incorrectly with FITTP?

Thank you.

Regards,
Laura Richter

Rhodes University,
Grahamstown,
South Africa





More information about the Daip mailing list