dustming / basinmaker

An automated GIS toolbox for watershed delineation with lakes
Artistic License 2.0
24 stars 6 forks source link

Grass 82 error #16

Closed Scriptbash closed 1 year ago

Scriptbash commented 1 year ago

Hi Ming,

Using GRASS 8.2.1 (current latest version) gives an error message when trying to delineate a watershed from a DEM. Here are the error messages:

Cannot create: /root/BasinMaker/bm_tmp/grassdb/main_working_location/PERMANENT with the following options: . Executing: grass -c -e /root/BasinMaker/bm_tmp/grassdb/main_working_location/PERMANENT GRASS said: "Starting GRASS GIS...\nERROR: Mapset </root/BasinMaker/bm_tmp/grassdb/main_working_location/PERMANENT> already exists.\nExiting..."

Even if I delete the "bm_tmp" folder, the error comes back. I think it happens since GRASS 8.0, but I'm not 100% sure. The BasinMaker version is 3.0.3. Let me know if you need more details!

dustming commented 1 year ago

Hi @Scriptbash, I will test it in next week—many thanks for sharing the error message.

dustming commented 1 year ago

Hi @Scriptbash , I tried to install grass 82 via OSGEO4W and test basinmaker with GRASS82, but it requires more time than I expected. Is it possible for us to stay with GRASS 78 for now?

Scriptbash commented 1 year ago

Hi Ming, yes no problem! Currently the GRASS functions used by BasinMaker hang inside a Docker container on the new Mac models, so I just wanted to see if GRASS82 would fix it. The tools hanging are not a BasinMaker problem though so don't worry about it! There's really no rush, GRASS78 is working well with all other computers so I can stick with it :)

Thanks for looking into it!

dustming commented 1 year ago

Worked with GRASS78, we will test GRASS8 Later