[ncl-talk] quation

Guido Cioni guidocioni at gmail.com
Tue Jul 11 02:39:56 MDT 2017


You are running out of memory; see here https://www.ncl.ucar.edu/Document/Language/error_messages.shtml#NclMalloc <https://www.ncl.ucar.edu/Document/Language/error_messages.shtml#NclMalloc>. 
I guess the problem arises from this line

pre = onedtond(precip,(/mtime,mlat,mlon/))

You are trying to create an array which is 384x384x384, pretty big if you're not using a machine with large memory. Are you sure this numbers are correct? Usually the time dimension is slightly smaller...

Possible solutions are:
move to a machine with more memory
split the array in different parts
Cheers


> On 11. Jul 2017, at 10:29, yohanan sweet <marsilas23 at gmail.com> wrote:
> 
> Hello 
> I try to convert txt file to NetCDF but I got an error in my code.
> 
> fatal:NclMalloc Failed:[errno=12]
> Segmentation fault
> 
> please help me
> 
> Thank you
> <convert to netcdf.txt>_______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk


Guido Cioni
http://guidocioni.altervista <http://guidocioni.altervista/>.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170711/98e3989b/attachment.html 


More information about the ncl-talk mailing list