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
  • Thats bad. Thanks for ponting out.
    – L.J.E.
    Commented Jan 22, 2022 at 19:49
  • Is there any alternative?
    – L.J.E.
    Commented Jan 22, 2022 at 19:49
  • 1
    You could take a look at the precipitation datasets already available in GEE to see if there's one that fits your requirements: developers.google.com/earth-engine/datasets/tags/precipitation. My first thought was using TRMM as an alternative, but it has the same global coverage as CHIRPS. Commented Jan 22, 2022 at 20:11

Your Answer

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

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