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

Home » Public Forums » archive » Re: fits_help issues again/still
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: fits_help issues again/still [message #67422 is a reply to message #67421] Thu, 23 July 2009 15:13 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Jul 23, 6:00 pm, David Fanning <n...@dfanning.com> wrote:
> Barbara writes:
>> this is what it tells me:
>
>> % FITS_OPEN:  ERROR: OPENR: Error opening file. Unit: 100
>>                       File: C:\Documents and Settings\kerri_2\Desktop
>> \medvar_IDL_
>>                        stuff\spec6sep080079.a.fits
>> % Expression must be a structure in this context: FCB.
>> % Execution halted at: FITS_HELP          62 C:\Documents and
>>    Settings\kerri_2\Desktop\Course_Files\astrolib\pro\fits
>> \fits_help.pro
>> %                      $MAIN$
>

That indicates that the error in line 62 is only a consequence of the
first error (not being able to open the file). That is the source of
the problem. What it is trying to open is C:\Documents and Settings
\kerri_2\Desktop\medvar_IDL_ stuff
\spec6sep080079.a.fits

Which may not be where the file is, as David mentioned, if a relative
filename was used. Some program you used might have changed your
current directory, and it also might have happened when a file was
opened in the editor, if the preference "change directory on file
open" is enabled.

Besides returning to the main level, as David suggested, in that sort
of situation (something worked 10 minutes before) sometimes it is
useful to reset the IDL session (.reset_session,
or .full_reset_session), which is a almost equivalent to exiting and
restarting IDL.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: fits_help issues again/still
Next Topic: Re: speed up image processing

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

Current Time: Sun Nov 30 20:29:50 PST 2025

Total time taken to generate the page: 1.52467 seconds