Open zackarno opened 2 years ago
Something else I noticed - the issue seems to be occurring in this code (inside summarise_pixels
)
tidyee_output <- .data |>
group_split() |>
purrr::map(
~ee_composite(
.x |>
group_by(!!!rlang::syms(group_vars_chr)),
stat=stat)
) |>
bind_ics()
It seems like it is occurring in the bind_ics()
function rather than ee_composite()
because if you remove bind_ics()
from the above you can query the list of composite_ics with getInfo()
without issues, for example:
tidyee_output <- .data |>
group_split() |>
purrr::map(
~ee_composite(
.x |>
group_by(!!!rlang::syms(group_vars_chr)),
stat=stat)
) # removed bind_ics
# no problem
tidyee_output[[1]]$ee_ob$bandNames()$getInfo()
So it seems the issue is when the ics are merged - this is also suggested by the second error message in the reprex above
When your grouping creates a huge number of groups to summarise the tidyee object over there seems to be an issue. This wont happen with typical
group_by(year) or group_by(year,month)
work flows, but can happen if you includedoy
in the grouping. I have not figured out the limit # of groups or the exact source of the problem, but the reprex below shows the issue and gets passed the first error message and onto the next.Created on 2022-08-19 by the reprex package (v2.0.1)