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 #67425 is a reply to message #67424] Thu, 23 July 2009 14:18 Go to previous messageGo to previous message
Barbara is currently offline  Barbara
Messages: 17
Registered: July 2009
Junior Member
On Jul 23, 2:07 pm, Barbara <med...@susqu.edu> wrote:
> On Jul 23, 2: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$
>
>> Well, I would say the most likely explanation is that whatever
>> you passed to FITS_HELP wasn't what it was expecting. Was
>> it the name of a FITS file? Or was it an IDL structure
>> variable? You can use the "HELP, variable" syntax to
>> find out what it was. If it is a structure, set the /STRUCTURE
>> keyword to the HELP command so you can see what fields it
>> has in it. Is there a field named "extname"?
>
>> Cheers,
>
>> David
>> --
>> David Fanning, Ph.D.
>> Coyote's Guide to IDL Programming (www.dfanning.com)
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
> my variable is a string. What is so confusing is it was all working 10
> min ago! and I even tried to use the file I was working on before that
> it had worked on, and it's not. I have no idea what ext name is. I
> wasn't using my variable (cause for some reason that never works) so I
> was using the actual file name, copied directly from the folder it's
> in.

ok... I moved the file into my default library and it works. However,
I'm trying to work on a lot of fits, that are all in a folder to make
my life easier and more organized. Should i make that my default
library then? and move the library that is currently my default to
just another library? Having it as a folder inside the current default
library also causes issues
[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: Thu Oct 16 20:49:45 PDT 2025

Total time taken to generate the page: 0.40143 seconds