Description Usage Arguments Value
View source: R/sentinel_select.R
Requires a registred Copernicus SciHub account (https://scihub.copernicus.eu/) Uses the package getSpatialData to query and download images.
1 2 3 4 5 6 7 8 9 10 11 12 13 | sentinel_query(
start_date,
end_date,
aoi,
download_path = "./",
login,
pw,
platform,
product,
sensor_id,
cloud_percentage,
tile_id = NULL
)
|
start_date |
intial date in the format yyyy-mm-dd (e.g. 2018-01-01) |
end_date |
final date in the format yyyy-mm-dd (e.g. 2018-12-01) |
aoi |
a shapefile with the area to be sampled |
download_path |
path for the folder where the images should be downloaded |
login |
user name for the Copernicus SciHub account |
pw |
password for the Copernicus SciHub account |
platform |
Choice of Satellite (Sentinel-1, Sentinel-2, Sentinel-3) |
product |
Choice of product type (L1C, L2Ap and L2A available) |
sensor_id |
code to select both satellites (S2), only satellite A (S2A) and only satellite B (S2B) |
cloud_percentage |
parameter to exclude images that have less than the percentage of clouds defined in this parameter. Only works in L2 products. |
tile_id |
to select the tile code if needed |
A dataframe with the list of files avilable for potential download
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.