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

Home » Public Forums » archive » findfile not recognized
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: findfile not recognized [message #44920 is a reply to message #44807] Thu, 21 July 2005 07:55 Go to previous messageGo to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
R.G. Stockwell wrote:
> <amohraz@gmail.com> wrote in message
> news:1121882624.312760.62700@g14g2000cwa.googlegroups.com...
>
>> Thanks a lot for your response, Haje. findfile just doesn't find
>> anything, and I have tried specifying the full path. It doesn't work!
>> Thanks for your suggestion on file_search. The problem is I'm using a
>> lot of routines that were written by other people and frequently use
>> findfile in them, so I would have to modify a lot of files if I were to
>> change all of them to file_search.
>> Do you have any ideas as to how to fix this?
>> Many thanks again,
>> Ali
>
>
> A couple of suggestions:
> your filename is almost certainly to blame.
>
> 0) use file_search. Seriously.
>
> 1) To be certain you have the correct path, try to read the tif file
> filename = '/group2/Ali2/071805/6535j2/6535j20001.tif'

You could use

filename = dialog_pickfile()

Then filename *must* be correct.

Benjamin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: % Error in ZLIB compression library - data error. Unit: 100, File: /home/mathieu/Projects/FarSight/Documentation/idldoc/idldoc.sav
Next Topic: Overlaying gridded winds on satellite data

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

Current Time: Fri Oct 10 02:59:12 PDT 2025

Total time taken to generate the page: 5.12305 seconds