A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://r-spatial.github.io/rgee/reference/local_to_gcs.html below:

Upload local files to Google Cloud Storage — local_to_gcs • rgee

Upload images or tables to Google Cloud Storage

local_to_gcs(x, bucket = NULL, predefinedAcl = "bucketLevel", quiet = FALSE)
Arguments
x

Character. filename.

bucket

bucket name you are uploading to

predefinedAcl

Specify user access to object. Passed to googleCloudStorageR::gcs_upload.

quiet

Logical. Suppress info message.

Value

Character that represents the full path of the object in the GCS bucket specified.

Examples
if (FALSE) { # \dontrun{
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')
} # }

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4