mdbartos / pysheds

:earth_americas: Simple and fast watershed delineation in python.
GNU General Public License v3.0
706 stars 191 forks source link

Accumulation output array of 1's #131

Closed joeshuttleworth closed 2 years ago

joeshuttleworth commented 4 years ago

When I am trying to run the grid.accumilation step I end up with an array of only 1's.

Raster([[1, 1, 1, ..., 1, 1, 1], [1, 1, 1, ..., 1, 1, 1], [1, 1, 1, ..., 1, 1, 1], ..., [1, 1, 1, ..., 1, 1, 1], [1, 1, 1, ..., 1, 1, 1], [1, 1, 1, ..., 1, 1, 1]])

flowdir runs fine in the previous step.

Is this a known issue/ is there something obvious I am doing wrong?

joeshuttleworth commented 4 years ago

Ignore me... problem solved

deeptimahesh commented 3 years ago

@joeshuttleworth Hey! Can you tell me how exactly you solved this? I'm running into the same output as well and my catchment is an array of 0s.

bmalbusca commented 3 years ago

Hi @deeptimahesh See issue 113 and issue 92