get_records | R Documentation |
get_records
queries a service for available records using basic input search parameters such as product name (see get_products
), AOI and time range. The function returns a data frame of records that can be further filtered and that other getSpatialData
functions use as input.
get_records( time_range, products, aoi = NULL, as_sf = TRUE, rename_cols = TRUE, check_products = TRUE, simplify_cols = TRUE, ..., verbose = TRUE ) getSentinel_records( time_range, products, aoi = NULL, as_sf = TRUE, rename_cols = TRUE, check_products = TRUE, simplify_cols = TRUE, ..., verbose = TRUE ) getLandsat_records( time_range, products, aoi = NULL, as_sf = TRUE, rename_cols = TRUE, check_products = TRUE, simplify_cols = TRUE, ..., verbose = TRUE ) getMODIS_records( time_range, products, aoi = NULL, as_sf = TRUE, rename_cols = TRUE, check_products = TRUE, simplify_cols = TRUE, ..., verbose = TRUE ) getSRTM_records( time_range, products, aoi = NULL, as_sf = TRUE, rename_cols = TRUE, check_products = TRUE, simplify_cols = TRUE, ..., verbose = TRUE )
time_range |
character, a vector of two elements: the query's starting date and stopping date, formatted "YYYY-MM-DD", e.g. |
products |
character, product name(s). Use |
aoi |
sfc_POLYGON or SpatialPolygons or matrix, representing a single multi-point (at least three points) polygon of your area-of-interest (AOI). If it is a matrix, it has to have two columns (longitude and latitude) and at least three rows (each row representing one corner coordinate). If its projection is not |
as_sf |
logical, whether records should be returned as |
rename_cols |
logical, whether to rename columns to a product-independent standard to make it possible to combine records of different products received from different sources. |
check_products |
logical, check whether product names ( |
simplify_cols |
logical, whether to simplify the returned records table by removing fields that are not standard across different products. |
... |
additional, sensor-specific arguments:
|
verbose |
logical, whether to display details on the function's progress or output on the console. |
To use these functions, you need to be logged in at the required services: To query Sentinel records, login with your ESA Copernicus Open Access Hub credentials using login_CopHub. To query MODIS and Landsat records, login with your USGS EROS Registration System (ERS) credentials using login_USGS. See login
for details.
A data frame of records (by default an sf
data frame, see argument as_sf
). Each row represents one record. The data frame can be further filtered by its columnwise attributes or plotted to view their spatial footprints. The records data frame can be used as input to other getSpatialData
functions.
GNSS products (such as "sentinel-1_gnss") retrieved from the dual-frequency GPS recievers mounted on Sentinel-1, -2, and -3 represent a special type of product, as they are AOI-independent and thus only referenced by mission time (argument time_range
). GNSS data originally have been used only to precisely calculate the satellites' orbits, but then have been released to the scientific public due to their potential scientifc uses (for details, see https://earth.esa.int/web/sentinel/missions/sentinel-3/news/-/article/new-gnss-l1b-rinex-data-release-for-sentinel-1-2-and-3 and https://earth.esa.int/documents/247904/351187/GMES_Sentinels_POD_Service_File_Format_Specification).
Jakob Schwalb-Willmann
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.