Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to handle CALSPEC fits files

 
Post new topic   Reply to topic    iraf.net Forum Index -> Misc
View previous topic :: View next topic  
Author Message
galtavi



Joined: 29 Aug 2006
Posts: 3

PostPosted: Tue Aug 29, 2006 8:54 am    Post subject: how to handle CALSPEC fits files Reply with quote

Dear IRAF expert, I have a problem handling the CALSPEC spectra
(http://www.stsci.edu/hst/observatory/cdbs/calspec.html) with IRAF.
"Files are in machine independent binary FITS table format".
It's the first time I use them.
SPLOT does not plot them (ERROR: MWCS: dimension mismatch (mw_open))
In order to plot them with SPLOT I make the following: I convert the original fits file into an ASCII table with TDUMP
(tdump file.fits columns="WAVELENGTH, FLUX" datafile="table.dat")
then I go back to fits with RSPECTEXT, with
(dtype = nonlinear) Dispersion type
This option generates a huge header (I had to modify the login.cl with this line:
set min_lenuserarea = 1000000) in order to avoid the error:"Warning: Out of space in image header".
The problem is that if I want to use SARITH or other tasks with this spectra I get the error : "Warning: MWCS: out of storage for FITS-WCS cards".
I think the problem is the huge header, I was thinking to resample the spectra (the ASCII table) with a costant step before converting them to fits with rspectext
in order to have a "normal header".
Maybe there is a simple way to handle these spectra. Do you have any suggestion?
I also had to increase cmbuflen in the login.cl to print a postscript image.
Thanks!
Giuseppe
Back to top
View user's profile Send private message
hanin



Joined: 28 Dec 2007
Posts: 18
Location: Bosscha Observatory / Dept. Astronomy

PostPosted: Wed Mar 05, 2008 6:03 pm    Post subject: Reply with quote

-sorry, cancelled my post Very Happy -
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.15 seconds