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

Home » Public Forums » archive » Re: Help from UNIX IDL 7.1 Users
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: Help from UNIX IDL 7.1 Users [message #67651 is a reply to message #67648] Wed, 19 August 2009 10:25 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mike writes:

> I think that the include-the-path-in-the-Selection-box behavior has
> been there for a long time - at least since 5.4. I've always treated
> it as an annoying platform-dependence rather than a bug.

Well, you are probably younger than I am. :-)

> I tried your example on 5.4, 6.3, 7.0 and 7.1
>
> theDirectory = '/disks/arctic6_raid/fanning/june_2007_162/mod09/'
> theFile = 'channel_4_mosaic.png'
> selectedFile = Dialog_Pickfile(FILE=theFile, PATH=theDirectory)
>
>
> The dialogs look like this:
>
> http://mypage.iu.edu/~mmiller3/IDL/dialog_pickfile-5.4.png
>
> http://mypage.iu.edu/~mmiller3/IDL/dialog_pickfile-6.3.png
>
> http://mypage.iu.edu/~mmiller3/IDL/dialog_pickfile-7.0.png
>
> http://mypage.iu.edu/~mmiller3/IDL/dialog_pickfile-7.1.png
>
>
> and the return value for your example is '/disks/arctic6_raid/fanning/
> june_2007_162/mod09/channel_4_mosaic.png' with IDL 5.4, 6.3, 7.0, 7.1:

Well, that is interesting. My test case was actually different from
the case I wrote in the article. My test case was this:

IDL> dir = '~/IDL/coyote'
IDL> file = 'fsc_surface.pro'
IDL> Print, Dialog_Pickfile(FILE=file, PATH=dir)
/home/fanning/IDL/coyote/~/IDL/coyote/fsc_suface.pro

Which is obviously wrong. So maybe it is just a bug in
how wildcards are handled. Anyway, it sure looks and feels
like a bug to me. :-)

Cheers,

David

P.S. Can you check the test case above in IDL 7.1 and let me
know what you see? It will probably help with my report to
ITTVIS. You will probably have to substitute your own
directories for mine.



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: [IDL 6.2 with ENVI 4.2] is-it possible to extract multiple profiles on multiple images from shape files
Next Topic: Re: is-it possible to extract multiple profiles on multiple images from shape files

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

Current Time: Sat Oct 11 07:17:16 PDT 2025

Total time taken to generate the page: 1.44272 seconds