Welcome to iraf.net Monday, May 13 2024 @ 12:52 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 wspectext ERROR: Cannot open pixel file
   
David Stops
 10/26/2009 04:34PM (Read 3174 times)  
+----
Newbie

Status: offline


Registered: 10/26/2009
Posts: 2
I'm trying to extract a 1d spectra from a fits file using wspectext NAMEex.fits[*,2] NAME.txt On NOAO PC-IRAF Revision 2.12.2-EXPORT on Debian Linux, I get the error belowERROR: Cannot open pixel file (obj16ex.fits[*,2])When I try the same thing on NOAO/IRAFNET PC-IRAF Revision 2.14
on Mac OS X I do not get any errorsI thought it might be the imdir variable but it seems to be set
sensiblyWhat is going wrong ?Thank youDavid

 
Profile Email
 Quote
fitz
 10/26/2009 04:34PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
If you can e.g. IMSTAT the fits file then there isn't a general problem reading the file and the section "[*,2]" may not be valid. Is this a 2-D FITS file or a 2-D spectrum? Another possible problem is that the file is truncated on the Debian system (i.e. not an even multiple of 2880 bytes). The imdir variable is used when creating a new .imh image and isnt' used when reading a FITS file.

 
Profile Email
 Quote
David Stops
 10/26/2009 04:34PM  
+----
Newbie

Status: offline


Registered: 10/26/2009
Posts: 2
Thanks for the suggestion. I seem to have solved the problem
by updating my version of IRAF running on DebianDavid

 
Profile Email
 Quote
   
Content generated in: 0.09 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login