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 #93465 is a reply to message #93463] Fri, 22 July 2016 08:31 Go to previous message
Sapna Mishra is currently offline  Sapna Mishra
Messages: 66
Registered: December 2015
Member
On Friday, July 22, 2016 at 8:30:03 PM UTC+5:30, wlandsman wrote:
> 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.

And One more thing, have you ever modified a value of a single variable of a structure stored in a fits file in particular ext.???? I think after my this error we can not use modfits.pro to modify value of a single variable in a structure ...
[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 11:44:15 PDT 2025

Total time taken to generate the page: 0.00449 seconds