Gee error syntaxerror: unexpected token (28:9)

CSDN Q & A 2022-05-15 04:52:17 阅读数:427

geeerrorsyntaxerrorunexpectedtoken
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 ,

img

My solution ideas and tried methods

At a loss

What I want to achieve

Run smoothly
thank you !




Take the answer :

It's solved ,27 Yes / It's redundant , Excuse me !


版权声明:本文为[CSDN Q & A]所创,转载请带上原文链接,感谢。 https://primo.wiki/2022/135/202205142111371312.html