Revision f3808703
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: 06/28/2013
|
|
13 |
#DATE: 07/02/2013
|
|
14 | 14 |
|
15 | 15 |
#PROJECT: NCEAS INPLANT: Environment and Organisms --TASK#363, TASK$568-- |
16 | 16 |
|
... | ... | |
54 | 54 |
clim_script <- file.path(script_path,"climatology_05312013.py") # LST climatology python script |
55 | 55 |
grass_setting_script <- file.path(script_path,"grass-setup.R") #Set up system shell environment for python+GRASS |
56 | 56 |
#source(file.path(script_path,"download_and_produce_MODIS_LST_climatology_06112013.R")) |
57 |
source(file.path(script_path,"covariates_production_temperatures_06272013.R"))
|
|
57 |
source(file.path(script_path,"covariates_production_temperatures_07022013.R"))
|
|
58 | 58 |
source(file.path(script_path,"Database_stations_covariates_processing_function_06112013.R")) |
59 |
source(file.path(script_path,"GAM_fusion_analysis_raster_prediction_multisampling_06082013.R"))
|
|
59 |
source(file.path(script_path,"GAM_fusion_analysis_raster_prediction_multisampling_06112013.R"))
|
|
60 | 60 |
source(file.path(script_path,"results_interpolation_date_output_analyses_06112013.R")) |
61 | 61 |
#source(file.path(script_path,"results_covariates_database_stations_output_analyses_04012013.R")) #to be completed |
62 | 62 |
|
63 | 63 |
#FUNCTIONS CALLED FROM GAM ANALYSIS RASTER PREDICTION ARE FOUND IN... |
64 | 64 |
|
65 | 65 |
source(file.path(script_path,"sampling_script_functions_03122013.R")) |
66 |
source(file.path(script_path,"GAM_fusion_function_multisampling_06112013.R")) #Include GAM_CAI
|
|
66 |
source(file.path(script_path,"GAM_fusion_function_multisampling_07022013.R")) #Include GAM_CAI
|
|
67 | 67 |
source(file.path(script_path,"interpolation_method_day_function_multisampling_06082013.R")) #Include GAM_day |
68 | 68 |
source(file.path(script_path,"GAM_fusion_function_multisampling_validation_metrics_05062013.R")) |
69 | 69 |
|
... | ... | |
71 | 71 |
stages_to_run<-c(0,2,3,4,5) #May decide on antoher strategy later on... |
72 | 72 |
|
73 | 73 |
var<-"TMAX" # variable being interpolated |
74 |
out_prefix<-"_365d_gam_fus_lst_06282013" #User defined output prefix
|
|
75 |
out_suffix<-"_OR_06282013"
|
|
74 |
out_prefix<-"_365d_gam_day_lst_07032013" #User defined output prefix
|
|
75 |
out_suffix<-"_OR_07032013"
|
|
76 | 76 |
out_suffix_modis <-"_05302013" #use tiles produce previously |
77 | 77 |
|
78 | 78 |
#interpolation_method<-c("gam_fusion","gam_CAI","gam_daily") #other otpions to be added later |
79 | 79 |
#interpolation_method<-c("gam_CAI") #other otpions to be added later |
80 |
interpolation_method<-c("gam_fusion") #other otpions to be added later |
|
81 |
#interpolation_method<-c("gam_daily") #other otpions to be added later
|
|
80 |
#interpolation_method<-c("gam_fusion") #other otpions to be added later
|
|
81 |
interpolation_method<-c("gam_daily") #other otpions to be added later |
|
82 | 82 |
#interpolation_method<-c("kriging_daily") #other otpions to be added later |
83 | 83 |
#interpolation_method<-c("gwr_daily") #other otpions to be added later |
84 | 84 |
|
Also available in: Unified diff
gam day with screening of values, OR analyses for paper