Modifications to scoring and graphics production for the final version of code for the C-LAMP paper in GCB.
1 ;*****************************************************
2 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
3 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
4 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
5 ;****************************************************************************
7 ;****************************************************************************
10 ;--------------------------------------------------
11 ; edit table.html of current model for movel1_vs_model2
13 if (isvar("compare")) then
14 html_name2 = compare+"/table.html"
15 html_new2 = html_name2 +".new"
17 system("sed -e '/"+modeln+"/s/"+modeln+"/"+model_name+"/' "+html_name2+" > "+html_new2+";"+ \
18 "mv -f "+html_new2+" "+html_name2)
20 ;-------------------------------------
21 ; edit table.html for current model
23 html_name = model_name+"/table.html"
24 html_new = html_name +".new"
25 system("sed s#model_name#"+model_name+"# "+html_name+" > "+html_new+";"+ \
26 "mv -f "+html_new+" "+html_name)
28 ;---------------------------------------------------------------------------