Upload images or tables to Google Cloud Storage
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 path of the object in the GCS bucket specified.
if (FALSE) { library(rgee) library(stars) # Initialize a specific Earth Engine account and # Google Cloud Storage credentials ee_Initialize(gcs = TRUE) # # Define an image. # tif <- system.file("tif/L7_ETMs.tif", package = "stars") # local_to_gcs(x = tif, bucket = 'rgee_dev') }