I want to perform a seasonal analysis of the MODIS NDVI dataset in GEE. I want to analyse for every year the months from May to September and thus, I need to remove the rest of the months from the dataset for every year. I have no idea how to do this. I have found this post but this is just for one image for a year.

Any ideas?

1 Answer 1


You can use calendarRange to filter the whole collection and only keep images from May to September (inclusive).

var ModisMaySept = ee.ImageCollection('MODIS/MOD13A1')


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.