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

Home » Public Forums » archive » Curious FindFile behavior
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Curious FindFile behavior [message #13589] Wed, 25 November 1998 00:00 Go to previous message
lesht is currently offline  lesht
Messages: 1
Registered: November 1998
Junior Member
I'm running IDL5.1 on an SGI (IRIX6.2). I'm using FindFile to create
an array of data filenames that I can pass to some processing code.
There are (as it turns out) 515 files in the directory I'm searching.
The filenames are all of the form xxxxxxxxx.xx.yymmdd.hhmmss.cdf. I
get the following from FindFile-

IDL> files=FindFile('*.*', COUNT=nf)
IDL> PRINT, nf
0
IDL> files=FindFile('*.cdf', COUNT=nf)
IDL> PRINT, nf
0
IDL> files=FindFile('*98*.cdf', COUNT=nf)
IDL> PRINT, nf
0
IDL> files=FindFile('*980*.cdf', COUNT=nf)
IDL> PRINT, nf
425
IDL> files=FindFile('*981*.cdf', COUNT=nf)
IDL> PRINT, nf
90

I don't see why cases 2 and (especially) 3 didn't result in nf=515.
Can anyone explain this? Thanks.

Barry Lesht
bmlesht@anl.gov
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: vector plots and map backgrounds
Next Topic: Masking of land/sea

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

Current Time: Sat Oct 11 11:07:10 PDT 2025

Total time taken to generate the page: 1.13783 seconds