Description Usage Arguments Value Examples
Upload images or tables into Google Cloud Storage for EE asset ingestion tasks.
1 | local_to_gcs(x, bucket = NULL, quiet = FALSE)
|
x |
Character. filename. |
bucket |
bucket name you are uploading to |
quiet |
Logical. Suppress info message. |
Character which represents the full name of the object in the GCS bucket specified.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
library(rgee)
library(stars)
ee_reattach()
# Initialize a specific Earth Engine account and
# Google Cloud Storage credentials
ee_Initialize(
email = "data.colec.fbf@gmail.com",
gcs = TRUE
)
# Define an image.
tif <- system.file("tif/L7_ETMs.tif", package = "stars")
local_to_gcs(x = tif, bucket = 'rgee_dev')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.