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
Re: Curious FindFile behavior [message #13776 is a reply to message #13589] Thu, 26 November 1998 00:00 Go to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
Barry Lesht wrote:
:> 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



We had a problem on our system when the filesystem holding /tmp
was short of room.

I discovered that findfile was creating a temporary file in /tmp
containing the matched filenames. When this list was large and file
filesystem containg /tmp didn't have room to hold it a truncated list
of filenames was returned. There was no error indication.
The number of matched files also varied with how much space was
available in /tmp.

Have a look and see how much space is left in /tmp.

Or was it /var/tmp? Now I'm not sure which it was...

Check both, it was one of the two.


--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
[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: Sun Oct 12 01:02:16 PDT 2025

Total time taken to generate the page: 2.07086 seconds