NCL breaks writing post script

From: brownmc AT uci.edu
Date: Wed Jul 06 2005 - 10:59:42 MDT


I am having problems outputing my plots to a ps file. It works fine when
I ouput to the X11 display, but I get this error message everytime I try
ps. I am using the mollweide application example script. Any help or
information would be greatly appreciated.
Thanks,
Mike

Copyright (C) 1995-2004 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 4.2.0.a032
 The use of this software is governed by a License Agreement.
 See http://ngwww.ucar.edu/ncl/ for more details.
ncl 0> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
ncl 1> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
ncl 2>
ncl 3> a = addfile("/data/brownmc/esg/TREFHT_0590_0600avg.nc","r")
ncl 4> t = a->TREFHT(0,:,:)
ncl 5>
ncl 6> wks = gsn_open_wks("ps","proj")
warning:GKS:GOPWK: --PostScript error: error opening output file
fatal:Workstation with PID#8 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 2488 in file
$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl

fatal:Execute: Error occurred at or near line 2666 in file
$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl

fatal:Execute: Error occurred at or near line 6

ncl 7> gsn_define_colormap(wks,"gui_default")
fatal:Variable (wks) is undefined
fatal:Execute: Error occurred at or near line 7

_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Thu Jul 07 2005 - 09:13:55 MDT