I have not heard of any problems like that described.
As noted at
http://www.ncl.ucar.edu/new_release.shtml
There is no mention of any work station updates.
---- Under the scenario below, specifically wks = gsn_open_wks(plot_type,...) The key is the "..." say "pltName" wks = gsn_open_wks(plot_type,pltName + i) where each iteration there is a new name ... should work. D Mark Branson wrote: > Hi everyone. > > Most of the ncl routines that are called by the AMWG diagnostics > package have a loop of this basic format: > > do i = 0, nvars-1 > . > . > wks = gsn_open_wks(plot_type,...) > . > (set a bunch of resources) > . > gsn_panel(wks,plot,(/2,1/),pan) ; panel plot > . > frame (wks) > end do > > and plot_type is in fact set to pdf. Again, this worked splendidly in > all versions of ncl 5.0 and before, but now it fails in 5.1. That > seems strange to me. > > To my knowledge there is no gsn_close_wks command. Doesn't the frame > command update and clear the workstation objects? > > Thanks! > Mark > >> In fact you cannot have more than one PDF workstation open at a time. >> PDF files end with a pointer to a reference table that specifies >> byte addresses >> for PDF objects in the file. This table cannot be completed until >> the file is >> closed. I decided that the benefit/cost ratio was not high enough >> to make >> the necessary mods to keep in memory all of the necessary pointers for >> more than a single PDF output file, since I was thinking it would be >> rare >> that someone would want that. >> >> This limitation is mentioned at: >> >> http://ncarg.ucar.edu/gks/pdf.html >> >> Fred Clare >> >> >> >> >> >> On Jul 1, 2009, at 3:55 PM, Mark Branson wrote: >> >>> I can't remember when ncl v5.1 came out and was installed on my >>> machine, but I'm pretty sure it happened in the last few months. >>> Because I have a version of the AMWG diagnostic package that Rich >>> Neale maintains, and back on April 27th it worked fine, but now I get >>> errors like these: >>> >>> SET 3 ZONAL LINE PLOTS >>> MAKING ANN PLOTS >>> Copyright (C) 1995-2009 - All Rights Reserved >>> University Corporation for Atmospheric Research >>> NCAR Command Language Version 5.1.0 >>> The use of this software is governed by a License Agreement. >>> See http://www.ncl.ucar.edu/ for more details. >>> warning:GKS:GOPWK: -- Only one PDF workstation can be open at a time >>> fatal:Workstation with PID#88 is not open >>> ERROR 3 IN NGSETI - value for WO must reference an open >>> workstation. >>> ERROR 1 IN NGSETI - Uncleared prior error >>> ERROR 1 IN NGSETI - Uncleared prior error >>> ERROR 1 IN NGSETI - Uncleared prior error >>> ERROR 1 IN NGSETI - Uncleared prior error >>> ERROR 1 IN NGSETI - Uncleared prior error >>> fatal:Unable to open Workstation-Can't Create >>> fatal:Unable to access object with id:-4 >>> fatal:NhlGetValues:PID #-4 is invalid >>> fatal:Execute: Error occurred at or near line 3178 in file >>> $NCARG_ROOT/ >>> lib/ncarg/nclscripts/csm/gsn_code.ncl >>> >>> Perhaps I need to install v5.1.1???? >>> >>> Thanks, >>> Mark Branson >>> >>> _______________________________________________ >>> 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 _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Wed Jul 01 2009 - 22:00:48 MDT
This archive was generated by hypermail 2.2.0 : Thu Jul 02 2009 - 11:39:38 MDT