senSearch | R Documentation |
senSearch
searches Sentinel images through ESA's powered application
programming interface (API), called
‘SciHub’, that concern a particular
location and date interval. The function returns a data.frame
with
the names of the images and their uniform resource locators (URLs).
senSearch(username, password, ...)
username |
ESA’s ‘SciHub’ username. |
password |
ESA’s ‘SciHub’ password. |
... |
arguments for nested functions:
|
senSearch
uses the
ESA's powered API (‘SciHub’).The catalogue
of Sentinel-2 products can be found
here.
The function explores the images available for a specific location and
time-span. Dates must be provided as Date
class objects. Credentials
from ESA’s ‘SciHub’ are needed and they can be obtained
here.
## Not run: # load a spatial polygon object of Navarre data(ex.navarre) # perform the search query sres <- senSearch(startDate = as.Date("2018210", "%Y%j"), endDate = as.Date("2018218", "%Y%j"), platform = "Sentinel-2", region = ex.navarre, product = "S2MSI1C", username = "username", password = "password") head(sres) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.