Modifications to scoring and graphics production for the final version of code for the C-LAMP paper in GCB.
1 ;************************************************************
2 ; change data name to timeseries_L4_m.nc
7 ; sort by latitude in decending order (N->S)
9 ; add year_ob_i and year_ob_f
11 ;************************************************************
12 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
13 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
14 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
15 ;************************************************************
16 procedure set_line(lines:string,nline:integer,newlines:string)
18 ; add line to ascci/html file
20 nnewlines = dimsizes(newlines)
21 if(nline+nnewlines-1.ge.dimsizes(lines))
22 print("set_line: bad index, not setting anything.")
25 lines(nline:nline+nnewlines-1) = newlines
26 ; print ("lines = " + lines(nline:nline+nnewlines-1))
27 nline = nline + nnewlines
30 ;*************************************************************
36 ;************************************************
38 ;************************************************
42 model_name = "i01.10" + model
48 ; for nee, gpp, and ar
49 ; observed unit is gC/m2/day
50 ; model unit is gC/m2/s
51 ; to change to observed unit,
55 ; for incident solar radiation,
56 ; observed Rg_f unit is MJ/m2/day
57 ; model (FSDS) unit is W/m2
58 ; to change to model unit,
60 factor_rad = 1.e6/86400.
62 ; model unit is gC/m2/s
63 ; change to unit of observed (u mol/m2/s)
64 ; 12. = molecular weight of C
66 ; factor_flux = 1.e6 /12.
68 ;************************************************
70 ;************************************************
72 station = (/"ARM_Oklahoma" \
73 ,"ARM_Oklahoma_burn" \
74 ,"ARM_Oklahoma_control" \
82 ,"Duke_Forest_Hardwoods" \
83 ,"Duke_Forest_Open_Field" \
87 ,"Flagstaff_Managed" \
88 ,"Flagstaff_Unmanaged" \
89 ,"Flagstaff_Wildfire" \
91 ,"FreemanRanch_mesquite" \
94 ,"HarvardForestHemlock" \
95 ,"HowlandForestMain" \
96 ,"HowlandForestWest" \
98 ,"KendallGrasslands" \
99 ,"KennedySpaceCenterPine" \
100 ,"KennedySpaceCenterScrub" \
104 ,"Mead-irrigated-rotation" \
106 ,"Metolius_2nd_YoungPonderosaPine" \
108 ,"MetoliusIntermediatePine" \
109 ,"MetoliusOldPonderosaPine" \
114 ,"NorthCarolina_cc" \
115 ,"NorthCarolina_lp" \
120 ,"SkyOaks_PostFire" \
122 ,"SylvaniaWilderness" \
148 field = (/"NEE Flux" \
149 ,"Shortwave Incoming" \
156 field_unit = (/"gC/m2/day" \
164 nstation = dimsizes(station)
165 nfield = dimsizes(field)
167 ;========================================================================
168 ; get observed info: number of year, first/last year, lat, lon
171 dir_root = "/fis/cgd/cseg/people/jeff/clamp_data/observed/ameriflux/"
173 year_station = new ((/nstation/),integer) ; number of year
174 year_ob = new ((/nstation/),string) ; observed year
175 year_ob_i = new ((/nstation/),integer) ; first year
176 year_ob_f = new ((/nstation/),integer) ; last year
177 lat_ob = new ((/nstation/),float) ; latitude
178 lon_ob = new ((/nstation/),float) ; longitude
180 data_ob_ann = new ((/nfield, nmonth, nstation/),float)
184 diro = dir_root + station(n)+"/"
185 filo = "timeseries_L4_m.nc"
186 fo = addfile (diro+filo,"r")
193 year_station(n) = dimsizes(year)
194 year_ob_i(n) = year(0)
195 year_ob_f(n) = year(year_station(n)-1)
196 year_ob(n) = year_ob_i(n) + "-" + year_ob_f(n)
200 data = fo->NEE_or_fMDS
201 data_ob_ann(0,:,n) = dim_avg(data(month|:,year|:))
204 data_ob_ann(1,:,n) = dim_avg(data(month|:,year|:))*factor_rad
207 data_ob_ann(2,:,n) = dim_avg(data(month|:,year|:))
210 data_ob_ann(3,:,n) = dim_avg(data(month|:,year|:))
212 data = fo->GPP_or_MDS
213 data_ob_ann(4,:,n) = dim_avg(data(month|:,year|:))
216 data_ob_ann(5,:,n) = dim_avg(data(month|:,year|:))
225 ;--------------------------------------------------------------
226 ; find (# of year observed) >=4 and year_ob_i <= 2001
228 i_long_ob = ind(year_station .ge. 4 .and. year_ob_i .le. 2001)
230 station_long = station(i_long_ob)
231 lat_ob_long = lat_ob(i_long_ob)
232 lon_ob_long = lat_ob(i_long_ob)
233 year_ob_long = year_ob(i_long_ob)
234 year_ob_i_long = year_ob_i(i_long_ob)
235 year_ob_f_long = year_ob_f(i_long_ob)
236 year_station_long = year_station(i_long_ob)
238 nstation_long = dimsizes(station_long)
241 ; print (nstation_long)
242 ; print (station_long)
243 ; print (year_ob_i(i_long_ob))
245 ;=========================================================
246 ; get model data at observed lat-lon
248 dirm = "/fis/cgd/cseg/people/jeff/clamp_data/model/"
249 film = model_name+"_ameriflux_1990-2004_monthly.nc"
250 fm = addfile (dirm+film,"r")
256 date_dim = dimsizes(date)
259 data_mod = new ((/nfield,nyear,nmonth,nstation/),float)
260 data_mod_ann = new ((/nfield,nmonth,nstation/),float)
261 data_mod_long = new ((/nfield,nyear,nmonth,nstation_long/),float)
263 ;------------------------------------------------------------
264 ; interpolate model data into observed station
265 ; note: model is 0-360E, 90S-90N
267 ; to be able to handle observation at (-89.98,-24.80)
269 ;------------------------------------------------------------
271 if (ENERGY .eq. "old") then
274 data_mod(0,:,:,:) = data(:,:,:) * factor
280 data_mod(2,:,:,:) = data1(:,:,:)+data2(:,:,:)+data3(:,:,:)
285 ; data = fm->SENSIBLE
287 data_mod(3,:,:,:) = data(:,:,:)
292 data_mod(1,:,:,:) = data1(:,:,:)-data2(:,:,:)
299 yy = linint2_points_Wrap(xm,ym,data,True,lon_ob,lat_ob,0)
300 data_mod_ann(0,:,:)= dim_avg(yy(month|:,pts|:,year|:)) * factor_flux
301 data_mod(0,:,:,:) = yy(:,:,:) * factor_flux
303 ; printVarSummary(yy)
307 yy = linint2_points_Wrap(xm,ym,data,True,lon_ob,lat_ob,0)
308 data_mod_ann(1,:,:)= dim_avg(yy(month|:,pts|:,year|:))
309 data_mod(1,:,:,:) = yy(:,:,:)
312 yy = linint2_points_Wrap(xm,ym,data,True,lon_ob,lat_ob,0)
313 data_mod_ann(2,:,:)= dim_avg(yy(month|:,pts|:,year|:))
314 data_mod(2,:,:,:) = yy(:,:,:)
316 ; data = fm->SENSIBLE
318 yy = linint2_points_Wrap(xm,ym,data,True,lon_ob,lat_ob,0)
319 data_mod_ann(3,:,:)= dim_avg(yy(month|:,pts|:,year|:))
320 data_mod(3,:,:,:) = yy(:,:,:)
325 yy = linint2_points_Wrap(xm,ym,data,True,lon_ob,lat_ob,0)
326 data_mod_ann(4,:,:)= dim_avg(yy(month|:,pts|:,year|:)) * factor_flux
327 data_mod(4,:,:,:) = yy(:,:,:) * factor_flux
329 if (model .eq. "cn") then
340 yy = linint2_points_Wrap(xm,ym,data,True,lon_ob,lat_ob,0)
341 data_mod_ann(5,:,:)= dim_avg(yy(month|:,pts|:,year|:)) * factor_flux
342 data_mod(5,:,:,:) = yy(:,:,:) * factor_flux
344 data_mod_long(:,:,:,:) = data_mod(:,:,:,i_long_ob)
351 ;*******************************************************************
352 ; for station line plot
353 ;*******************************************************************
355 ; for x-axis in xyplot
357 mon@long_name = "month"
359 res = True ; plot mods desired
360 res@xyLineThicknesses = (/2.0,2.0/) ; make 2nd lines thicker
361 res@xyLineColors = (/"blue","red"/) ; line color (ob,model)
363 res@tmXBFormat = "f" ; not to add trailing zeros
365 ;-------------------------------------------------------------------------
366 ; Add a boxed legend using the more simple method
368 res@pmLegendDisplayMode = "Always"
369 ; res@pmLegendWidthF = 0.1
370 res@pmLegendWidthF = 0.08
371 res@pmLegendHeightF = 0.06
372 ; res@pmLegendOrthogonalPosF = -1.17
373 ; res@pmLegendOrthogonalPosF = -1.00 ;(downward)
374 res@pmLegendOrthogonalPosF = -0.30 ;(downward)
376 ; res@pmLegendParallelPosF = 0.18
377 res@pmLegendParallelPosF = 0.23 ;(rightward)
379 ; res@lgPerimOn = False
380 res@lgLabelFontHeightF = 0.015
381 res@xyExplicitLegendLabels = (/"observed",model_name/)
382 ;-------------------------------------------------------------------
384 res@gsnFrame = False ; Do not draw plot
385 res@gsnDraw = False ; Do not advance frame
387 pres = True ; panel plot mods desired
388 pres@gsnPanelYWhiteSpacePercent = 5 ; increase white space around
389 ; indiv. plots in panel
390 pres@gsnMaximize = True ; fill the page
391 ;-------------------------------------------------------------------
393 ;==============================================================
394 ; get ob data at each site with long observation
396 dir_root = "/fis/cgd/cseg/people/jeff/clamp_data/observed/ameriflux/"
398 do n = 0,nstation_long-1
403 nyear = year_station_long(n)
405 if (year_ob_f_long(n).eq. 2006) then
406 year_setback = 2006 -2004
408 if (year_ob_f_long(n).eq. 2005) then
409 year_setback = 2005 -2004
412 ntime = (nyear - year_setback) * nmonth
414 data_ob = new ((/nfield, nyear, nmonth/),float)
416 diro = dir_root + station_long(n)+"/"
417 filo = "timeseries_L4_m.nc"
418 fo = addfile (diro+filo,"r")
423 data_ob(0,:,:) = fo->NEE_or_fMDS
424 data_ob(1,:,:) = fo->Rg_f
425 data_ob(2,:,:) = fo->LE_f
426 data_ob(3,:,:) = fo->H_f
427 data_ob(4,:,:) = fo->GPP_or_MDS
428 data_ob(5,:,:) = fo->Reco_or
430 data_ob(1,:,:) = data_ob(1,:,:) * factor_rad
434 timeI = new((/ntime/),integer)
435 timeF = new((/ntime/),float)
436 timeI = ispan(1,ntime,1)
437 timeF = year_ob_i_long(n) + (timeI-1)/12.
438 timeF@long_name = "year"
440 plot_data = new((/2,ntime/),float)
442 ;----------------------------
445 plot_name = station_long(n)+"_tseries_vs_ob"
446 title = station_long(n)+"("+sprintf("%5.2f",lat_ob_long(n))+","+sprintf("%5.2f",lon_ob_long(n))+")"
447 res@tiMainString = title
449 wks = gsn_open_wks (plot_type,plot_name)
450 plot=new(nfield,graphic) ; create graphic array
452 i_year_mod_i = year_ob_i_long(n) - 1990
453 i_year_mod_f = i_year_mod_i + nyear - 1 - year_setback
455 i_year_ob_f = nyear - year_setback - 1
458 ; print (i_year_ob_f)
459 ; print (i_year_mod_i)
460 ; print (i_year_mod_f)
463 plot_data(0,:) = ndtooned(data_ob (i,0:i_year_ob_f,:))
464 plot_data(1,:) = ndtooned(data_mod_long(i,i_year_mod_i:i_year_mod_f,:,n))
465 plot_data@long_name = field(i)+" ("+field_unit(i)+")"
466 plot(i)=gsn_csm_xy(wks,timeF,plot_data,res) ; create plot
469 gsn_panel(wks,plot,(/3,2/),pres) ; create panel plot
471 system("convert "+plot_name+"."+plot_type+" "+plot_name+"."+plot_type_new+";"+ \
472 "rm "+plot_name+"."+plot_type)
484 ;###################################################################
485 ; for the following tables,
486 ; sort by latitude in decending order (N->S)
488 isort = dim_pqsort(lat_ob_long,-1)
490 station_sort = station_long(isort)
491 year_ob_sort = year_ob_long(isort)
492 lat_ob_sort = lat_ob_long(isort)
493 lon_ob_sort = lon_ob_long(isort)
498 ;*******************************************************************
499 ; html table of site: observed
500 ;*******************************************************************
501 output_html = "tseries_vs_ob.html"
503 header = (/"<HTML>" \
505 ,"<TITLE>CLAMP metrics</TITLE>" \
507 ,"<H1>Timeseries at Site: "+model_name+" vs Observation</H1>" \
512 "<table border=1 cellspacing=0 cellpadding=3 width=60%>" \
514 ," <th bgcolor=DDDDDD >Site Name</th>" \
515 ," <th bgcolor=DDDDDD >Latitude</th>" \
516 ," <th bgcolor=DDDDDD >Longitude</th>" \
517 ," <th bgcolor=DDDDDD >Observed</th>" \
520 table_footer = "</table>"
524 lines = new(50000,string)
527 set_line(lines,nline,header)
528 set_line(lines,nline,table_header)
529 ;-----------------------------------------------
532 do n = 0,nstation_long-1
534 set_line(lines,nline,row_header)
536 txt0 = station_sort(n)
537 txt1 = sprintf("%5.2f", lat_ob_sort(n))
538 txt2 = sprintf("%5.2f", lon_ob_sort(n))
539 txt3 = year_ob_sort(n)
541 set_line(lines,nline,"<th><a href="+txt0+"_tseries_vs_ob.png>"+txt0+"</a></th>")
542 set_line(lines,nline,"<th>"+txt1+"</th>")
543 set_line(lines,nline,"<th>"+txt2+"</th>")
544 set_line(lines,nline,"<th>"+txt3+"</th>")
546 set_line(lines,nline,row_footer)
548 ;-----------------------------------------------
549 set_line(lines,nline,table_footer)
550 set_line(lines,nline,footer)
552 ; Now write to an HTML file.
553 idx = ind(.not.ismissing(lines))
554 if(.not.any(ismissing(idx))) then
555 asciiwrite(output_html,lines(idx))
562 delete (station_sort)
563 delete (year_ob_sort)
567 ;************************************************************
568 ; compute annual cycle correlation coef and M score
569 ;************************************************************
573 ccr = new ((/nstation, nfield/),float)
574 M_score = new ((/nstation, nfield/),float)
578 ccr(n,m) = esccr(data_ob_ann(m,:,n),data_mod_ann(m,:,n),0)
579 bias = sum(abs(data_mod_ann(m,:,n)-data_ob_ann(m,:,n))/(abs(data_mod_ann(m,:,n))+abs(data_ob_ann(m,:,n))))
580 M_score(n,m) = (1. -(bias/nmonth)) * score_max
584 M_co2 = avg(M_score(:,0))
585 M_rad = avg(M_score(:,1))
586 M_lh = avg(M_score(:,2))
587 M_sh = avg(M_score(:,3))
588 M_gpp = avg(M_score(:,4))
589 M_er = avg(M_score(:,5))
590 M_all = M_co2+ M_rad +M_lh + M_sh + M_gpp + M_er
592 M_energy_co2 = sprintf("%.2f", M_co2)
593 M_energy_rad = sprintf("%.2f", M_rad)
594 M_energy_lh = sprintf("%.2f", M_lh )
595 M_energy_sh = sprintf("%.2f", M_sh )
596 M_energy_gpp = sprintf("%.2f", M_gpp)
597 M_energy_er = sprintf("%.2f", M_er )
598 M_energy_all = sprintf("%.2f", M_all)
600 ;*******************************************************************
601 ; for station line plot
602 ;*******************************************************************
604 ; for x-axis in xyplot
606 mon@long_name = "month"
608 ;-------------------------------------------------------------------
610 plot_data = new((/2,nmonth/),float)
612 plot_data!1 = "month"
615 ;----------------------------
618 plot_name = station(n)+"_ob"
619 title = station(n)+"("+sprintf("%5.2f",lat_ob(n))+","+sprintf("%5.2f",lon_ob(n))+")"
620 res@tiMainString = title
622 wks = gsn_open_wks (plot_type,plot_name)
623 plot=new(nfield,graphic) ; create graphic array
626 plot_data(0,:) = (/data_ob_ann(i,:,n)/)
627 plot_data@long_name = field(i)+" ("+field_unit(i)+")"
628 plot(i)=gsn_csm_xy(wks,mon,plot_data(0,:),res) ; create plot
631 gsn_panel(wks,plot,(/3,2/),pres) ; create panel plot
633 system("convert "+plot_name+"."+plot_type+" "+plot_name+"."+plot_type_new+";"+ \
634 "rm "+plot_name+"."+plot_type)
638 ;----------------------------
641 plot_name = station(n)+"_model_vs_ob"
642 title = station(n)+"("+sprintf("%5.2f",lat_ob(n))+","+sprintf("%5.2f",lon_ob(n))+")"
643 res@tiMainString = title
645 wks = gsn_open_wks (plot_type,plot_name)
646 plot=new(nfield,graphic) ; create graphic array
649 plot_data(0,:) = (/data_ob_ann(i,:,n)/)
650 plot_data(1,:) = (/data_mod_ann(i,:,n)/)
651 plot_data@long_name = field(i)+" ("+field_unit(i)+")"
652 plot(i)=gsn_csm_xy(wks,mon,plot_data,res) ; create plot
655 gsn_panel(wks,plot,(/3,2/),pres) ; create panel plot
657 system("convert "+plot_name+"."+plot_type+" "+plot_name+"."+plot_type_new+";"+ \
658 "rm "+plot_name+"."+plot_type)
664 ;###################################################################
665 ; for the following tables,
666 ; sort by latitude in decending order (N->S)
667 ; sort by lat in decending order (N->S)
669 isort = dim_pqsort(lat_ob,-1)
671 station_sort = station(isort)
672 year_ob_sort = year_ob(isort)
673 lat_ob_sort = lat_ob(isort)
674 lon_ob_sort = lon_ob(isort)
675 M_score_sort = M_score(isort,:)
679 ;###################################################################
680 ;*******************************************************************
681 ; html table of site: observed
682 ;*******************************************************************
683 output_html = "line_ob.html"
685 header = (/"<HTML>" \
687 ,"<TITLE>CLAMP metrics</TITLE>" \
689 ,"<H1>Energy at Site: Observation</H1>" \
694 "<table border=1 cellspacing=0 cellpadding=3 width=60%>" \
696 ," <th bgcolor=DDDDDD >Site Name</th>" \
697 ," <th bgcolor=DDDDDD >Latitude</th>" \
698 ," <th bgcolor=DDDDDD >Longitude</th>" \
699 ," <th bgcolor=DDDDDD >Observed</th>" \
702 table_footer = "</table>"
706 lines = new(50000,string)
709 set_line(lines,nline,header)
710 set_line(lines,nline,table_header)
711 ;-----------------------------------------------
715 set_line(lines,nline,row_header)
717 txt0 = station_sort(n)
718 txt1 = sprintf("%5.2f", lat_ob_sort(n))
719 txt2 = sprintf("%5.2f", lon_ob_sort(n))
720 txt3 = year_ob_sort(n)
722 set_line(lines,nline,"<th><a href="+txt0+"_ob.png>"+txt0+"</a></th>")
723 set_line(lines,nline,"<th>"+txt1+"</th>")
724 set_line(lines,nline,"<th>"+txt2+"</th>")
725 set_line(lines,nline,"<th>"+txt3+"</th>")
727 set_line(lines,nline,row_footer)
729 ;-----------------------------------------------
730 set_line(lines,nline,table_footer)
731 set_line(lines,nline,footer)
733 ; Now write to an HTML file.
734 idx = ind(.not.ismissing(lines))
735 if(.not.any(ismissing(idx))) then
736 asciiwrite(output_html,lines(idx))
742 ;*******************************************************************
743 ; score and line table : model vs observed
744 ;*******************************************************************
745 output_html = "score+line_vs_ob.html"
747 header = (/"<HTML>" \
749 ,"<TITLE>CLAMP metrics</TITLE>" \
751 ,"<H1>Energy at Site: Model "+model_name+"</H1>" \
755 delete (table_header)
757 "<table border=1 cellspacing=0 cellpadding=3 width=100%>" \
759 ," <th bgcolor=DDDDDD >Site Name</th>" \
760 ," <th bgcolor=DDDDDD >Latitude</th>" \
761 ," <th bgcolor=DDDDDD >Longitude</th>" \
762 ," <th bgcolor=DDDDDD >Observed</th>" \
763 ," <th bgcolor=DDDDDD >CO2 Flux</th>" \
764 ," <th bgcolor=DDDDDD >Net Radiation</th>" \
765 ," <th bgcolor=DDDDDD >Latent Heat</th>" \
766 ," <th bgcolor=DDDDDD >Sensible Heat</th>" \
767 ," <th bgcolor=DDDDDD >GPP Glux</th>" \
768 ," <th bgcolor=DDDDDD >Respiration</th>" \
769 ," <th bgcolor=DDDDDD >Average</th>" \
772 table_footer = "</table>"
776 lines = new(50000,string)
779 set_line(lines,nline,header)
780 set_line(lines,nline,table_header)
781 ;-----------------------------------------------
785 set_line(lines,nline,row_header)
787 txt0 = station_sort(n)
788 txt1 = sprintf("%5.2f", lat_ob_sort(n))
789 txt2 = sprintf("%5.2f", lon_ob_sort(n))
790 txt3 = year_ob_sort(n)
791 txt4 = sprintf("%5.2f", M_score_sort(n,0))
792 txt5 = sprintf("%5.2f", M_score_sort(n,1))
793 txt6 = sprintf("%5.2f", M_score_sort(n,2))
794 txt7 = sprintf("%5.2f", M_score_sort(n,3))
795 txt8 = sprintf("%5.2f", M_score_sort(n,4))
796 txt9 = sprintf("%5.2f", M_score_sort(n,5))
797 txt10 = sprintf("%5.2f", avg(M_score_sort(n,:)))
799 set_line(lines,nline,"<th><a href="+txt0+"_model_vs_ob.png>"+txt0+"</a></th>")
800 set_line(lines,nline,"<th>"+txt1+"</th>")
801 set_line(lines,nline,"<th>"+txt2+"</th>")
802 set_line(lines,nline,"<th>"+txt3+"</th>")
803 set_line(lines,nline,"<th>"+txt4+"</th>")
804 set_line(lines,nline,"<th>"+txt5+"</th>")
805 set_line(lines,nline,"<th>"+txt6+"</th>")
806 set_line(lines,nline,"<th>"+txt7+"</th>")
807 set_line(lines,nline,"<th>"+txt8+"</th>")
808 set_line(lines,nline,"<th>"+txt9+"</th>")
809 set_line(lines,nline,"<th>"+txt10+"</th>")
811 set_line(lines,nline,row_footer)
815 set_line(lines,nline,row_header)
817 txt0 = "All_"+sprintf("%.0f", nstation)
829 set_line(lines,nline,"<th>"+txt0+"</th>")
830 set_line(lines,nline,"<th>"+txt1+"</th>")
831 set_line(lines,nline,"<th>"+txt2+"</th>")
832 set_line(lines,nline,"<th>"+txt3+"</th>")
833 set_line(lines,nline,"<th>"+txt4+"</th>")
834 set_line(lines,nline,"<th>"+txt5+"</th>")
835 set_line(lines,nline,"<th>"+txt6+"</th>")
836 set_line(lines,nline,"<th>"+txt7+"</th>")
837 set_line(lines,nline,"<th>"+txt8+"</th>")
838 set_line(lines,nline,"<th>"+txt9+"</th>")
839 set_line(lines,nline,"<th>"+txt10+"</th>")
841 set_line(lines,nline,row_footer)
842 ;-----------------------------------------------
843 set_line(lines,nline,table_footer)
844 set_line(lines,nline,footer)
846 ; Now write to an HTML file.
847 idx = ind(.not.ismissing(lines))
848 if(.not.any(ismissing(idx))) then
849 asciiwrite(output_html,lines(idx))
855 ;***************************************************************************
857 ;***************************************************************************
858 output_dir = model_name+"/ameriflux"
860 system("mv *.png *.html " + output_dir)
861 ;***************************************************************************