TransWikia.com

How to calculate mean of one band of an image in rgee (R package for interacting with GEE) without exceeding memory limits?

Geographic Information Systems Asked by user181095 on May 4, 2021

I am calculating the means of an image that I’ve previously done calculations on but I am exceeding EE memory limits: "Error in py_call_impl(callable, dots$args, dots$keywords) :
EEException: User memory limit exceeded."

Is there a more efficient way to calculate the mean?

means1 = image$reduceRegion(
  reducer=ee$Reducer$mean(),
  geometry=shp$geometry(),
  scale= 10,
  maxPixels= 1e9)
print(means1$getInfo())

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP