Revision 94ab0ea9
Added by Benoit Parmentier over 8 years ago
climate/research/oregon/interpolation/master_script_stage_7.R | ||
---|---|---|
14 | 14 |
|
15 | 15 |
#AUTHOR: Benoit Parmentier |
16 | 16 |
#CREATED ON: 01/01/2016 |
17 |
#MODIFIED ON: 06/07/2016
|
|
17 |
#MODIFIED ON: 06/08/2016
|
|
18 | 18 |
#PROJECT: NCEAS INPLANT: Environment and Organisms |
19 | 19 |
|
20 | 20 |
#First source these files: |
... | ... | |
66 | 66 |
#script_path <- "/home/parmentier/Data/IPLANT_project/env_layers_scripts" |
67 | 67 |
script_path <- "/nobackupp8/bparmen1/env_layers_scripts" #path to script |
68 | 68 |
function_mosaicing_functions <- "global_run_scalingup_mosaicing_function_05312016.R" #PARAM12 |
69 |
function_mosaicing <-"global_run_scalingup_mosaicing_05312016.R"
|
|
69 |
function_mosaicing <-"global_run_scalingup_mosaicing_06082016.R"
|
|
70 | 70 |
source(file.path(script_path,function_mosaicing)) #source all functions used in this script |
71 | 71 |
source(file.path(script_path,function_mosaicing_functions)) #source all functions used in this script |
72 | 72 |
|
... | ... | |
117 | 117 |
df_assessment_files_name <- "/nobackupp6/aguzman4/climateLayers/out/reg4/assessment/output_reg4_1999/df_assessment_files_reg4_1999_reg4_1999.txt" # data.frame with all files used in assessmnet, PARAM 15 |
118 | 118 |
algorithm <- "python" #PARAM 16 #if R use mosaic function for R, if python use modified gdalmerge script from Alberto Guzmann |
119 | 119 |
#layers_option <- c("var_pred") #arg 17 ,param 17, options are:#res_training, res_testing,ac_training, ac_testing, var_pred |
120 |
layers_option <- c("ac_testing") #arg 17 ,param 17, options are:#res_training, res_testing,ac_training, ac_testing, var_pred |
|
120 |
#layers_option <- c("ac_testing") #arg 17 ,param 17, options are:#res_training, res_testing,ac_training, ac_testing, var_pred
|
|
121 | 121 |
#layers_option <- c("res_testing") #arg 17 ,param 17, options are:#res_training, res_testing,ac_training, ac_testing, var_pred |
122 |
layers_option <- c("res_training") #arg 17 ,param 17, options are:#res_training, res_testing,ac_training, ac_testing, var_pred |
|
122 |
#layers_option <- c("res_training") #arg 17 ,param 17, options are:#res_training, res_testing,ac_training, ac_testing, var_pred |
|
123 |
layers_option <- c("ac_training") #arg 17 ,param 17, options are:#res_training, res_testing,ac_training, ac_testing, var_pred |
|
123 | 124 |
|
124 | 125 |
tmp_files <- TRUE #arg 18, param 18, keep temp files if TRUE |
125 | 126 |
data_type <- "Int16" #, param 19, use int32 for output layers mosaiced |
Also available in: Unified diff
master script mosaicing, testing residuals layers for accuray