Re: fatal:ContourPlotPreDraw

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue, 21 Dec 2004 14:47:20 -0700


I'm excited, because this is actually something that can be answered by
our FAQ. Please see:

If you don't want to visit the FAQ, I'll include the full answer below:

...You need to bump up your workspace size. First, you need to retrieve
the default workspace,
and then you can set the "wsMaximumSize" resource. To do this, add the
following code right
after you create a workstation:

ws_id = Ngl.get_workspace_id()
rlist = Ngl.Resources()
rlist.wsMaximumSize = 33554432

  You can permanently bump up the workspace size by setting
wsMaximumSize in your ~/.hluresfile:
*wsMaximumSize : 33554432

  If you are drawing a contour plot, you might also (instead) try
switching to raster contouring
by setting the resource cnRasterModeOn to True.



On Dec 21, 2004, at 12:59 PM, Ertl, John wrote:

> All,
> I am getting the following error when I try to plot a particular global
> field. If I shrink the field ,using LimitMode = "LatLon, to only North
> America or so it does plot. I can plot other global fields but not
> all of
> this one?
> I think I remember something about this on the list but when I did a
> search
> of the archive I could not find it.
> Any ideas why I can plot a small part of the grid but not the whole
> thing or
> what the errors mean?
> fatal:ContourPlotPreDraw: Workspace reallocation would exceed maximum
> size
> 16777216
> fatal:ContourPlotDraw: draw error
> warning:WorkstationDeactivate: workstation not active or not opened
> John Ertl
> _______________________________________________
> pyngl-talk mailing list

pyngl-talk mailing list
Received on Tue Dec 21 2004 - 14:47:20 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 19 2006 - 21:30:17 MST