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

Home » Public Forums » archive » MWRFITS not writing header
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
MWRFITS not writing header [message #93285] Mon, 06 June 2016 04:28 Go to previous message
tho.siegert is currently offline  tho.siegert
Messages: 6
Registered: April 2014
Junior Member
Hi,

I am trying to write a struct to a fits file and want to put a header into the header of the fits file.
Writing the struct is fine but the header is not present at all after the file has been created or an extension has been added.

For the header I am reading another fits file's header and simply want to use this one. Doesn't work either.

Even the minimal example

a=lonarr(10,10,10)
hdr='COMMENT This is a comment line to put in the header''
mwrfits,a,'test.fits',hdr

does not include the head in the "test.fits" file.
I get no errors.

I cannot use writefits because the input struct is not accepted by the program.

Any suggestions?

Thomas
[Message index]
 
Read Message
Read Message
Previous Topic: anyone using "an introduction to programmin g with IDL, by Kenneth P Bowman ?
Next Topic: contour problem (Triangle not in counterclockwise order)

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

Current Time: Wed Oct 08 11:28:45 PDT 2025

Total time taken to generate the page: 0.00426 seconds