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 #44933 is a reply to message #44807] Wed, 20 July 2005 16:23 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
amohraz@gmail.com wrote:
> The command I typed was:
>
> f=findfile('/group2/Ali2/071805/6535j2/*.tif',count=nf)
>
> and I also tried:
>
> f=findfile('/group2/Ali2/071805/6535j2/6535j20001.tif',count =nf)
>
> and I know there are a lot of tif files in this location, including
> 6535j20001.tif
>
> Then, print, nf gives me 0.
>
> Is this not the correct command?

Looks OK.

As David suggests, are you *sure* you have the names right? Try copying
the directory and file names out of IDL into your shell console and back
again to make sure.

Can you get findfile to work as you expect on *any* directory?

Perhaps findfile fails because there are *too many* files in the
directory. I vaguely recall references to problems such as this on this
group. I am too lazy to Google the group to confirm this, but you could
give it a try.


--
Mark Hadfield "Kei puwaha te tai nei, Hoea tahi tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[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: Sun Nov 30 03:39:32 PST 2025

Total time taken to generate the page: 0.32045 seconds