cannot allocate memory

From: Tq <aaronzgj_at_nyahnyahspammersnyahnyah>
Date: Mon May 09 2011 - 21:23:52 MDT

Hi,

    I¡¯m reading in 360 data files(30 years monthly sea level pressure) which vary in time to join them together,but it cannot read in all the files.The version of NCL I am running is Version:version5.1.0 .The type of system is CYGWIN_NT-5.1 PC2011031418ZRL 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin.My computer memory is 2GB .Could you please help me fix it?

My NCL script:

begin

all_files = systemfunc("ls d:/nee/paper/psl/psl_9*.nc")

f = addfiles(all_files,"r")

ListSetType(f,"cat")

psl = f[:]->PSL

printVarSummary(psl)

end

I get the following error:

fatal:Cannot allocate memory

fatal:Could not open (d:/nee/paper/psl/psl_911_03.nc)

fatal:Cannot allocate memory

fatal:Could not open (d:/nee/paper/psl/psl_911_02.nc)

fatal:Cannot allocate memory

fatal:Could not open (d:/nee/paper/psl/psl_911_01.nc)

fatal:Cannot allocate memory

fatal:Could not open (d:/nee/paper/psl/psl_910_12.nc)

.

.

.

fatal:Cannot allocate memory

fatal:Could not open (d:/nee/paper/psl/psl_901_03.nc)

fatal:Cannot allocate memory

fatal:Could not open (d:/nee/paper/psl/psl_901_02.nc)

fatal:Cannot allocate memory

fatal:Could not open (d:/nee/paper/psl/psl_901_01.nc)

Variable: psl

Type: float

Total Size: 7766016 bytes

           1941504 values

Number of Dimensions: 3

Dimensions and sizes: [time | 237] x [lat | 64] x [lon | 128]

Coordinates:

           time: [332270..332270]

           lat: [-87.86379883923263..87.86379883923263]

           lon: [ 0..357.1875]

Number Of Attributes: 3

 units : Pa

 long_name : Sea level pressure

 cell_method : time: mean

Thanks a lot!

Nee

 

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon May 9 21:54:39 2011

This archive was generated by hypermail 2.1.8 : Fri May 13 2011 - 10:21:56 MDT