winGrass 7 r.watershed bugs

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

winGrass 7 r.watershed bugs

Hanan Karam

Hi everyone,

 

I’ve been using GRASS for a couple months now on a Windows platform.  I use it for hydrological modelling.  I started with WinGrass 6.4.3RC2 and then decided to try out WinGrass7 (SVN nightly winGRASS 7 experimental build downloaded on February 23 2013)

 

r.watershed worked well in WinGrass 6.4.3RC2, but it seems to have the following bugs in WinGrass 7.  Any information on these bugs would be appreciated:

1) output flow accumulation map is actually a drainage direction map

2) no output of flow accumulation map

(streams and basins output maps are fine)

 

The command I used is:

r.watershed -m elevation=DEMmap threshold=4000 accumulation=ACCmap drainage=DRAINDIRmap basin=BASINmap stream=STREAMmap

 

And the output was:

SECTION 1 beginning: Initiating Variables. 5 sections total.

SECTION 1a: Mark masked and NULL cells

SECTION 1b: Determining Offmap Flow.

SECTION 2: A* Search.

SECTION 3a: Accumulating Surface Flow with MFD.

SECTION 3b: Adjusting drainage directions.

SECTION 4: Watershed determination.

SECTION 5: Closing Maps.

Closing stream segments map

Closing basins map

Closing accumulation map

Closing flow direction map

WARNING: category information for [DRAINDIRmap] in [HNK2] missing or invalid

 

Results:  Basin and Stream maps are good.  No drainage direction map was output. The output flow accumulation map turned out to be a drainage direction map. 

 

Cheers,

Hanan

 

 

 

 

Hanan Karam
Consultant

-------------------------------------
ESI: The UK’s leading independent scientific environmental consultancy specialising in water, land and sustainable development.

 

T: +44 (0) 1743 276100 

E: [hidden email]| W: http://www.esinternational.com

ESI Ltd, New Zealand House, 160 Abbey Foregate, Shrewsbury, SY2 6FD

 

SHREWSBURY | LONDON | READING | CARDIFF

 

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. They may also be legally privileged. If you have received this email in error please notify us immediately by reply and destroy any copies.  ESI Ltd. is registered in England & Wales under registration number 3212832.

 



This message has been scanned for malware by Websense. www.websense.com


_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows
Reply | Threaded
Open this post in threaded view
|

Re: winGrass 7 r.watershed bugs

Markus Neteler
Hanan,

the lack of answer here (sorry about this) is another indicator for me
that this list
should be merged into grass-user.

I suggested this some time ago:
http://lists.osgeo.org/pipermail/grass-windows/2013-January/002338.html

and would actually proceed in the next days. I'll formally inform the
GRASS-PSC about it, so far only positive feedback arrived.

Markus

PS: In your case let me suggest to you to open a ticket on this:
http://grass.osgeo.org/development/bug-tracking/


On Mon, Mar 18, 2013 at 7:00 PM, Hanan Karam
<[hidden email]> wrote:

> Hi everyone,
>
> I’ve been using GRASS for a couple months now on a Windows platform.  I use
> it for hydrological modelling.  I started with WinGrass 6.4.3RC2 and then
> decided to try out WinGrass7 (SVN nightly winGRASS 7 experimental build
> downloaded on February 23 2013)
>
>
>
> r.watershed worked well in WinGrass 6.4.3RC2, but it seems to have the
> following bugs in WinGrass 7.  Any information on these bugs would be
> appreciated:
>
> 1) output flow accumulation map is actually a drainage direction map
>
> 2) no output of flow accumulation map
>
> (streams and basins output maps are fine)
...
> _______________________________________________
> grass-windows mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/grass-windows
>
_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows
Reply | Threaded
Open this post in threaded view
|

Re: winGrass 7 r.watershed bugs

Markus Neteler
In reply to this post by Hanan Karam
On Mon, Mar 18, 2013 at 7:00 PM, Hanan Karam
<[hidden email]> wrote:

> Hi everyone,
>
> I’ve been using GRASS for a couple months now on a Windows platform.  I use
> it for hydrological modelling.  I started with WinGrass 6.4.3RC2 and then
> decided to try out WinGrass7 (SVN nightly winGRASS 7 experimental build
> downloaded on February 23 2013)
>
> r.watershed worked well in WinGrass 6.4.3RC2, but it seems to have the
> following bugs in WinGrass 7.  Any information on these bugs would be
> appreciated:
>
> 1) output flow accumulation map is actually a drainage direction map
>
> 2) no output of flow accumulation map
> (streams and basins output maps are fine)

there were recent bugfixes in r.watershed in GRASS 7, could you try with a
new winGRASS snapshot?

Markus
_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows
Reply | Threaded
Open this post in threaded view
|

Re: winGrass 7 r.watershed bugs

Markus Neteler
Hi Hanan,

apparently fixed:

On Fri, Mar 22, 2013 at 6:44 PM, Markus Metz
<[hidden email]> wrote:
>
> Oops, fixed in r55498.
>
> +1 for merging the lists, then I would have fixed it earlier...
>
> Markus M


Best
markusN
_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows