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_at_mpProjection = "Mollweide"
res_at_mpGridAndLimbOn = True
res_at_mpPerimOn = False
res_at_mpFillOn = False
res_at_cnFillOn = True
res_at_cnLineLabelsOn = False
res_at_txFontHeightF = 0.015
res_at_vpXF = 0.1
res_at_vpYF = 0.9
res_at_vpWidthF = 0.8
res_at_vpHeightF = 0.8
res_at_gsnSpreadColors = True
res_at_gsnSpreadColorStart = 2
res_at_gsnSpreadColorEnd = 21
res_at_lbLabelFontHeightF = 0.015
res_at_tiMainString = "RMS test plot"
res_at_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:34 MDT