Open ctlamb opened 1 year ago
@ctlamb The Daymet dataset is not an image, nor does it contain a band "elevation." You can read more about this ImageCollection here: https://developers.google.com/earth-engine/datasets/catalog/NASA_ORNL_DAYMET_V4#bands
library(rgee)
ee_Initialize()
roi <- ee$Geometry$Point(c(-122.2575, 37.8795)) %>%
ee$Geometry$buffer(10000)
dem <- ee$
ImageCollection("NASA/ORNL/DAYMET_V4")$
filterBounds(roi)$first()
print(dem$getInfo())
Map$centerObject(roi, zoom = 2)
Map$addLayer(dem, visParams = list(bands = "swe", min = 0, max = 300,
palette = c("lightblue", 'navy', 'purple')))
arch aarch64
os darwin20
system aarch64, darwin20
status Patched
major 4
minor 2.0
year 2022
month 04
day 28
svn rev 82285
language R
version.string R version 4.2.0 Patched (2022-04-28 r82285) nickname Vigorous Calisthenics
At submit an issue, please attached the following information of your
rgee
session:usage: earthengine [-h] [--ee_config EE_CONFIG] [--service_account_file SERVICE_ACCOUNT_FILE] [--project PROJECT_OVERRIDE] {authenticate,acl,asset,cp,create,ls,licenses,du,mv,model,rm,set_project,task,unset_project,upload,upload_manifest,upload_table_manifest} ...
Earth Engine Command Line Interface.
options: -h, --help show this help message and exit --ee_config EE_CONFIG Path to the earthengine configuration file. Defaults to "~/.config/earthengine/credentials". --service_account_file SERVICE_ACCOUNT_FILE Path to a service account credentialsfile. Overrides any ee_config if specified. --project PROJECT_OVERRIDE Specifies a Google Cloud Platform Project id to override the call.
Commands: {authenticate,acl,asset,cp,create,ls,licenses,du,mv,model,rm,set_project,task,unset_project,upload,upload_manifest,upload_table_manifest} authenticate Prompts the user to authorize access to Earth Engine via OAuth2. acl Prints or updates the access control list of the specified asset. asset Prints or updates metadata associated with an Earth Engine asset. cp Creates a new Earth Engine asset as a copy of another asset. create Creates assets and folders. ls Prints the contents of a folder or collection. licenses Prints the name and license of all third party dependencies. du Prints the size and names of all items in a given folder or collection. mv Moves or renames an Earth Engine asset. model TensorFlow model related commands. rm Deletes the specified assets. set_project Sets the default user project to be used for all API calls. task Prints information about or manages long-running tasks. unset_project UnSets the default user project to be used for all API calls. upload Uploads assets to Earth Engine. upload_manifest Uploads an image to Earth Engine using the given manifest file. upload_table_manifest Uploads a table to Earth Engine using the given manifest file. -ne
Attach your Python (reticulate) configuration:
Description
Just trying to download a DEM, and can't get it to work.
What I Did