You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @csaybar great work as always! I noticed a few things when I started working with the package in regards to the Readme and thought I'd give a shout. Just a few things with the example. So nice to be able to index now and use the operators! Take care.
library(rgee)
library(rgeeExtra) #add library call
ee_Initialize()
img <- ee$Image("LANDSAT/LC08/C01/T1_SR/LC08_038029_20180810")
ndvi <- (img[["B5"]] - img[["B4"]])/(img[["B5"]] + img[["B4"]])**2
names(ndvi) <- "pow_ndvi"
# here just add ndvi instead of image and also some visParams for the image with power.
Map$centerObject(ndvi,zoom=12)
Map$addLayer(ndvi, visParams = list(min = -0.001, max = 0.001)
The text was updated successfully, but these errors were encountered:
Hey @csaybar great work as always! I noticed a few things when I started working with the package in regards to the Readme and thought I'd give a shout. Just a few things with the example. So nice to be able to index now and use the operators! Take care.
potential edits
The text was updated successfully, but these errors were encountered: