Revision ec403b5d
Added by Benoit Parmentier over 11 years ago
climate/research/oregon/interpolation/master_script_temp.R | ||
---|---|---|
10 | 10 |
#STAGE 5: Output analyses: assessment of results for specific dates... |
11 | 11 |
# |
12 | 12 |
#AUTHOR: Benoit Parmentier |
13 |
#DATE: 08/06/2013
|
|
13 |
#DATE: 08/07/2013
|
|
14 | 14 |
|
15 | 15 |
#PROJECT: NCEAS INPLANT: Environment and Organisms --TASK#363, TASK$568-- |
16 | 16 |
|
... | ... | |
58 | 58 |
#source(file.path(script_path,"download_and_produce_MODIS_LST_climatology_06112013.R")) |
59 | 59 |
source(file.path(script_path,"covariates_production_temperatures_08052013.R")) |
60 | 60 |
source(file.path(script_path,"Database_stations_covariates_processing_function_06112013.R")) |
61 |
source(file.path(script_path,"GAM_fusion_analysis_raster_prediction_multisampling_07302013.R"))
|
|
61 |
source(file.path(script_path,"GAM_fusion_analysis_raster_prediction_multisampling_08062013.R"))
|
|
62 | 62 |
source(file.path(script_path,"results_interpolation_date_output_analyses_08052013.R")) |
63 | 63 |
#source(file.path(script_path,"results_covariates_database_stations_output_analyses_04012013.R")) #to be completed |
64 | 64 |
|
... | ... | |
74 | 74 |
stages_to_run<-c(0,2,3,4,5) #MRun only raster fitting, prediction and assessemnt (providing lst averages, covar brick and met stations) |
75 | 75 |
#If stage 2 is skipped then use previous covar object |
76 | 76 |
covar_obj_file<-"/data/project/layers/commons/data_workflow/output_data_365d_gam_fus_lst_test_run_07172013/covar_obj__365d_gam_fus_lst_test_run_07172013.RData" |
77 |
covar_obj_file<-"covar_obj__365d_kriging_daily_mults10_lst_comb3_08062013.RData" |
|
77 |
#covar_obj_file<-"covar_obj__365d_kriging_daily_mults10_lst_comb3_08062013.RData"
|
|
78 | 78 |
#If stage 3 is skipped then use previous met_stations object |
79 | 79 |
met_stations_outfiles_obj_file<-"/data/project/layers/commons/data_workflow/output_data_365d_gam_fus_lst_test_run_07172013/met_stations_outfiles_obj_gam_fusion__365d_gam_fus_lst_test_run_07172013.RData" |
80 |
#met_stations_outfiles_obj_file<-"met_stations_outfiles_obj_kriging_daily__365d_kriging_daily_mults10_lst_comb3_08062013.RData" |
|
80 | 81 |
|
81 |
met_stations_outfiles_obj_file<-"met_stations_outfiles_obj_kriging_daily__365d_kriging_daily_mults10_lst_comb3_08062013.RData" |
|
82 | 82 |
var<-"TMAX" # variable being interpolated |
83 |
out_prefix<-"_365d_kriging_daily_mults10_lst_comb3_08062013" #User defined output prefix
|
|
84 |
out_suffix<-"_OR_08062013" #Regional suffix
|
|
83 |
out_prefix<-"_365d_gwr_daily_mults10_lst_comb3_08072013" #User defined output prefix
|
|
84 |
out_suffix<-"_OR_08072013" #Regional suffix
|
|
85 | 85 |
out_suffix_modis <-"_05302013" #pattern to find tiles produced previously |
86 | 86 |
|
87 | 87 |
#interpolation_method<-c("gam_fusion","gam_CAI","gam_daily") #other otpions to be added later |
... | ... | |
92 | 92 |
#interpolation_method<-c("gwr_CAI") #other otpions to be added later |
93 | 93 |
#interpolation_method<-c("kriging_CAI") |
94 | 94 |
|
95 |
#interpolation_method<-c("gam_daily") #other otpions to be added later
|
|
96 |
interpolation_method<-c("kriging_daily") #other otpions to be added later |
|
95 |
interpolation_method<-c("gwr_daily") #other otpions to be added later
|
|
96 |
#interpolation_method<-c("kriging_daily") #other otpions to be added later
|
|
97 | 97 |
#interpolation_method<-c("gwr_daily") #other otpions to be added later |
98 | 98 |
|
99 | 99 |
out_path<-"/home/parmentier/Data/IPLANT_project/Oregon_interpolation/Oregon_03142013/output_data" |
Also available in: Unified diff
running kriging daily multisampling 10 to 70% prop baseline comb3