Project

General

Profile

« Previous | Next » 

Revision 67ab82b4

Added by Benoit Parmentier over 11 years ago

master script gam CAI predictions run and modifications

View differences:

climate/research/oregon/interpolation/master_script_temp.R
10 10
#STAGE 5: Output analyses-visualization of results for specific dates...
11 11
#
12 12
#AUTHOR: Benoit Parmentier                                                                       
13
#DATE: 04/21/2013                                                                                 
13
#DATE: 05/01/2013                                                                                 
14 14

  
15 15
#PROJECT: NCEAS INPLANT: Environment and Organisms --TASK#363, TASK$568--   
16 16

  
......
55 55
#/home/parmentier/Data/IPLANT_project/Venezuela_interpolation/Venezuela_01142013/climatology_03192013.py
56 56
source(file.path(script_path,"covariates_production_temperatures_03212013.R"))
57 57
source(file.path(script_path,"Database_stations_covariates_processing_function_04042013.R"))
58
source(file.path(script_path,"GAM_fusion_analysis_raster_prediction_multisampling_04162013.R"))
59
#source(file.path(script_path,"results_interpolation_date_output_analyses_04162013.R"))
58
source(file.path(script_path,"GAM_fusion_analysis_raster_prediction_multisampling_04302013.R"))
59
source(file.path(script_path,"results_interpolation_date_output_analyses_04302013.R"))
60 60
#source(file.path(script_path,"results_covariates_database_stations_output_analyses_04012013.R"))
61 61

  
62 62
#FUNCTIONS CALLED FROM GAM ANALYSIS RASTER PREDICTION ARE FOUND IN...
63 63

  
64 64
source(file.path(script_path,"sampling_script_functions_03122013.R"))
65
source(file.path(script_path,"GAM_fusion_function_multisampling_04162013.R")) #Include GAM_CAI
66
source(file.path(script_path,"GAM_fusion_function_multisampling_validation_metrics_04162013.R"))
65
source(file.path(script_path,"GAM_fusion_function_multisampling_04302013.R")) #Include GAM_CAI
66
source(file.path(script_path,"GAM_fusion_function_multisampling_validation_metrics_04302013.R"))
67 67

  
68 68
############ STAGE 1: LST Climatology ###############
69 69

  
......
229 229

  
230 230
############## STAGE 5: OUTPUT ANALYSES ##################
231 231

  
232
#source(file.path(script_path,"results_interpolation_date_output_analyses_03272013.R"))
232
date_selected<-c("20100101") ##This is for year 2000!!!
233
#raster_prediction_obj<-load_obj("raster_prediction_obj_dailyTmin_365d_GAM_fus5_all_lstd_03292013.RData")
234
#raster_prediction_obj<-load_obj("raster_prediction_obj_gam_CAI_dailyTmax_365d_GAM_CAI_all_lst_04162013.RData")
235
#raster_prediciton_obj<-load_obj(paste("raster_prediction_obj","_","interpolation_method,
236
#                                y_var_name,out_prefix,sep="")
237
list_param_results_analyses<-list(in_path,out_path,script_path,raster_prediction_obj,interpolation_method,infile_covar,covar_names,date_selected,var,out_prefix)
238
names(list_param_results_analyses)<-c("in_path","out_path","script_path","raster_prediction_obj","interpolation_method",
239
                     "infile_covar","covar_names","date_selected","var","out_prefix")
240
#plots_assessment_by_date<-function(j,list_param){
241

  
242
plots_assessment_by_date(1,list_param_results_analyses)
243
#source(file.path(script_path,"results_interpolation_date_output_analyses_04302013.R"))
233 244
#Call as function...
234 245

  
235 246
###############   END OF SCRIPT   ###################

Also available in: Unified diff