Project

General

Profile

« Previous | Next » 

Revision f42722e7

Added by Benoit Parmentier over 11 years ago

master script, test run for NASA

View differences:

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: 07/17/2013                                                                                 
13
#DATE: 07/18/2013                                                                                 
14 14

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

  
......
71 71

  
72 72
#stages_to_run<-c(1,2,3,4,5) #May decide on antoher strategy later on...
73 73
#stages_to_run<-c(0,2,3,4,5) #May decide on antoher strategy later on...
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)
74
stages_to_run<-c(0,0,0,4,5) #MRun only raster fitting, prediction and assessemnt (providing lst averages, covar brick and met stations)
75
#If stage 2 is skipped then use previous covar object
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
#If stage 3 is skipped then use previous met_stations object
78
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"
75 79

  
76 80

  
77 81
var<-"TMAX" # variable being interpolated
78
out_prefix<-"_365d_gam_fus_lst_test_run_07172013"                #User defined output prefix
79
out_suffix<-"_OR_07172013"                                       #Regional suffix
82
out_prefix<-"_365d_gam_fus_lst_test_run_07182013"                #User defined output prefix
83
out_suffix<-"_OR_07182013"                                       #Regional suffix
80 84
out_suffix_modis <-"_05302013"                       #pattern to find tiles produced previously     
81 85

  
82 86
#interpolation_method<-c("gam_fusion","gam_CAI","gam_daily") #other otpions to be added later
......
112 116
buffer_dist<-0 #not in use yet, must change climatology step to make sure additional tiles are downloaded and LST averages
113 117
               #must also be calculated for neighbouring tiles.
114 118

  
115
#If stage 2 is skipped then use previous covar object
116
covar_obj_file<-"/data/project/layers/commons/data_workflow/output_data_365d_gam_fus_lst_test_run_07162013/covar_obj__365d_gam_fus_lst_test_run_07162013.RData"
117
#covar_names see stage 2
118
#If stage 3 is skipped then use previous met_stations object
119
met_stations_outfiles_obj_file<-"/data/project/layers/commons/data_workflow/output_data_365d_gam_fus_lst_test_run_07162013/met_stations_outfiles_obj_gam_fusion__365d_gam_fus_lst_test_run_07162013.RData"
120 119
#list_tiles_modis <- c("h11v08,h11v07,h12v07,h12v08,h10v07,h10v08") #tile for Venezuela and surrounding area
121 120
list_tiles_modis <- c("h08v04,h09v04") #tiles for Oregon
122 121
  

Also available in: Unified diff