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 | NumSites=2 |
---|
23 | group=GRA |
---|
24 | config_ref= |
---|
25 | config_eval= |
---|
26 | |
---|
27 | |
---|
28 | mv ../stat_${config_eval}_${config_ref}_${group}_GPP_hour.csv . |
---|
29 | mv ../stat_${config_eval}_${config_ref}_${group}_GPP_day.csv . |
---|
30 | mv ../stat_${config_eval}_${config_ref}_${group}_GPP_month.csv . |
---|
31 | mv ../stat_${config_eval}_${config_ref}_${group}_GPP_year.csv . |
---|
32 | |
---|
33 | mv ../stat_${config_eval}_${config_ref}_${group}_TER_hour.csv . |
---|
34 | mv ../stat_${config_eval}_${config_ref}_${group}_TER_day.csv . |
---|
35 | mv ../stat_${config_eval}_${config_ref}_${group}_TER_month.csv . |
---|
36 | mv ../stat_${config_eval}_${config_ref}_${group}_TER_year.csv . |
---|
37 | |
---|
38 | mv ../stat_${config_eval}_${config_ref}_${group}_NEE_hour.csv . |
---|
39 | mv ../stat_${config_eval}_${config_ref}_${group}_NEE_day.csv . |
---|
40 | mv ../stat_${config_eval}_${config_ref}_${group}_NEE_month.csv . |
---|
41 | mv ../stat_${config_eval}_${config_ref}_${group}_NEE_year.csv . |
---|
42 | |
---|
43 | mv ../stat_${config_eval}_${config_ref}_${group}_SH_hour.csv . |
---|
44 | mv ../stat_${config_eval}_${config_ref}_${group}_SH_day.csv . |
---|
45 | mv ../stat_${config_eval}_${config_ref}_${group}_SH_month.csv . |
---|
46 | mv ../stat_${config_eval}_${config_ref}_${group}_SH_year.csv . |
---|
47 | |
---|
48 | mv ../stat_${config_eval}_${config_ref}_${group}_LH_hour.csv . |
---|
49 | mv ../stat_${config_eval}_${config_ref}_${group}_LH_day.csv . |
---|
50 | mv ../stat_${config_eval}_${config_ref}_${group}_LH_month.csv . |
---|
51 | mv ../stat_${config_eval}_${config_ref}_${group}_LH_year.csv . |
---|
52 | |
---|
53 | NumSitesYear=`wc -l stat_${config_eval}_${config_ref}_${group}_LH_year.csv | sed -e "s/\([0-9]*\).*/\1/g"` |
---|
54 | |
---|
55 | cp ../taylor_arrow_fluxnet_final_2.jnl . |
---|
56 | |
---|
57 | |
---|
58 | |
---|
59 | # Ratio one day over time step |
---|
60 | one_day=86400 |
---|
61 | ratio=$(( one_day/1800 )) |
---|
62 | |
---|
63 | |
---|
64 | 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}" |
---|
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 | 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}" |
---|
67 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "year-to-year GPP variability" -o gpp_year taylor_arrow_fluxnet_final_2.jnl "${NumSitesYear} year $flag_reference_file GPP ${config_eval} ${config_ref} ${group}" |
---|
68 | |
---|
69 | 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}" |
---|
70 | 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}" |
---|
71 | 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}" |
---|
72 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "year-to-year TER variability" -o ter_year taylor_arrow_fluxnet_final_2.jnl "${NumSitesYear} year $flag_reference_file TER ${config_eval} ${config_ref} ${group}" |
---|
73 | |
---|
74 | 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}" |
---|
75 | 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}" |
---|
76 | 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}" |
---|
77 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "year-to-year NEE variability" -o nee_year taylor_arrow_fluxnet_final_2.jnl "${NumSitesYear} year $flag_reference_file NEE ${config_eval} ${config_ref} ${group}" |
---|
78 | |
---|
79 | 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}" |
---|
80 | 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}" |
---|
81 | 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}" |
---|
82 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "year-to-year SH variability" -o sh_year taylor_arrow_fluxnet_final_2.jnl "${NumSitesYear} year $flag_reference_file SH ${config_eval} ${config_ref} ${group}" |
---|
83 | |
---|
84 | 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}" |
---|
85 | 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}" |
---|
86 | 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}" |
---|
87 | echo ${input} | ferretloop - ${debug} --ps2gif_option "-g $quality" -p -i "year-to-year LH variability" -o lh_year taylor_arrow_fluxnet_final_2.jnl "${NumSitesYear} year $flag_reference_file LH ${config_eval} ${config_ref} ${group}" |
---|