1

I want to load Precipitaion Data for my region. But when I ran the code, just the global South beneath Germany appears. Can you help?

https://code.earthengine.google.com/?accept_repo=users/laraemsinghoff/Start

var styling2 = {color: 'red', fillColor: '00000000'};
Map.addLayer (Westfalen.style(styling2));
Map.centerObject (Westfalen)

var dataset = ee.ImageCollection('UCSB-CHG/CHIRPS/DAILY')
                  .filter(ee.Filter.date('2018-03-01', '2021-10-01'))
                  .filterBounds (Westfalen);
var precipitation = dataset.select('precipitation');
var precipitationVis = {
  min: 1.0,
  max: 17.0,
  palette: ['001137', '0aab1e', 'e7eb05', 'ff4a2d', 'e90000'],
};

Map.addLayer(precipitation, precipitationVis, 'Precipitation');
2

1 Answer 1

3

According to the reference that appears in the citations tab of the CHIRPS dataset (https://www.nature.com/articles/sdata201566), the data is "quasi-global (50°S-50°N)", so that is the reason why there is no data north of 50°N.

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.