I want to get the precipitation totals for certain months, but when I run it on the WorldClim Climatology V1 dataset, I get the following error message. how can i fix this?
Error message:
Precipitation: Layer error: Image.select: Pattern 'prec' did not match any bands.
Here is the link: https://code.earthengine.google.com/6cb56709133460613b28eadd98992e6a
var dataset = ee.ImageCollection('WORLDCLIM/V1/MONTHLY')
.filter(ee.Filter.calendarRange(2013,2021,'year'))
.filter(ee.Filter.calendarRange(5,10,'month'))
.sum() ;
var precipitation = dataset.select('prec');
var precipitationVis = {
min: 0.0,
max: 200.0,
palette: ['001137', '0aab1e', 'e7eb05', 'ff4a2d', 'e90000'],
};
Map.setCenter(17.93, 7.71, 2);
Map.addLayer(precipitation, precipitationVis, 'Precipitation');
Export.image.toDrive({
image: precipitation.int(),
description: "Annualrainfall_",
region: antalya,
maxPixels: 1e13,
});
print(dataset);