Project

General

Profile

« Previous | Next » 

Revision fd267571

Added by Benoit Parmentier about 8 years ago

generating animation for region 4 for multiple years sequences

View differences:

climate/research/oregon/interpolation/global_product_assessment_part2.R
4 4
#This part 2 of the assessment focuses on graphics to explore the spatial patterns of raster times series as figures and movie
5 5
#AUTHOR: Benoit Parmentier 
6 6
#CREATED ON: 10/03/2016  
7
#MODIFIED ON: 10/22/2016            
7
#MODIFIED ON: 10/24/2016            
8 8
#Version: 1
9 9
#PROJECT: Environmental Layers project     
10 10
#COMMENTS: Initial commit, script based on part NASA biodiversity conferenc 
......
18 18
#source /nobackupp6/aguzman4/climateLayers/sharedModules2/etc/environ.sh 
19 19
#
20 20
#setfacl -Rm u:aguzman4:rwx /nobackupp6/aguzman4/climateLayers/LST_tempSpline/
21
#COMMIT: generating animation for region 5 for multiple years sequences
21
#COMMIT: generating animation for region 4 for multiple years sequences
22 22

  
23 23
#################################################################################################
24 24

  
......
126 126
#master directory containing the definition of tile size and tiles predicted
127 127
#in_dir <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg5/assessment"
128 128
#in_dir_mosaic <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg5/mosaic/mosaic"
129
in_dir <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg5/assessment"
129
in_dir <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg4/assessment"
130 130
#in_dir_mosaic <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg6/mosaics/mosaic" #predicted mosaic
131 131
#in_dir_mosaic <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg1/mosaics/mosaic"
132
in_dir_mosaic <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg5/mosaics/mosaic"
133
region_name <- c("reg5") #param 6, arg 3
134
out_suffix <- "global_assessment_reg5_10222016"
132
#in_dir_mosaic <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg5/mosaics/mosaic"
133
in_dir_mosaic <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg4/mosaic/mosaic" #note dropped the s in mosaics
134

  
135
region_name <- c("reg4") #param 6, arg 3
136
out_suffix <- "global_assessment_reg4_10232016"
135 137

  
136 138
create_out_dir_param <- TRUE #param 9, arg 6
137 139

  
138 140

  
139
out_dir <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg5/assessment"
141
out_dir <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg4/assessment"
140 142

  
141 143
#run_figure_by_year <- TRUE # param 10, arg 7
142 144

  
......
155 157
#date_end <- day_end
156 158

  
157 159
#infile_mask <- "/nobackupp8/bparmen1/NEX_data/regions_input_files/r_mask_LST_reg4.tif"
158
infile_mask <- "/data/project/layers/commons/NEX_data/regions_input_files/r_mask_LST_reg5.tif"
159
#infile_mask <- "/data/project/layers/commons/NEX_data/regions_input_files/r_mask_LST_reg4.tif"
160
#infile_mask <- "/data/project/layers/commons/NEX_data/regions_input_files/r_mask_LST_reg5.tif"
161
infile_mask <- "/data/project/layers/commons/NEX_data/regions_input_files/r_mask_LST_reg4.tif"
160 162

  
161 163
#run_figure_by_year <- TRUE # param 10, arg 7
162 164
list_year_predicted <- "1984,2014"
163 165
scaling <- 0.01 #was scaled on 100 
164 166
#if scaling is null then perform no scaling!!
165 167

  
166
df_centroids_fname <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg5/mosaic/output_reg5_1999/df_centroids_19990701_reg5_1999.txt"
167
#df_centroids_fname <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg4/mosaic/output_reg4_1999/df_centroids_19990701_reg4_1999.txt"
168
#df_centroids_fname <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg5/mosaic/output_reg5_1999/df_centroids_19990701_reg5_1999.txt"
169
df_centroids_fname <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg4/mosaic/output_reg4_1999/df_centroids_19990701_reg4_1999.txt"
168 170
#df_centroids_fname <- "/data/project/layers/commons/NEX_data/climateLayers/out/reg6/mosaic/output_reg6_1984/df_centroids_19840101_reg6_1984.txt"
169 171
#/nobackupp6/aguzman4/climateLayers/out/reg1/assessment//output_reg1_1984/df_assessment_files_reg1_1984_reg1_1984.txt
170 172

  
......
317 319
                                                     out_suffix=out_suffix_str,
318 320
                                                     out_dir=out_dir)
319 321

  
322

  
320 323
############################ END OF SCRIPT ##################################

Also available in: Unified diff