1 | #!/bin/ksh |
---|
2 | #set -vx |
---|
3 | |
---|
4 | #************************************************************** |
---|
5 | # Author: Nicolas Vuichard |
---|
6 | # Contact: Nioclas.Vuichard@lsce.jussieu.fr |
---|
7 | # $Date: July 2011 |
---|
8 | # $Name$ |
---|
9 | # $Revision: 1 $ |
---|
10 | # History: |
---|
11 | # Modification: |
---|
12 | # |
---|
13 | #************************************************************** |
---|
14 | |
---|
15 | |
---|
16 | |
---|
17 | input=$@ |
---|
18 | paper=-p |
---|
19 | quality=cx1800 |
---|
20 | debug= |
---|
21 | flag_reference_file=0 |
---|
22 | group=GRA |
---|
23 | config_ref= |
---|
24 | config_eval= |
---|
25 | |
---|
26 | |
---|
27 | mv ../stat_${config_eval}_${config_ref}_${group}_GPP_hour.csv . |
---|
28 | mv ../stat_${config_eval}_${config_ref}_${group}_GPP_day.csv . |
---|
29 | mv ../stat_${config_eval}_${config_ref}_${group}_GPP_month.csv . |
---|
30 | mv ../stat_${config_eval}_${config_ref}_${group}_GPP_year.csv . |
---|
31 | |
---|
32 | mv ../stat_${config_eval}_${config_ref}_${group}_TER_hour.csv . |
---|
33 | mv ../stat_${config_eval}_${config_ref}_${group}_TER_day.csv . |
---|
34 | mv ../stat_${config_eval}_${config_ref}_${group}_TER_month.csv . |
---|
35 | mv ../stat_${config_eval}_${config_ref}_${group}_TER_year.csv . |
---|
36 | |
---|
37 | mv ../stat_${config_eval}_${config_ref}_${group}_NEE_hour.csv . |
---|
38 | mv ../stat_${config_eval}_${config_ref}_${group}_NEE_day.csv . |
---|
39 | mv ../stat_${config_eval}_${config_ref}_${group}_NEE_month.csv . |
---|
40 | mv ../stat_${config_eval}_${config_ref}_${group}_NEE_year.csv . |
---|
41 | |
---|
42 | mv ../stat_${config_eval}_${config_ref}_${group}_SH_hour.csv . |
---|
43 | mv ../stat_${config_eval}_${config_ref}_${group}_SH_day.csv . |
---|
44 | mv ../stat_${config_eval}_${config_ref}_${group}_SH_month.csv . |
---|
45 | mv ../stat_${config_eval}_${config_ref}_${group}_SH_year.csv . |
---|
46 | |
---|
47 | mv ../stat_${config_eval}_${config_ref}_${group}_LH_hour.csv . |
---|
48 | mv ../stat_${config_eval}_${config_ref}_${group}_LH_day.csv . |
---|
49 | mv ../stat_${config_eval}_${config_ref}_${group}_LH_month.csv . |
---|
50 | mv ../stat_${config_eval}_${config_ref}_${group}_LH_year.csv . |
---|
51 | |
---|
52 | |
---|
53 | cp ../taylor_arrow_fluxnet_final_2.jnl . |
---|
54 | |
---|
55 | |
---|
56 | |
---|
57 | # Ratio one day over time step |
---|
58 | one_day=86400 |
---|
59 | ratio=$(( one_day/1800 )) |
---|
60 | |
---|
61 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_GPP_hour.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
62 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "hour-to-hour GPP variability" -o gpp_hour taylor_arrow_fluxnet_final_2.jnl "${NumSites} hour $flag_reference_file GPP ${config_eval} ${config_ref} ${group}" |
---|
63 | |
---|
64 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_GPP_day.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
65 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "day-to-day GPP variability" -o gpp_day taylor_arrow_fluxnet_final_2.jnl "${NumSites} day $flag_reference_file GPP ${config_eval} ${config_ref} ${group}" |
---|
66 | |
---|
67 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_GPP_month.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
68 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "month-to-month GPP variability" -o gpp_month taylor_arrow_fluxnet_final_2.jnl "${NumSites} month $flag_reference_file GPP ${config_eval} ${config_ref} ${group}" |
---|
69 | |
---|
70 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_GPP_year.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
71 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "year-to-year GPP variability" -o gpp_year taylor_arrow_fluxnet_final_2.jnl "${NumSites} year $flag_reference_file GPP ${config_eval} ${config_ref} ${group}" |
---|
72 | |
---|
73 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_TER_hour.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
74 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "hour-to-hour TER variability" -o ter_hour taylor_arrow_fluxnet_final_2.jnl "${NumSites} hour $flag_reference_file TER ${config_eval} ${config_ref} ${group}" |
---|
75 | |
---|
76 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_TER_day.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
77 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "day-to-day TER variability" -o ter_day taylor_arrow_fluxnet_final_2.jnl "${NumSites} day $flag_reference_file TER ${config_eval} ${config_ref} ${group}" |
---|
78 | |
---|
79 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_TER_month.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
80 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "month-to-month TER variability" -o ter_month taylor_arrow_fluxnet_final_2.jnl "${NumSites} month $flag_reference_file TER ${config_eval} ${config_ref} ${group}" |
---|
81 | |
---|
82 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_TER_year.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
83 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "year-to-year TER variability" -o ter_year taylor_arrow_fluxnet_final_2.jnl "${NumSites} year $flag_reference_file TER ${config_eval} ${config_ref} ${group}" |
---|
84 | |
---|
85 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_NEE_hour.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
86 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "hour-to-hour NEE variability" -o nee_hour taylor_arrow_fluxnet_final_2.jnl "${NumSites} hour $flag_reference_file NEE ${config_eval} ${config_ref} ${group}" |
---|
87 | |
---|
88 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_NEE_day.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
89 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "day-to-day NEE variability" -o nee_day taylor_arrow_fluxnet_final_2.jnl "${NumSites} day $flag_reference_file NEE ${config_eval} ${config_ref} ${group}" |
---|
90 | |
---|
91 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_NEE_month.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
92 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "month-to-month NEE variability" -o nee_month taylor_arrow_fluxnet_final_2.jnl "${NumSites} month $flag_reference_file NEE ${config_eval} ${config_ref} ${group}" |
---|
93 | |
---|
94 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_NEE_year.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
95 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "year-to-year NEE variability" -o nee_year taylor_arrow_fluxnet_final_2.jnl "${NumSites} year $flag_reference_file NEE ${config_eval} ${config_ref} ${group}" |
---|
96 | |
---|
97 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_SH_hour.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
98 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "hour-to-hour SH variability" -o sh_hour taylor_arrow_fluxnet_final_2.jnl "${NumSites} hour $flag_reference_file SH ${config_eval} ${config_ref} ${group}" |
---|
99 | |
---|
100 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_SH_day.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
101 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "day-to-day SH variability" -o sh_day taylor_arrow_fluxnet_final_2.jnl "${NumSites} day $flag_reference_file SH ${config_eval} ${config_ref} ${group}" |
---|
102 | |
---|
103 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_SH_month.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
104 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "month-to-month SH variability" -o sh_month taylor_arrow_fluxnet_final_2.jnl "${NumSites} month $flag_reference_file SH ${config_eval} ${config_ref} ${group}" |
---|
105 | |
---|
106 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_SH_year.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
107 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "year-to-year SH variability" -o sh_year taylor_arrow_fluxnet_final_2.jnl "${NumSites} year $flag_reference_file SH ${config_eval} ${config_ref} ${group}" |
---|
108 | |
---|
109 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_LH_hour.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
110 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "hour-to-hour LH variability" -o lh_hour taylor_arrow_fluxnet_final_2.jnl "${NumSites} hour $flag_reference_file LH ${config_eval} ${config_ref} ${group}" |
---|
111 | |
---|
112 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_LH_day.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
113 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "day-to-day LH variability" -o lh_day taylor_arrow_fluxnet_final_2.jnl "${NumSites} day $flag_reference_file LH ${config_eval} ${config_ref} ${group}" |
---|
114 | |
---|
115 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_LH_month.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
116 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "month-to-month LH variability" -o lh_month taylor_arrow_fluxnet_final_2.jnl "${NumSites} month $flag_reference_file LH ${config_eval} ${config_ref} ${group}" |
---|
117 | |
---|
118 | NumSites=`wc -l stat_${config_eval}_${config_ref}_${group}_LH_year.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
119 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "year-to-year LH variability" -o lh_year taylor_arrow_fluxnet_final_2.jnl "${NumSites} year $flag_reference_file LH ${config_eval} ${config_ref} ${group}" |
---|