From the following NDVI collection, I want to keep only the observations with Good Quality (equal to zero). I try to do this with the SummaryQA but I get "Pattern 'SummaryQA' did not match any bands". My attempt:
var geometry = /* color: #0b4a8b */ee.Geometry.Polygon(
[[[110.49279650854476, 39.617434795765476],
[111.02014025854476, 36.57484614339866],
[117.48010119604476, 36.92695433193529],
[117.43615588354476, 40.35816406661026]]]),modis =ee.ImageCollection("MODIS/006/MOD13Q1")
.filterBounds(geometry)
.map(function(image){return image.clip(geometry)})
.filter(ee.Filter.calendarRange(4,7,'month'));
var modisNDVI = modis.select("NDVI");
var maskQA = function(image) {
return image.updateMask(image.select("SummaryQA").eq(0));
};
var best = modisNDVI.map(maskQA)
print(best)