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

Home » Public Forums » archive » very very strange thing is happening with modfits......
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: very very strange thing is happening with modfits...... [message #93463 is a reply to message #93458] Fri, 22 July 2016 07:59 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Friday, July 22, 2016 at 1:15:26 AM UTC-4, Sapna Mishra wrote:
> ..etc.
> But after modifying it to a fits file stored in variable:fname(n_elements(fname)-1)
> I got very different values: 2.26270e+28,-5.91691e-11.......with message:

I don't know what is happening -- it works for me.

But why don't you just write a new FITS file (using mwrfits.pro) instead of using modfits.pro? It is likely faster (and certainly less complicated) to write a complete new FITS file, rather than modify bits and pieces of an existing file.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: File units (de)allocation in IDL - what is the proper way?
Next Topic: table in fits format

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

Current Time: Wed Oct 08 15:14:35 PDT 2025

Total time taken to generate the page: 0.00391 seconds