Re: dynamic memory allocation error after turning on res1@cnFillMode = "RasterFill"

From: xiaoming Hu <yuanfangcan_at_nyahnyahspammersnyahnyah>
Date: Wed Jan 16 2013 - 13:24:46 MST

Dave

My script is at:

http://www.caps.ou.edu/micronet/WRF-UCM/EnergyBudget/plot_individual2Day_IUenergy_combine2episodes_addTKE_OBSprofile.ncl

I still get the same error even after I set a very large value to "res1@cnLevelSpacingF =10."

fatal:_NhlUseWorkspace: dynamic memory allocation error
fatal:ContourPlotDraw: error reserving cell array workspace
fatal:ContourPlotDraw: draw error
warning:WorkstationDeactivate: workstation not active or not opened
fatal:_NhlUseWorkspace: dynamic memory allocation error
fatal:ContourPlotDraw: error reserving cell array workspace
fatal:ContourPlotDraw: draw error
warning:WorkstationDeactivate: workstation not active or not opened

Thanks a lot
Xiaoming

Subject: Re: dynamic memory allocation error after turning on res1@cnFillMode = "RasterFill"
From: dbrown@ucar.edu
Date: Wed, 16 Jan 2013 12:33:43 -0700
CC: ncl-talk@ucar.edu
To: yuanfangcan@hotmail.com

The amount of memory used for raster plotting depends on the output resolution. What type of output workstation were you specifying? Did you set any resources that might affect the resolution, such as cnRasterCellSizeF, cnRasterMinCellSizeF, cnRasterSampleFactorF, or wk[PS/PDF]Resolution?Otherwise, it would be good to know the size of the data you are working with, and what other memory allocations you have made prior to the drawing routine.Without looking at the script it is pretty hard to know exactly what is going on here/ -dave

On Jan 16, 2013, at 11:22 AM, xiaoming Hu wrote:After turning on res1@cnFillMode = "RasterFill"
I got error message:
"
fatal:_NhlUseWorkspace: dynamic memory allocation error
fatal:ContourPlotDraw: error reserving cell array workspace
fatal:ContourPlotDraw: draw error
"

After turning off res1@cnFillMode = "RasterFill"
I got the image below:
This is weird. I thought RasterFill requires less memory.
Thanks
Xiaoming

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

                                               

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jan 16 13:24:58 2013

This archive was generated by hypermail 2.1.8 : Sat Jan 19 2013 - 10:23:16 MST