Project

General

Profile

« Previous | Next » 

Revision af6e223c

Added by Benoit Parmentier over 8 years ago

master script stage 8 combined assessment from multiple regions, running changes

View differences:

climate/research/oregon/interpolation/master_script_stage_8.R
13 13
#STAGE 8: Comparison of predictions across regions and years with figures generation.
14 14
#AUTHOR: Benoit Parmentier                                                                        
15 15
#CREATED ON: 12/29/2015  
16
#MODIFIED ON: 05/18/2016  
16
#MODIFIED ON: 07/27/2016  
17 17
#PROJECT: NCEAS-IPLANT-NASA: Environment Layers                                                                           
18 18

  
19 19
#First source these files:
......
151 151
#in_dir1 <- "/nobackupp6/aguzman4/climateLayers/out/" #param 5, arg 2
152 152
in_dir <- args[2] #param 5, arg 2
153 153
#in_dir <- "/data/project/layers/commons/NEX_data/reg23_assessment"
154
in_dir <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg4/assessment"
154
#in_dir <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg4/assessment"
155
in_dir <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg5/assessment"
155 156
#in_dir <- "" #PARAM 0
156 157
#y_var_name <- "dailyTmax" #PARAM1
157 158
#interpolation_method <- c("gam_CAI") #PARAM2
......
160 161
#region_names <- c("reg23","reg4") #selected region names,
161 162
#run assessment by region, this is a unique region only 
162 163
region_name <- args[3] #param 6, arg 3
163
region_name <- c("reg4") #param 6, arg 3
164
#region_name <- c("reg4") #param 6, arg 3
165
region_name <- c("reg5") #param 6, arg 3
164 166

  
165 167
#out_prefix <- "run_global_analyses_pred_12282015" #param 7, arg 4
166 168
#out_dir <- "/nobackupp8/bparmen1/" #param 8, arg 5
167 169
#out_dir <-paste(out_dir,"_",out_prefix,sep="")
168 170
create_out_dir_param <- TRUE #param 9, arg 6
169 171
out_prefix <- args[4] #param 7, arg 4
170
out_suffix <- "global_analyses_overall_assessment_reg4_05182016"
172
out_suffix <- "global_analyses_overall_assessment_reg5_07272016"
171 173

  
172 174
out_dir <- args[5] #param 8, arg 5
173
out_dir <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg4/assessment"
175
#out_dir <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg4/assessment"
176
out_dir <- in_dir
174 177

  
175 178
#out_dir <-paste(out_dir,"_",out_prefix,sep="")
176 179
create_out_dir_param <- args[6] #param 9, arg 6
......
193 196
  
194 197
##Additional parameters used in part 2, some these may be removed as code is simplified
195 198
mosaic_plot <- FALSE #param 15
196
day_to_mosaic <- c("19920102","19920103","19920103") #param 16, not in use...
199
day_to_mosaic <- c("19910110","19910111","19911012","1991013","1991014") #param 16, not in use...
197 200
multiple_region <- TRUE #param 17
198 201
#countries_shp <- "/nobackupp8/bparmen1/NEX_data/countries.shp" #param 18
199 202
countries_shp <-"/data/project/layers/commons/NEX_data/countries.shp" #Atlas

Also available in: Unified diff