Revision aa37eb9e
Added by Benoit Parmentier over 11 years ago
climate/research/oregon/interpolation/master_script_temp.R | ||
---|---|---|
48 | 48 |
|
49 | 49 |
##SCRIPT USED FOR THE PREDICTIONS: Source or list all scripts here to avoid confusion on versions being run!!!! |
50 | 50 |
|
51 |
#source(file.path(script_path,"master_script_temp_07162013.R")) #Master script can be run directly...
|
|
51 |
#source(file.path(script_path,"master_script_temp_07232013.R")) #Master script can be run directly...
|
|
52 | 52 |
|
53 | 53 |
#CALLED FROM MASTER SCRIPT: |
54 | 54 |
|
... | ... | |
79 | 79 |
|
80 | 80 |
|
81 | 81 |
var<-"TMAX" # variable being interpolated |
82 |
out_prefix<-"_365d_gam_day_mult_lst_comb3_07202013" #User defined output prefix
|
|
83 |
out_suffix<-"_OR_07202013" #Regional suffix
|
|
82 |
out_prefix<-"_365d_gam_day_mults15_lst_comb3_07232013" #User defined output prefix
|
|
83 |
out_suffix<-"_OR_07232013" #Regional suffix
|
|
84 | 84 |
out_suffix_modis <-"_05302013" #pattern to find tiles produced previously |
85 | 85 |
|
86 | 86 |
#interpolation_method<-c("gam_fusion","gam_CAI","gam_daily") #other otpions to be added later |
... | ... | |
236 | 236 |
#Set additional parameters |
237 | 237 |
#Input for sampling function... |
238 | 238 |
seed_number<- 100 #if seed zero then no seed? |
239 |
nb_sample<-15 #number of time random sampling must be repeated for every hold out proportion
|
|
239 |
nb_sample<-10 #number of time random sampling must be repeated for every hold out proportion
|
|
240 | 240 |
step<-0.1 |
241 | 241 |
constant<-0 #if value 1 then use the same samples as date one for the all set of dates |
242 | 242 |
prop_minmax<-c(0.1,0.7) #if prop_min=prop_max and step=0 then predicitons are done for the number of dates... |
Also available in: Unified diff
master script, temp predictions, for Oregon with 7 hold out prop, 10 samples and 12 dates