Project

General

Profile

« Previous | Next » 

Revision ebbfecf0

Added by Benoit Parmentier over 9 years ago

slidify presentation for assessment with mask and buffer

View differences:

climate/research/oregon/interpolation/presentation_summary_world.Rmd
1
---
2
title       : New elevation layer test summary world 
3
subtitle    : Global assessment interpolation
4
author      : Benoit Parmentier and Alberto Guzman
5
job         : NEX job world
6
framework   : io2012        # {io2012, html5slides, shower, dzslides, ...}
7
highlighter : highlight.js  # {highlight.js, prettify, highlight}
8
hitheme     : tomorrow      # 
9
widgets     : []            # {mathjax, quiz, bootstrap}
10
mode        : selfcontained # {standalone, draft}
11
knit        : slidify::knit2slides
12
---
13

  
14
```{r,echo=F}
15

  
16
#First let's set up the input parameters for the script in R:
17

  
18
in_dir <- "/data/project/layers/commons/NEX_data/output_run10_1500x4500_global_analyses_pred_2010_testelev_07302015"
19

  
20
#region_name <- "world" #PARAM 13 #reg4 South America, Africa reg5,Europe reg2, North America reg1, Asia reg3
21
#mosaicing_method <- c("unweighted","use_edge_weights")
22
out_suffix <- paste(region_name,"_","mosaic_07092015",sep="") 
23
#_mosaic_run10_1500x4500_global_analyses_06212015
24
#day_to_mosaic <- c("20100831",
25
#                   "20100901") #PARAM7
26

  
27
#png_files <- mixedsort(list.files(path=in_dir,pattern=paste("*",out_suffix,".png",sep="")))
28

  
29
```
30

  
31
## Testing elevation layers and masks
32

  
33

  
34
Two tiles were predicted for 10 dates:
35

  
36
1. Combined mask no buffer
37
2. Buffered 1km
38
3. Buffered 2km
39

  
40

  
41
--- .class #id 
42

  
43
<!-- Limit image width and height -->
44
<style type="text/css">
45
img {     
46
  max-height: 560px;     
47
  max-width: 964px; 
48
}
49
</style>
50
 
51
<!-- Center image on slide -->
52
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.min.js"></script>
53
<script type="text/javascript">
54
$(function() {     
55
  $("p:has(img)").addClass('centered'); 
56
});
57
</script>
58

  
59
# Combined mask Asia: 201000101
60

  
61
```{r, echo=FALSE}
62
#image_file1 <- file.path(in_dir,"Figure9_clim_mosaics_day_test_unweighted_20100831_world_mosaic_07092015")
63

  
64
fname <- paste("Figure10_combined_combined_20100101_30_111.6_94.1_1500x4500_run10_1500x4500_global_analyses_pred_2010_testelev_07302015.png")
65

  
66
image_file1 <- file.path(in_dir,fname)
67

  
68
```
69

  
70
```{r image_file1, echo = F, results = 'asis'}
71
md_str <- paste('\n![](',image_file1,')\n',sep="") 
72
cat(md_str)
73
```
74

  
75
---
76

  
77
# Buffered 1km mask Asia: 201000101
78

  
79
```{r, echo=FALSE}
80
#image_file2 <- file.path(in_dir,"Figure9_clim_mosaics_day_test_edge_weighted_20100831_world_mosaic_07092015.png")
81

  
82

  
83
fname <- paste("Figure10_1kmBuff_1kmBuff_20100101_30_111.6_94.1_1500x4500_run10_1500x4500_global_analyses_pred_2010_testelev_07302015.png")
84
image_file2 <- file.path(in_dir,fname)
85

  
86
```
87

  
88
```{r image_file2, echo = F, results = 'asis'}
89
md_str <- paste('\n![](',image_file2,')\n',sep="") 
90
cat(md_str)
91
```
92

  
93
---
94

  
95
# Buffered 2km mask Asia: 201000101
96

  
97
```{r, echo=FALSE}
98
#image_file3 <- file.path(in_dir,"Figure9_clim_mosaics_day_test_unweighted_20100901_world_mosaic_07092015.png")
99

  
100
fname <- paste("Figure10_2kmBuff_2kmBuff_20100101_30_111.6_94.1_1500x4500_run10_1500x4500_global_analyses_pred_2010_testelev_07302015.png")
101

  
102
image_file3 <- file.path(in_dir,fname)
103

  
104

  
105
```
106

  
107
```{r image_file3, echo = F, results = 'asis'}
108
md_str <- paste('\n![](',image_file3,')\n',sep="") 
109
cat(md_str)
110
```
111

  
112
---
113

  
114
# Combined mask Asia: 201000901
115

  
116
```{r, echo=FALSE}
117

  
118
fname <- paste("Figure10_combined_combined_20100901_30_111.6_94.1_1500x4500_run10_1500x4500_global_analyses_pred_2010_testelev_07302015.png")
119
image_file4 <- file.path(in_dir,fname)
120

  
121
```
122

  
123
```{r image_file4, echo = F, results = 'asis'}
124
md_str <- paste('\n![](',image_file4,')\n',sep="") 
125
cat(md_str)
126
```
127

  
128
---
129

  
130
# Buffered 1km mask Asia: 201000901
131

  
132
```{r, echo=FALSE}
133

  
134
fname <- paste("Figure10_1kmBuff_1kmBuff_20100901_30_111.6_94.1_1500x4500_run10_1500x4500_global_analyses_pred_2010_testelev_07302015.png")
135
image_file5 <- file.path(in_dir,fname)
136

  
137
```
138

  
139
```{r image_file5, echo = F, results = 'asis'}
140
md_str <- paste('\n![](',image_file5,')\n',sep="") 
141
cat(md_str)
142
```
143

  
144
---
145

  
146
# Buffered 2km mask Asia: 201000901
147

  
148
```{r, echo=FALSE}
149

  
150
fname <- paste("Figure10_2kmBuff_2kmBuff_20100901_30_111.6_94.1_1500x4500_run10_1500x4500_global_analyses_pred_2010_testelev_07302015.png")
151

  
152
image_file6 <- file.path(in_dir,fname)
153

  
154
```
155

  
156
```{r image_file6, echo = F, results = 'asis'}
157
md_str <- paste('\n![](',image_file6,')\n',sep="") 
158
cat(md_str)
159
```
160

  
161
---
162

  
163
# Combined mask Europe: 201000101
164

  
165
```{r, echo=FALSE}
166
#image_file1 <- file.path(in_dir,"Figure9_clim_mosaics_day_test_unweighted_20100831_world_mosaic_07092015")
167

  
168
fname <- paste("Figure10_combined_combined_20100101_30_151.5_23.7_1500x4500_run10_1500x4500_global_analyses_pred_2010_testelev_07302015.png")
169

  
170
image_file7 <- file.path(in_dir,fname)
171

  
172
```
173

  
174
```{r image_file7, echo = F, results = 'asis'}
175
md_str <- paste('\n![](',image_file7,')\n',sep="") 
176
cat(md_str)
177
```
178

  
179
---
180

  
181
# Buffered 1km mask Europe: 201000101
182

  
183
```{r, echo=FALSE}
184
#image_file2 <- file.path(in_dir,"Figure9_clim_mosaics_day_test_edge_weighted_20100831_world_mosaic_07092015.png")
185

  
186

  
187
fname <- paste("Figure10_1kmBuff_1kmBuff_20100101_30_151.5_23.7_1500x4500_run10_1500x4500_global_analyses_pred_2010_testelev_07302015.png")
188
image_file8 <- file.path(in_dir,fname)
189

  
190
```
191

  
192
```{r image_file8, echo = F, results = 'asis'}
193
md_str <- paste('\n![](',image_file8,')\n',sep="") 
194
cat(md_str)
195
```
196

  
197
---
198

  
199
# Buffered 2km mask Europe: 201000101
200

  
201
```{r, echo=FALSE}
202

  
203
fname <- paste("Figure10_2kmBuff_2kmBuff_20100101_30_151.5_23.7_1500x4500_run10_1500x4500_global_analyses_pred_2010_testelev_07302015.png")
204

  
205
image_file9 <- file.path(in_dir,fname)
206

  
207

  
208
```
209

  
210
```{r image_file9, echo = F, results = 'asis'}
211
md_str <- paste('\n![](',image_file9,')\n',sep="") 
212
cat(md_str)
213
```
214
---
215

  
216
# Combined mask Europe: 201000901
217

  
218
```{r, echo=FALSE}
219

  
220
fname <- paste("Figure10_combined_combined_20100901_30_151.5_23.7_1500x4500_run10_1500x4500_global_analyses_pred_2010_testelev_07302015.png")
221

  
222
image_file10 <- file.path(in_dir,fname)
223

  
224
```
225

  
226
```{r image_file10, echo = F, results = 'asis'}
227
md_str <- paste('\n![](',image_file10,')\n',sep="") 
228
cat(md_str)
229
```
230

  
231
---
232

  
233
# Buffered 1km mask Europe: 201000901
234

  
235
```{r, echo=FALSE}
236

  
237
fname <- paste("Figure10_1kmBuff_1kmBuff_20100901_30_151.5_23.7_1500x4500_run10_1500x4500_global_analyses_pred_2010_testelev_07302015.png")
238
image_file11 <- file.path(in_dir,fname)
239

  
240
```
241

  
242
```{r image_file11, echo = F, results = 'asis'}
243
md_str <- paste('\n![](',image_file11,')\n',sep="") 
244
cat(md_str)
245
```
246

  
247
---
248

  
249
# Buffered 2km mask Europe: 201000901
250

  
251
```{r, echo=FALSE}
252

  
253
fname <- paste("Figure10_2kmBuff_2kmBuff_20100901_30_151.5_23.7_1500x4500_run10_1500x4500_global_analyses_pred_2010_testelev_07302015.png")
254

  
255
image_file12 <- file.path(in_dir,fname)
256

  
257

  
258
```
259

  
260
```{r image_file12, echo = F, results = 'asis'}
261
md_str <- paste('\n![](',image_file12,')\n',sep="") 
262
cat(md_str)
263
```
264

  
265
---
266

  
267
# Boxplot Asia and Europe summarized
268

  
269
```{r, echo=FALSE}
270

  
271
fname <- paste("Figure8a_boxplot_overall_separated_by_region_with_oultiers_NA_run10_1500x4500_global_analyses_pred_2010_testelev_07302015.png")
272

  
273
image_file13 <- file.path(in_dir,fname)
274

  
275

  
276
```
277
```{r image_file13, echo = F, results = 'asis'}
278
md_str <- paste('\n![](',image_file13,')\n',sep="") 
279
cat(md_str)
280
```
281

  

Also available in: Unified diff