Revision 0eb2acf0
Added by Benoit Parmentier over 8 years ago
climate/research/oregon/interpolation/master_script_stage_8.R | ||
---|---|---|
13 | 13 |
#STAGE 8: Comparison of predictions across regions and years with figures generation. |
14 | 14 |
#AUTHOR: Benoit Parmentier |
15 | 15 |
#CREATED ON: 12/29/2015 |
16 |
#MODIFIED ON: 02/10/2016
|
|
16 |
#MODIFIED ON: 02/17/2016
|
|
17 | 17 |
#PROJECT: NCEAS-IPLANT-NASA: Environment Layers |
18 | 18 |
|
19 | 19 |
#First source these files: |
... | ... | |
165 | 165 |
#out_dir <-paste(out_dir,"_",out_prefix,sep="") |
166 | 166 |
create_out_dir_param <- TRUE #param 9, arg 6 |
167 | 167 |
out_prefix <- args[4] #param 7, arg 4 |
168 |
out_suffix <- "global_analyses_overall_assessment_reg5_02092016"
|
|
168 |
out_suffix <- "global_analyses_overall_assessment_reg5_02172016"
|
|
169 | 169 |
|
170 | 170 |
out_dir <- args[5] #param 8, arg 5 |
171 | 171 |
out_dir <- "/data/project/layers/commons/NEX_data/reg5_assessment" |
... | ... | |
180 | 180 |
list_year_predicted <- args[7] # param 10, arg 7, min and max year |
181 | 181 |
|
182 | 182 |
#run_figure_by_year <- TRUE # param 10, arg 7 |
183 |
list_year_predicted <- "2010,2013"
|
|
183 |
list_year_predicted <- "1996,2014"
|
|
184 | 184 |
|
185 | 185 |
file_format <- ".tif" #format for mosaiced files # param 11 |
186 | 186 |
NA_flag_val <- -9999 #No data value, # param 12 |
... | ... | |
202 | 202 |
max_mem <- args[9] #param 21 |
203 | 203 |
max_mem <- 1e+07 |
204 | 204 |
#in_dir_list_filename <- args[10] #param 22 |
205 |
in_dir_list_filename <- "/data/project/layers/commons/NEX_data/reg5_assessment/stage6_reg5_in_dir_list_02092016.txt"
|
|
205 |
in_dir_list_filename <- "/data/project/layers/commons/NEX_data/reg5_assessment/stage6_reg5_in_dir_list_02172016.txt"
|
|
206 | 206 |
#in_dir_list_filename <- "/data/project/layers/commons/NEX_data/reg4_assessment/stage6_reg4_in_dir_list_02072016.txt" |
207 | 207 |
run_figure_by_year <- args[11] # param 10, arg 7, if true will create figures for individual years... |
208 | 208 |
run_figure_by_year <- TRUE # param 10, arg 7, if true will create figures for individual years... |
Also available in: Unified diff
overall assessment 1996-2014 for region 5 using stage 8 master script