Re: Too Many Files ?

From: Helen Parish <hparish_at_nyahnyahspammersnyahnyah>
Date: Tue, 17 Feb 2009 01:19:34 -0800

Dear Andrea,

I was not expecting such a rapid response !. Yes, adding that extra
line does seem to have helped. I still had to reduce the number of
files a little, due to a memory allocation error, which is probably
related to the space on my local machine, but it is working now.

Thanks,
Helen.

On Feb 17, 2009, at 12:08 AM, Andrea Hahmann wrote:

> Dear Helen
>
> Are these netcdf files you are reading? If it is that questions was
> answered over the list just one or two days ago:
> I quote:
>
> You need to use the following incantation in your script prior to
> opening any files:
>
> setfileoption("nc","SuppressClose",False)
>
> See http://www.ncl.ucar.edu/Document/Functions/Built-in/
> setfileoption.shtml
>
> Hope this helps,
> Andrea
>
> --
>
> Andrea N. Hahmann
> Senior Scientist
>
> Phone direct +45 4677 5471
> andrea.n.hahmann_at_risoe.dk
>
> Wind energy Division
> Risø National Laboratory for Sustainable Energy
> Technical University of Denmark – DTU
> Building 114, P.O. Box 49
> DK-4000 Roskilde, Denmark
> Tel +45 4677 4677
> Fax +45 4677 5083
> www.risoe.dtu.dk
>
>
>
>> From: Helen Parish <hparish_at_ess.ucla.edu>
>> Date: Tue, 17 Feb 2009 00:12:21 -0800
>> To: <ncl-talk_at_ucar.edu>
>> Cc: <hparish_at_ess.ucla.edu>
>> Subject: Too Many Files ?
>>
>> I am trying to use "specx_anal" to make a spectrum over time.
>> However, I was not aware that there is an upper limit on the number
>> of files that can be used by this routine. When I tried to run the
>> routine I got the error message "fatal:Too many open files" several
>> times before I stopped the program.
>>
>> What is the upper limit on the number of files that can be used ?. (I
>> was trying to follow a time sequence using 252 files output at
>> different times).
>>
>> Thanks,
>> Helen.
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Feb 17 2009 - 02:19:34 MST

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