[ncl-talk] Error: wrf_tk Unable to allocate memory

Kevin Hallock hallock at ucar.edu
Wed May 9 10:14:58 MDT 2018


Hi BA,

How many files are you trying to open with this:
  f = systemfunc("ls -1 /home/bchaimite/lustre/WRFChem/WRFV3/run/wrfout_oldfiles/wrfout_d01*")  ; Open a file
  a = addfiles(f,"r")

Also, could you please add the following lines to your script after both instances of “addfiles” and reply with the output:
  printVarSummary(a->T)
  printVarSummary(a1->T)

Thanks,
Kevin

> On May 9, 2018, at 3:10 AM, Berny Chaimite <bchaimite at gmail.com> wrote:
> 
> I used the attached script to generate temperature maps at different vertical levels. They are data from simulations made with wrf. I used the same script to plot a smaller domain (d02) and did not give any error, now to plot d01 data shows me:
> 
> fatal:wrf_tk: Unable to allocate memory for output array
> ^Mfatal:["Execute.c":8575]:Execute: Error occurred at or near line 1046 in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
> 
> ^Mfatal:["Execute.c":8575]:Execute: Error occurred at or near line 46 in file plotd01_pvt.ncl
> 
> 
> 
> 
> Regards,
> BA Chaimite
>  -----
> ----------------------------------------
> Berny A. Chaimite
> ----------------------------------------
> Atmospheric and Climate Sciences Student
> Department of Physics 
> Eduardo Mondlane University
> 
> P. Contact:  
> Cell: +258 828 957 675(Whatsapp)/846041931/870434233 
> Tell: +258 2145 6389
> Institutional: berny.chaimite at uem.ac.mz <mailto:berny.chaimite at uem.ac.mz> 
> 
> Maputo, Mozambique 
> <plotd01_pvt.ncl>_______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180509/86d1a8dd/attachment.html>


More information about the ncl-talk mailing list