Skip to content
New issue

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

problem rgeeExtra #8

Open
masspern opened this issue Mar 10, 2023 · 2 comments
Open

problem rgeeExtra #8

masspern opened this issue Mar 10, 2023 · 2 comments

Comments

@masspern
Copy link

with rgee Initialized:

library(rgee)
ee_Initialize( drive =T)

── rgee 1.1.5 ──────────────────────────────────────────────────── earthengine-api 0.1.323 ──
✔ user: not_defined
✔ Google Drive credentials: FOUND
✔ Initializing Google Earth Engine: DONE!
✔ Earth Engine account: users/xxxxxxx
────────────────────────────────────────────────────────────────────────────────
I installed remotes::install_github("r-earthengine/rgeeExtra")

everything worked fine.

but no function could be find:

>library(rgeeExtra)
> ee_ImageCollection_scaleAndOffset()
Error in ee_ImageCollection_scaleAndOffset() : 
could not find function "ee_ImageCollection_scaleAndOffset"

> ee_ImageCollection_spectralIndex()
Error in ee_ImageCollection_spectralIndex() : 
  could not find function "ee_ImageCollection_spectralIndex"

version
platform x86_64-w64-mingw32
arch x86_64
os mingw32
crt ucrt
system x86_64, mingw32
status
major 4
minor 2.2
year 2022
month 10
day 31
svn rev 83211
language R
version.string R version 4.2.2 (2022-10-31 ucrt)
nickname Innocent and Trusting

@csaybar
Copy link
Member

csaybar commented Mar 10, 2023

Hi @masspern sorry for the inconvenience, but we are in the process to make the API more stable and close to rgee. We replace the function ee_ImageCollection_spectralIndex with ee$ImageCollection$spectralIndex.

ee$ImageCollection$spectralIndex %>% ee_help() # if you already have the last rgee dev version.

@masspern
Copy link
Author

Ok, thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants