comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL MODFITS problem.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL MODFITS problem. [message #92679] Sat, 06 February 2016 06:34 Go to previous message
Sapna Mishra is currently offline  Sapna Mishra
Messages: 66
Registered: December 2015
Member
Hello everyone,
I have an IDL procedure for updating fits file header, which is working fine for almost all fits files but for few files it is showing error:
MODFITS: Input FITS header contains 253 lines
% MODFITS: Current disk FITS header contains 252 lines
% MODFITS: ERROR - FITS header not compatible with existing file
% MODFITS: FITS file BLL1132+0034_CHIP1_SCIENCE_SKY_SPECTRUM_FORS1.2008_05_06T01_ 09_51.196.fits not modified

Can anyone tell how to solve this problem?
The part of my procedure using command:
sxaddpar,h,'CLASS',C
modfits,fname(i),0,h

where h: file header
CLASS: keyword I want to add
C: variable whose value I want to add in CLASS keyword in my fits header.

Please let me know any of your suggestion.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: exelisvis.com is now harrisgeospatial.com
Next Topic: xvolume array size limit?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:11:32 PDT 2025

Total time taken to generate the page: 0.00400 seconds