problem plotting file

From: <brownmc_at_nyahnyahspammersnyahnyah>
Date: Wed, 26 Apr 2006 13:42:46 -0700 (PDT)

Hi all,
I am trying to plot a file I made using nco and when I run the script all
the syntax is correct, but ncl sits and thinks forever and never plots the
file. I am not sure what is wrong, I can view the file and its variables
with ncview so I am pretty sure they exsist. I have posted the file
online at dust.ess.uci.edu/brownmc/regrid/2x2_sresa1b_rms_all_models.nc
and my script is below. Thanks for the help.

Mike Brown

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
begin
a =
addfile("/data/brownmc/sresa1b/regridded/2x2_sresa1b_rms_all_models.nc","r")
t = a->tas(0,0,:,:)
wks = gsn_open_wks("X11","rms_test")
gsn_define_colormap(wks,"gui_default")
res = True
res@mpProjection = "Mollweide"
res@mpGridAndLimbOn = True
res@mpPerimOn = False
res@mpFillOn = False
res@cnFillOn = True
res@cnLineLabelsOn = False
res@txFontHeightF = 0.015
res@vpXF = 0.1
res@vpYF = 0.9
res@vpWidthF = 0.8
res@vpHeightF = 0.8
res@gsnSpreadColors = True
res@gsnSpreadColorStart = 2
res@gsnSpreadColorEnd = 21
res@lbLabelFontHeightF = 0.015
res@tiMainString = "RMS test plot"
res@tiMainFontHeightF = .018
plot = gsn_csm_contour_map(wks,t,res)
end

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Apr 26 2006 - 14:42:46 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 26 2006 - 17:00:19 MDT