mdbartos / pysheds

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

wrong variable name in _set_dirmap #74

Closed itati01 closed 5 years ago

itati01 commented 5 years ago

Hi @mdbartos, In _set_dirmap() you refer to an unexisting variable name direction_name in raise KeyError("{0} not found in grid instance".format(direction_name)). Would it be data, instead?

mdbartos commented 5 years ago

Yes, that is correct. Thanks for finding these bugs!

mdbartos commented 5 years ago

Resolved in #73