The problem was with variables t, pt, and clm
I have added
delete (clm)
delete (pt)
delete (t)
delete (fpath)
delete (infile1)
Assignment error is now cleared
Now there is a problem with work station
#############
(0)     mm=01
(0)     mm=02
warning:GKS:GOPWK: -- Only one PDF workstation can be open at a time
fatal:Workstation with PID#132 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
Segmentation fault(coredump)
############
My script insode the loop is as follows:
...........................
...........................
...........................
  wks1 = gsn_open_wks("pdf","clim"+mm)
  wks2 = gsn_open_wks("x11","clim"+mm)
  gsn_define_colormap(wks2,"gui_default")
  res                   = True
  res@mpProjection      = "CylindricalEquidistant"
  res@mpGridAndLimbOn   = True              ; turn on lat/lon lines
  res@mpPerimOn         = False             ; turn off box around plot
  res@mpGridLatSpacingF = 30.               ; spacing for lat lines
  res@mpGridLonSpacingF = 30.               ; spacing for lon lines
  res@mpFillOn          = False
  res@cnFillOn          = True              ; color plot desired
  res@cnLineLabelsOn    = False             ; turn off contour lines
  res@txFontHeightF     = 0.015
  res@vpXF            = 0.1                 ; make plot bigger
  res@vpYF            = 0.9
  res@vpWidthF        = 0.8
  res@vpHeightF       = 0.8
  res@gsnSpreadColors     = True            ; use full range of color map
  res@gsnSpreadColorStart = 2
  res@gsnSpreadColorEnd   = -3
  res@lbLabelFontHeightF  = 0.015           ; label bar font height
  res@tiMainString       = "CFS 100 year freerun output in IITM"
  res@tiMainFontHeightF  = .018                               ; font height
  contour = gsn_csm_contour_map(wks1,clm,res)
  contour = gsn_csm_contour_map(wks2,clm,res)
  frame(wks1)
  frame(wks2)
.............................
.............................
............................
-- Gibies George,CSIR-RF, Climate and Global Modelling Division, Indian Institute of Tropical Meteorology, Dr. Homi Bhabha Road, NCL (P. O.), Pashan, Pune 411008, India. http://sites.google.com/site/gibiesge/
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon May 31 01:37:55 2010
This archive was generated by hypermail 2.1.8 : Tue Jun 01 2010 - 09:12:20 MDT