memory allocate problem

From: jerry <jerry_at_nyahnyahspammersnyahnyah>
Date: Fri, 16 Jun 2006 10:49:39 +0800

hi

I read a daily data with 3 dimensions T1000(time , lat , lon)¡Athe time is from 19480101 to 20060131.

The code is below

begin
   
     f = addfile("http://172.16.66.34/cgi-bin/nph-dods/data_online/........../NCEPRE-Daily_T1000_d.nc" , "r")
     var = f->T1000
     var_new = short2flt(var)

end
    
When the code runs to var_new = short2flt(var)¡Ait get the error message¡G
 
fatal¡GNclmalloc Failed¡G[ error=12 ]¡GCannot allocate memory
fatal¡GCould not coerce values for operation
fatal¡GExecute¡GError occurred at or near line 1340 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl

So i make the time range shorter ¡G

begin
   
     f = addfile("http://172.16.66.34/cgi-bin/nph-dods/data_online/........../NCEPRE-Daily_T1000_d.nc" , "r")
     var = f->T1000(0:3650, : , :) ; the time only chose 10 years
     var_new = short2flt(var)

end

And the scripts will work complete.

But i need to read the whole data , how can i do ?
Thank you

NCL version¡G4.2.0.a33
OS¡GRed Hat Linux ES 3.0
RAM¡G2G

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jun 15 2006 - 20:49:39 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 16 2006 - 13:51:09 MDT