grass icon indicating copy to clipboard operation
grass copied to clipboard

Different basins raster output when running multipleflow or singleflow on jupyter notebook ( grass 8.4 dev version)

Open rengifoo opened this issue 1 year ago • 0 comments

Hei Guys ! First of all a big thanks for implementing the jupyter notebook for grass gis. These days I have been experimenting with it and realized that the basin raster output differs quite a lot depending on which algorithm I am using. I tested it and is the same behavior within grass gis. I am unsure if it is an issue of grass gis or an issue on how grass gis interacts with jupyter. Below is the command I use to run the r.watershed module within jupyter notebook.

single flow !r.watershed -sab --overwrite elevation=Romerike threshold=100000 basin=basin100k accumulation=flowacc100k drainage=flowdir100k stream=stream100k spi=spi100k multiple flow !r.watershed -ab --overwrite elevation=Romerike threshold=100000 basin=basin100k accumulation=flowacc100k drainage=flowdir100k stream=stream100k spi=spi100k

This behavior is not present in GRASS GIS 8.2. So I guess is an issue of GRASS GIS and not jupyter notebook

Images available here: https://github.com/ncsu-geoforall-lab/GIS714-assignments/issues/31

Hope to get some hints

Thanks in advance! best regards Rengifo Ortega

rengifoo avatar Jun 05 '23 10:06 rengifoo