1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/npp/51.zonavg_ob.ncl Mon Jan 26 22:08:20 2009 -0500
1.3 @@ -0,0 +1,26 @@
1.4 +; ***********************************************
1.5 +; xy_1.ncl
1.6 +; ***********************************************
1.7 +load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
1.8 +load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
1.9 +load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
1.10 +;************************************************
1.11 +begin
1.12 +;************************************************
1.13 +; read in data
1.14 +;************************************************
1.15 + f = addfile ("Npp_T31_mean.nc","r")
1.16 + u = f->NPP
1.17 + v = zonalAve(u)
1.18 +
1.19 + v@long_name = "NPP (gC/m2/year)"
1.20 +;************************************************
1.21 +; plotting parameters
1.22 +;************************************************
1.23 + wks = gsn_open_wks ("png","xy")
1.24 +
1.25 + res = True
1.26 + res@tiMainString = "Observed"
1.27 +
1.28 + plot = gsn_csm_xy (wks,v&lat,v,res)
1.29 +end
1.30 \ No newline at end of file