ee-getstac | R Documentation |
Get the STAC of an ee$Image or ee$ImageCollection object.
`ee$Image$Extra_getSTAC(x)`
`ee$ImageCollection$Extra_getSTAC(x)`
x |
An ee$Image or an ee$ImageCollection object. |
Return STAC metadata for each band.
## Not run:
library(rgee)
library(rgeeExtra)
ee_Initialize()
extra_Initialize()
# Retrieve STAC metadata for the first image in NASA's GPM L3 IMERG V06 collection
stac_metadata <- ee$ImageCollection("NASA/GPM_L3/IMERG_V06")[[1]] %>%
ee$Image$Extra_getSTAC()
stac_metadata
# Retrieve STAC metadata from NASA's IMERG V06 image collection.
stac_metadata_ <- ee$ImageCollection("NASA/GPM_L3/IMERG_V06") %>%
ee$ImageCollection$Extra_getSTAC()
stac_metadata_
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.