Calls geedim
Initialize()
method. This method should be called at the beginning of each session.
gd_initialize(
private_key_file = NULL,
credentials = "persistent",
cloud_api_key = NULL,
url = "https://earthengine-highvolume.googleapis.com",
opt_url = NULL,
http_transport = NULL,
project = NULL,
quiet = TRUE
)
gd_is_initialized(...)
character. Optional: Path to JSON file containing client information and private key. Alternately, the contents of a JSON file. Instead of setting this argument you may specify EE_SERVICE_ACC_PRIVATE_KEY
environment variable with path to JSON file.
Default: 'persistent'
uses credentials already stored in the filesystem, or raise an explanatory exception guiding the user to create those credentials.
An optional API key to use the Cloud API. Default: NULL
.
The base url for the EarthEngine REST API to connect to. Defaults to "High Volume" endpoint: "https://earthengine-highvolume.googleapis.com"
(deprecated) Use url
.
The HTTP transport method to use when making requests. Default: NULL
The client project ID or number to use when making API calls. Default: NULL
Suppress error messages on load? Default: FALSE
Additional arguments passed to gd_initialize()
gd_initialize()
: try-error (invisibly) on error.
gd_is_initialized()
: logical. TRUE
if initialized successfully.
if (FALSE) {
gd_initialize()
}
gd_is_initialized()
#> [1] FALSE