1

I am trying to downgrade the resolution of high-resolution precipitation product (DayMet) to low resolution using the solution posted here: https://gis.stackexchange.com/a/323143/33177

However, I am getting the following error:

Layer error: Image.reduceResolution: The input to reduceResolution does not have a valid default projection. Use reproject() first to set the base projection.

I have checked both the images have default projection. Here is the code

shahryar
  • 694
  • 7
  • 21

1 Answers1

3

Try to specify the scale when reprojecting.

var precipref_proj = precipref.reproject(dmProjection, null, 30).reduceResolution(...)
Daniel Wiell
  • 14,155
  • 2
  • 11
  • 29