GEE Monthly precipitation calculation
// Image processing and filtering , Here you need to select and add the image data you want to use var annualPrecip = ee.ImageCollection.fromImages( years.map(function (year) { var annual = chirps/ .filter(ee.Filter.calendarRange(2015,2021,'2015-2021'))( There is an error in this line ) .sum(); return annual .set('year', year) .set('system:time_start', ee.Date.fromYMD(year, 1, 1));}));
Operation results and error reporting contents
SyntaxError: Unexpected token (28:9)
Put the mouse on X here ,
My solution ideas and tried methods
At a loss
What I want to achieve
Run smoothly
thank you !