@@ -2,43 +2,43 @@ options(timeout = max(300, getOption('timeout')))
2
2
# # file structure
3
3
4
4
if (! file.exists(" data/NEON-DS-Site-Layout-Files" )) {
5
- dest <- tempfile()
6
- download.file(" https://ndownloader.figshare.com/files/3708751" , dest ,
7
- mode = " wb" )
8
- unzip(dest , exdir = " data" )
5
+ dest <- tempfile()
6
+ download.file(" https://ndownloader.figshare.com/files/3708751" , dest ,
7
+ mode = " wb" )
8
+ unzip(dest , exdir = " data" )
9
9
}
10
10
11
11
if (! file.exists(" data/NEON-DS-Airborne-Remote-Sensing" )) {
12
- dest <- tempfile()
13
- download.file(" https://ndownloader.figshare.com/files/3701578" , dest ,
14
- mode = " wb" )
15
- unzip(dest , exdir = " data" )
12
+ dest <- tempfile()
13
+ download.file(" https://ndownloader.figshare.com/files/3701578" , dest ,
14
+ mode = " wb" )
15
+ unzip(dest , exdir = " data" )
16
16
}
17
17
18
18
if (! file.exists(" data/NEON-DS-Met-Time-Series" )) {
19
- dest <- tempfile()
20
- download.file(" https://ndownloader.figshare.com/files/3701572" , dest ,
21
- mode = " wb" )
22
- unzip(dest , exdir = " data" )
19
+ dest <- tempfile()
20
+ download.file(" https://ndownloader.figshare.com/files/3701572" , dest ,
21
+ mode = " wb" )
22
+ unzip(dest , exdir = " data" )
23
23
}
24
24
25
25
if (! file.exists(" data/NEON-DS-Landsat-NDVI" )) {
26
- dest <- tempfile()
27
- download.file(" https://ndownloader.figshare.com/files/4933582" , dest ,
28
- mode = " wb" )
29
- unzip(dest , exdir = " data" )
26
+ dest <- tempfile()
27
+ download.file(" https://ndownloader.figshare.com/files/4933582" , dest ,
28
+ mode = " wb" )
29
+ unzip(dest , exdir = " data" )
30
30
}
31
31
32
32
if (! file.exists(" data/Global/Boundaries/ne_110m_graticules_all" )) {
33
- dest <- tempfile()
34
- download.file(" https://www.naturalearthdata.com/http//www.naturalearthdata.com/download /110m/physical/ne_110m_graticules_all.zip" ,
35
- dest , mode = " wb" )
36
- unzip(dest , exdir = " data/Global/Boundaries/ne_110m_graticules_all" )
33
+ dest <- tempfile()
34
+ download.file(" https://naciscdn.org/naturalearth /110m/physical/ne_110m_graticules_all.zip" ,
35
+ dest , mode = " wb" )
36
+ unzip(dest , exdir = " data/Global/Boundaries/ne_110m_graticules_all" )
37
37
}
38
38
39
39
if (! file.exists(" data/Global/Boundaries/ne_110m_land" )) {
40
- dest <- tempfile()
41
- download.file(" https://www.naturalearthdata.com/http//www.naturalearthdata.com/download /110m/physical/ne_110m_land.zip" ,
42
- dest , mode = " wb" )
43
- unzip(dest , exdir = " data/Global/Boundaries/ne_110m_land" )
40
+ dest <- tempfile()
41
+ download.file(" https://naciscdn.org/naturalearth /110m/physical/ne_110m_land.zip" ,
42
+ dest , mode = " wb" )
43
+ unzip(dest , exdir = " data/Global/Boundaries/ne_110m_land" )
44
44
}
0 commit comments