mdbartos / pysheds

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

how to calculate the HAND #197

Open cirrusasf opened 2 years ago

cirrusasf commented 2 years ago

I wan to calculate the HAND of the dem defined by a hybas file. The hybas file have many basins in it. I get the dem file which cover the hybas vector file. I use two different ways to calculate the HAND. Method 1: I calculate the HAND based on the the envelop of the hybas vector file. Method 2: I loop over each basin to calculate the HAND and combine them together to get the HAND. The results are different. I want to know which method is correct. Thank you!