Skip to content

bandNames getting corrupted #37

@zackarno

Description

@zackarno

Seems a new issue has popped up- will try to look for the solution and make a hotfix and test.

library(rgee)
library(tidyrgee)

ee_Initialize()
#> -- rgee 1.1.2.9000 ---------------------------------- earthengine-api 0.1.325 -- 
#>  v user: not_defined
#>  v Initializing Google Earth Engine: v Initializing Google Earth Engine:  DONE!
#>  v Earth Engine account: users/zackarno 
#> --------------------------------------------------------------------------------


gldas <- ee$ImageCollection("NASA/GLDAS/V021/NOAH/G025/T3H")
sm <- gldas$select("SoilMoi0_10cm_inst")
sm_2004_2009_mean <- sm$filterDate("2004-01-01","2009-12-31")$mean()
sm_2004_2009_mean$bandNames()$getInfo()
#> [1] "SoilMoi0_10cm_inst"

sm_2004_2009_mean_tidy<- as_tidyee(sm) |> 
  filter(year %in% c(2004:2009)) |> 
  summarise(stat="mean") 

# here we get the error
sm_2004_2009_mean_tidy$ee_ob$bandNames()$getInfo()
#> Error in py_call_impl(callable, dots$args, dots$keywords): ee.ee_exception.EEException: User memory limit exceeded.

Created on 2022-09-29 by the reprex package (v2.0.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions