mwort / m.swim

GRASS 7 SWIM preprocessor
MIT License
6 stars 2 forks source link

Problem with m.swim.substats catchment_id #7

Open tpilz opened 1 year ago

tpilz commented 1 year ago

Grass vector subbasins created by m.swim.subbasins contains column catchmentID but m.swim.substats tries to create a new column based on input catchment_id by calculating averages of catchment_id (catchment raster) for each subbasin. In cases where subbasins and catchments do not fit exactly (e.g. due to cleaning) this introduces artificial catchment IDs that do not exist.