Project

General

Profile

« Previous | Next » 

Revision f1b2b657

Added by Benoit Parmentier over 8 years ago

testing stage 7 mosaicing with layers options and temporary files removal

View differences:

climate/research/oregon/interpolation/master_script_stage_7.R
60 60

  
61 61
#script_path <- "/home/parmentier/Data/IPLANT_project/env_layers_scripts"
62 62
script_path <- "/nobackupp8/bparmen1/env_layers_scripts" #path to script
63
function_mosaicing_functions <- "global_run_scalingup_mosaicing_function_04072016.R" #PARAM12
64
function_mosaicing <-"global_run_scalingup_mosaicing_04072016b.R"
63
function_mosaicing_functions <- "global_run_scalingup_mosaicing_function_04102016.R" #PARAM12
64
function_mosaicing <-"global_run_scalingup_mosaicing_04082016.R"
65 65
source(file.path(script_path,function_mosaicing)) #source all functions used in this script 
66 66
source(file.path(script_path,function_mosaicing_functions)) #source all functions used in this script 
67 67

  
......
169 169
#in_dir_tiles <- file.path(in_dir,"tiles") #this is valid both for Atlas and NEX
170 170
layers_option <- c("var_pred") #options are:
171 171
#res_training, res_testing,ac_training, ac_testing, var_pred
172
tmp_files <- FALSE
172 173

  
173 174
#rasterOptions(maxmemory=1e+07,timer=TRUE)
174 175
list_param_run_mosaicing_prediction <- list(in_dir,y_var_name,interpolation_method,region_name,
175 176
                 mosaicing_method,out_suffix,out_suffix_str,metric_name,pred_mod_name,var_pred,
176 177
                 create_out_dir_param,day_to_mosaic_range,proj_str,file_format,NA_value,num_cores,
177 178
                 use_autokrige,infile_mask,df_assessment_files_name,mosaic_python,
178
                 python_bin,algorithm,match_extent,list_models,layers_option)
179
                 python_bin,algorithm,match_extent,list_models,layers_option,tmp_files)
179 180
param_names <- c("in_dir","y_var_name","interpolation_method","region_name",
180 181
                 "mosaicing_method","out_suffix","out_suffix_str","metric_name","pred_mod_name","var_pred",
181 182
                 "create_out_dir_param","day_to_mosaic_range","proj_str","file_format","NA_value","num_cores",
182 183
                 "use_autokrige","infile_mask","df_assessment_files_name","mosaic_python",
183
                 "python_bin","algorithm","match_extent","list_models","layers_option")
184
                 "python_bin","algorithm","match_extent","list_models","layers_option","tmp_files")
184 185
names(list_param_run_mosaicing_prediction) <- param_names
185 186
#list_param_run_mosaicing_prediction
186 187
#debug(run_mosaicing_prediction_fun)

Also available in: Unified diff