Hi
I am trying to read a small text file using NCAR Command Language
Version 4.2.0.a029 :
cmapfile = getenv("CARTES_PATH")+"/defpal.rec"
colordata = asciiread(cmapfile,(/249,4/),"integer")
colordataf = colordata / 255.0
cmap = new((/256,3/),float)
The file is :
-rwxr-xr-x 4.0K Aug 14 2002 /io/httpd/ncl/defpal.rec*
And I get an error creating the cmap array.
fatal:NclMalloc Failed:[errno=0]:Error 0
fatal:New: could not create new array:[errno=12]:Not enough space
fatal:Execute: Error occurred at or near line 1970
Using limits:
filesize unlimited
datasize unlimited
stacksize 524288 kbytes
coredumpsize 0 kbytes
memoryuse 1657584 kbytes
vmemoryuse unlimited
descriptors 2500
threads 1024
What is wrong?
-- Christian Pagé http://meteocentre.com/ http://meteoalerte.com/ Etudiant au Doctorat en Sciences de l'environnement UQAM_______________________________________________ ncl-talk mailing list ncl-talk AT ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Wed Oct 27 2004 - 15:56:54 MDT