Get remote sensing product
This function processes the extent of a predefined region of
interest (polygon geometry or GADM unit) to download remote
sensing products (RSP). Downloadable RSP include Global Surface
Water, Forest Change, and Continuous Tree Cover data. See
listGP.
getrsp(roi = NULL, ...,
lyrs = NULL, path,
verify.web = FALSE,
mc.cores = round(detectCores() *
0.6, 0))roi |
|
... |
If |
lyrs |
|
path |
|
verify.web |
|
mc.cores |
|
Downloads of Continuous Tree Cover data require user authentication through the NASA Earth data Login. To obtain a NASA Earth data Login account, please visit: https://urs.earthdata.nasa.gov/users/new.
Path names of the remote sensing products just retrieved, or
character lists suggesting GADM units/Global Products that can be
used to download rsp (see NULL defaults in arguments
'roi' and 'lyrs').
Wilson Lara Henao <wilarhen@temple.edu> [aut, cre], Victor Gutierrez-Velez [aut]
Pekel, J. F., Cottam, A., Gorelick, N., & Belward, A. S. (2016). High-resolution mapping of global surface water and its long-term changes. Nature, 540(7633), 418-422.
Hansen, M. C., Potapov, P. V., Moore, R., Hancher, M., Turubanova, S. A., Tyukavina, A., ... & Kommareddy, A. (2013). High-resolution global maps of 21st-century forest cover change. science, 342(6160), 850-853.
Sexton, J. O., Song, X. P., Feng, M., Noojipady, P., Anand, A., Huang, C., ... & Townshend, J. R. (2013). Global, 30-m resolution continuous fields of tree cover: Landsat-based rescaling of MODIS vegetation continuous fields with lidar-based estimates of error. International Journal of Digital Earth, 6(5), 427-448.
## Warnings from GDAL/PROJ are suppressed.
## A Global Surface Water layer ('seasonality') covering the extent of a
## Colombian municipality Cartagena del Chairá is retrieved:
load(system.file('cchaira_roi.RData',package = 'ecochange'))
suppressWarnings(
rsp_cchaira <- getrsp(roi = cchaira_roi,
lyrs = 'seasonality', mc.cores = 2, path = tempdir())
)
file.exists(rsp_cchaira) #TRUEPlease choose more modern alternatives, such as Google Chrome or Mozilla Firefox.