Description Usage Arguments Note Author(s) Examples
View source: R/product_download.R
The function downloads product. (the content must be a URL, and the name the product name).
1 2 3 4 |
spatial_extent |
Spatiam extent |
tile |
Tile |
orbit |
Orbit |
time_interval |
Time interval |
time_period |
Time period |
level |
Level |
platform |
Platform |
maxcloud |
Max cloud cover |
collection |
Collection |
api |
Path of the 'api.txt' file containing credentials of cnes account. If NA (default) the default credentials |
writedir |
Write dir (username 'user', password 'user') will be used. |
License: GPL 3.0
Pascal Obstetar, (2019) pascal.obstetar@gmail.com
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# Download the whole product
product_download(prodlist, outdir = tempdir())
# Download a serie of products
pos <- st_sfc(st_point(c(12.0, 44.8)), crs = st_crs(4326))
time_window <- as.Date(c("2017-05-01", "2017-07-30"))
example_theia_list <- s2_list(spatial_extent = pos, time_interval = time_window)
product_download(example_theia_list, outdir = tempdir())
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.