problem accessing multiple files using fbinread

From: Sam Iacobellis <sam_at_nyahnyahspammersnyahnyah>
Date: Fri, 13 Feb 2009 11:11:36 -0800 (PST)

Hi,

I'm trying to run a simple NCL script that reads data using the fbinread
function. I need to access quite a few individual files, around 1200 or
so, each file for a different day of data. After reading about 1020
files, the run stops and I get an error saying that fbinread could not
open the file.

The problem seems not to be with the individual file, but rather that it
is the 1020th file that the script has tried to access. I've reordered
the loop so that the files are accessed in a different order and the same
problem happens for the 1020th file.

My guess is that the files remain open after I read the data and there is
a limit to the amount of open files. Is there a way to close the file
after I am finished reading the data?

Has anyone else come across this problem? I looked through the archives,
but could not find any related information.

Thanks for any help.

Sam.

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Feb 13 2009 - 12:11:36 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 19 2009 - 09:54:51 MST