[ncl-talk] sub: Memory allocation errror

Adv advita6 at gmail.com
Fri Feb 20 14:33:10 MST 2015


Hi,
I am trying to read netcdf files using addfiles. When i try to read
variable it gives error. Could some one help me to fix this issue? Each
file size 376M

Thanks.
My script:
fils = systemfunc ("ls /pr/*.nc") ; file paths
f    = addfiles (fils, "r")
ta    = addfiles_GetVar (f, fils, "ta")
ListSetType (f, "cat")
ta= f[:]->ta                ; read T from all files
printVarSummary (ta)

The error:fatal:NhlRealloc Failed:[errno=12]
fatal:Memory allocation failure:[errno=12]
fatal:Execute: Error occurred at or near line 14 in file corrtemp.ncl


Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150220/74d0b415/attachment.html 


More information about the ncl-talk mailing list