diff -r 000000000000 -r 0c6405ab2ff4 npp/51.zonavg_ob.ncl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/npp/51.zonavg_ob.ncl Mon Jan 26 22:08:20 2009 -0500 @@ -0,0 +1,26 @@ +; *********************************************** +; xy_1.ncl +; *********************************************** +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/contributed.ncl" +;************************************************ +begin +;************************************************ +; read in data +;************************************************ + f = addfile ("Npp_T31_mean.nc","r") + u = f->NPP + v = zonalAve(u) + + v@long_name = "NPP (gC/m2/year)" +;************************************************ +; plotting parameters +;************************************************ + wks = gsn_open_wks ("png","xy") + + res = True + res@tiMainString = "Observed" + + plot = gsn_csm_xy (wks,v&lat,v,res) +end \ No newline at end of file