var reduce = img.reduceRegion(ee.Reducer.mean(), geom);

Using this code above on AVHRR NDVI imagery (with a resolution of 0.05 arc degrees), what scale should I set reduceRegion to? Scale accepts input of meters, but the resolution of this dataset is in arc degrees. Link to AVHRR NDVI metadata below:


1 Answer 1


The reduction will by default use the scale of the viewer. However, you can check the scale of the imagery with the following code, and add it to the scale parameter of reduceRegion

print (img.projection().nominalScale())

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.