We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rgee
earthengine -h
library(rgee) ee_path <- path.expand("~/.config/earthengine/credentials") file.exists(ee_path)
library(rgee) # Initialize the Earth Engine module. ee_Initialize() # Print metadata for a DEM dataset. print(ee$Image('USGS/SRTMGL1_003')$getInfo())
Attach your Python (reticulate) configuration:
library(reticulate) py_config()
3.11.5
ee_check_gcloud() currently works only for linux systems, not Windows.
suggested changes to function
ee_check_gcloud <- function() { sysinf <- Sys.info() if (sysinf[["sysname"]] == "Windows") { return <- system("gcloud --help", intern = FALSE, ignore.stdout = TRUE) if (return != 0) { stop("gcloud failed [os.system('gcloud --help')]. Please check\n for any errors above and install gcloud if needed ", "(https://cloud.google.com/sdk/docs/install).") } else { cat("gcloud installed and accessible on the comand line.\n") } } else { #Linux os <- reticulate::import("os") return <- os$system( "gcloud --help > /dev/null 2>&1" ) if (return != 0) { stop( "gcloud failed [os.system('gcloud --help')]. Please check for any errors above and install gcloud if needed ", "(https://cloud.google.com/sdk/docs/install)." ) } else { cat("gcloud installed and accessible on the comand line.\n") } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At submit an issue, please attached the following information of your
rgee
session:Attach your Python (reticulate) configuration:
library(reticulate) py_config()
3.11.5
Description
ee_check_gcloud() currently works only for linux systems, not Windows.
What I Did
suggested changes to function
The text was updated successfully, but these errors were encountered: