rchlumsk / RavenR

R package for handling Raven hydrologic modelling framework inputs, outputs, and diagnostics
36 stars 16 forks source link

rvn_rvh_cleanhrus will merge and reduce an HRU each iteration #42

Closed rchlumsk closed 4 years ago

rchlumsk commented 4 years ago

The rvn_rvh_cleanhrus function seems to remove one HRU in each iteration, regardless of the characteristics and without preserving the total area. Needs fixing. Can loop the example in the funciton until all HRUs are removed.

rchlumsk commented 4 years ago

Fixed with latest commit (to be submitted shortly), was caused by error in the merge loop.