Modifications to scoring and graphics production for the final version of code for the C-LAMP paper in GCB.
1 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
2 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
3 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
6 ;----------------------------------------------------------
9 ;----------------------------------------------------------
10 diri = "/fis/cgd/cseg/people/jeff/clamp_data/"
11 diro = "/fis/cgd/cseg/people/jeff/clamp_data/"
12 ; filo1 = "LAI_"+year_start+"-"+year_end+"_ensemble.nc"
13 ; filo2 = "LAI_"+year_start+"-"+year_end+"_mean.nc"
14 filo1 = "LAI_"+year_start+"-"+year_end+"_ensemble_T42.nc"
15 filo2 = "LAI_"+year_start+"-"+year_end+"_mean_T42.nc"
16 c = addfile(diro+filo1,"c")
17 d = addfile(diro+filo2,"c")
19 nyear = year_end - year_start + 1
21 files = new((/nyear/),"string")
23 do n = year_start,year_end
25 ; files(i)= diri + "LAI_" + n + "_monthly.nc"
26 files(i)= diri + "LAI_" + n + "_monthly_T42.nc"
30 file_list = addfiles(files,"r")
31 ListSetType(file_list,"join")
32 x = addfiles_GetVar(file_list, files, "LAI")
35 y = dim_avg_Wrap(x(time|:,lat|:,lon|:,case|:))
40 z = dim_avg_Wrap(y(lat|:,lon|:,time|:))