Revision 9bd9700a
Added by Benoit Parmentier almost 9 years ago
climate/research/oregon/interpolation/master_script_stage_4_5.R | ||
---|---|---|
306 | 306 |
#max number of cells to read in memory |
307 | 307 |
max_mem<-args[11] |
308 | 308 |
#rasterOptions(maxmemory=1e+07,timer=TRUE) |
309 |
out_path_daily <- file.path(out_path,range_years[1]) #<-c("1992","1993") #right bound not included in the range!! |
|
310 |
out_path_clim <- file.path(out_path,paste("clim_",range_years_clim[1],"_",range_years_clim[2],sep="")) #<-c("1990","2001") #right bound not included in the range!! |
|
309 | 311 |
|
310 | 312 |
#Collect all parameters in a list |
311 | 313 |
list_param_raster_prediction<-list(list_param_data_prep,screen_data_training, |
312 | 314 |
seed_number,nb_sample,step,constant,prop_minmax,dates_selected, |
313 | 315 |
seed_number_month,nb_sample_month,step_month,constant_month,prop_minmax_month, |
314 |
list_models,list_models2,interp_method2,lst_avg,out_path,script_path,use_clim_image,join_daily, |
|
316 |
list_models,list_models2,interp_method2,lst_avg,out_path_daily,out_path_clim,script_path,use_clim_image,join_daily,
|
|
315 | 317 |
interpolation_method,num_cores,max_mem) |
316 | 318 |
names(list_param_raster_prediction)<-c("list_param_data_prep","screen_data_training", |
317 | 319 |
"seed_number","nb_sample","step","constant","prop_minmax","dates_selected", |
318 | 320 |
"seed_number_month","nb_sample_month","step_month","constant_month","prop_minmax_month", |
319 |
"list_models","list_models2","interp_method2","lst_avg","out_path","script_path","use_clim_image","join_daily", |
|
321 |
"list_models","list_models2","interp_method2","lst_avg","out_path","out_path_clim","script_path","use_clim_image","join_daily",
|
|
320 | 322 |
"interpolation_method","num_cores","max_mem") |
321 | 323 |
|
322 | 324 |
#debug(raster_prediction_fun) |
Also available in: Unified diff
master script stage 4_5 changes to take into account climatology step existence and modifcations in storage