Begin forwarded message:
> From: Rick Brownrigg <brownrig@ucar.edu>
> Date: October 19, 2009 10:33:59 AM MDT
> To: Xuguang Sun <sunxg007@yahoo.com.cn>
> Subject: Re: how many netcdf files can be opened at one  
> time?
>
> Hi,
>
> Many operating systems have a limit on the number of open files a  
> process is allowed to have.  On a Linux/Unix system, this can be  
> determined with the bash command "ulimit -n".   Limits of 1024 files  
> per process are common.  Is this perhaps the issue?
>
> Rick
>
> On Oct 19, 2009, at 10:08 AM, Xuguang Sun wrote:
>
>> Dear everyone,
>>
>> I have a list of files named by the date, for example, 1900-01.nc,  
>> 1900-02.nc, ... 1999-11.nc, 1999-12.nc, 1200 files in all. I'd like  
>> to open them by using the addfiles() function, the script is the  
>> followings,
>>
>>  fns = systemfunc("ls 19??-??.nc")
>>  in  = addfiles(fns,"r")                         ; open netcdf file
>>  ListSetType(in,"cat")                         ;specify type of merge
>>
>> There is an error message,
>>
>> fatal:Too many open files
>>
>> it seems that there is a limit for opening NetCDF files in NCL. Is  
>> that so?
>>
>> Thanks.
>>
>> Xuguang SUN
>>
>>
>>
>>     ___________________________________________________________
>> 好玩贺卡等你发,邮箱贺卡全新上线!
>> http://card.mail.cn.yahoo.com/
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Oct 19 10:36:04 2009
This archive was generated by hypermail 2.1.8 : Fri Oct 23 2009 - 11:36:30 MDT