pa_browse_dataspace: Browse satellite products from the Copernicus Data Space...

View source: R/dataspace.R

pa_browse_dataspaceR Documentation

Browse satellite products from the Copernicus Data Space Ecosystem

Description

Browse satellite products from the Copernicus Data Space Ecosystem

Usage

pa_browse_dataspace(
  aoi,
  start.date,
  end.date,
  max.cloud.cover = 100,
  collection.name = c("SENTINEL-2"),
  product.name = c("MSIL2A"),
  max.results = 1000
)

Arguments

aoi

sf object used to filter satellite products

start.date

beginning of the time window to filter satellite products. The date format should be '%Y-%m-%d'.

end.date

end of the time window to filter satellite products. The date format should be '%Y-%m-%d'.

max.cloud.cover

maximum cloud cover. Values should be between 0 and 100. Images with cloud cover assessment greater than this parameter will be removed from the list.

collection.name

collection of products to filter. Currently, only SENTINEL-2 is supported.

product.name

partial match of product name used to filter products. Currently, only supports MSIL2A. We plan to expand this in the future.

max.results

maximum number of results to return

Details

'pa_browse_dataspace()' will use HTTP requests to communicate with the Data Space API and search for available satellite products matching the filters established by the function parameters.

Value

a list of entries available for download

Author(s)

Caio dos Santos and Fernando Miguez

Examples

## Not run: 
extd.dir <- system.file("extdata", package = "pacu")
area.of.interest <- sf::st_read(file.path(extd.dir, 'cobs_a_aoi.shp'), quiet = TRUE)
available.images <- pa_browse_dataspace(aoi = area.of.interest,
                                        max.cloud.cover = 10,
                                        start.date = '2023-01-01',
                                        end.date = '2023-12-31')

## End(Not run)


pacu documentation built on June 8, 2025, 10:44 a.m.