-conda install earthengine-api=0.1.370
-rgee: 0.1.7
knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
You can install the development version of rgee2 from GitHub with:
# install.packages("remotes") remotes::install_github("rpkgs/rgee2")
网络设置详见:网络设置.md
This is a basic example which shows you how to solve a common problem:
library(rgee2) library(rgee) ee_Initialize(drive = TRUE)
# bands = c('T', "Tdew", 'Pa', 'Rn', 'ET', 'U2') year = 2020 month = 1 col <- ee$ImageCollection("ECMWF/ERA5_LAND/HOURLY")$ filter(ee$filter$Filter$calendarRange(year, year, "year"))$ filter(ee$filter$Filter$calendarRange(month, month, "month"))$ select(0:4) # print(col) img = col$first() print(img)
ee_timestart(col) %>% head() ee_timeend(col) %>% head() ee_bandNames(col) ee_bandNames(img) ee_properties(col) ee_aggregate_array(col, prop = "system:index")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.