Re: [GRASS-user] Uniform random raster

2016-02-15 Thread Thomas Adams
Giuseppe,

Unless I have misunderstood, in GRASS use r.mapcalc...

First set you region for your area of interest, for example:

g.region -dp e=2614612.5 w=1423987.5 n=-4624387.5 s=-5862637.5

Then:
r.mapcalc expression="outputMap=25.4"

where 25.4 is your value of interest, and finally:

r.out.gdal input=outputMap output=outputFileName format=GTiff

Best,
Tom

On Mon, Feb 15, 2016 at 9:33 PM, Giuseppe Amatulli <
giuseppe.amatu...@gmail.com> wrote:

> Hi,
> I would like to create an uniform random raster, similar to what i would
> obtain in R with the following code
>
> raster=raster(matrix(runif(54210, max=50, min=-50, 139,390) , ...)
> writeRaster(raster,filename=random.tif",formats=GTiff,overwrite=TRUE)
>
> I read the explanation of
> https://grass.osgeo.org/grass7/manuals/r.random.surface.html
> and also r.mapcalc - random (a,b)
> but I'm not sure if one of them produce the same concept/result.
>
> Any input? or better explanation
>
> Thanks
> Best
> Giuseppe
>
> --
> Giuseppe Amatulli, Ph.D.
>
> Department of Ecology and Evolutionary Biology, Yale University.
> Jetz Lab, OML Room 405
>
> P.O. Box 208106
> 165 PROSPECT ST
> New Haven, CT 06520-8106
> Teaching: spatial-ecology.net
> Work:  http://sbsc.yale.edu/giuseppe-amatulli
> 
>
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>



-- 
Thomas E Adams, III
2330 Jack Warner PKWY, #334
Tuscaloosa, AL 35401

1 (513) 739-9512 (cell)
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] aster atmospheric correction

2016-02-15 Thread Helmut Kudrnovsky
Carlos Grohmann-2 wrote
> Hello all,
> 
> What would you recommend for atmospheric correction of ASTER images?

i.atcorr [1]?

A. Geometrical conditions
[...]
10  aster   enter month,day,hh.ddd,long.,lat. *
[...]
Pre-defined satellite bands: 
CodeMeaning
[...]
72  aster band 1 (0.480-0.645)
73  aster band 2 (0.588-0.733)
74  aster band 3N (0.723-0.913)
75  aster band 4 (1.530-1.750)
76  aster band 5 (2.103-2.285)
77  aster band 6 (2.105-2.298)
78  aster band 7 (2.200-2.393)
79  aster band 8 (2.248-2.475)
80  aster band 9 (2.295-2.538)
[...]

[1] https://grass.osgeo.org/grass70/manuals/i.atcorr.html





-
best regards
Helmut
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/aster-atmospheric-correction-tp5250486p5250659.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] GRASS GIS 7.03 for Mac OS X, problem with wxPython (missing)

2016-02-15 Thread Michael Barton
The packaging seems to have gone awry. I've been out of the country and then 
sick since returning. Once I get well enough to get to the office, I'll try and 
fix this.

Michael

C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu




On Feb 15, 2016, at 12:59 PM, 
grass-user-requ...@lists.osgeo.org 
wrote:

From: gene >
Subject: [GRASS-user] GRASS GIS 7.03 for Mac OS X, problem with wxPython 
(missing)
Date: February 15, 2016 at 11:55:37 AM MST
To: >


With the 7.0.3 version of  GRASS GIS on the Mac (M.Barton)
   I can only launch GRASS-7.0.app (7.0.3) in
text mode.

When I try to launch the App or use g.gui wxpython in the Grass shell the
error is:

"Launching  GUI in the background, please wait…
ERROR: wxGUI requires wxPython. No module named wxversion

In the 7.0.2 version, wxPython is installed in
/Applications/GRASS-7.0.app/Contents/MacOS/etc/python (wx, wxpython and
pyparsing.py and wxversion.py) and it works.

But none of these files/folders exist in the same folder of the 7.0.3
version

Compilation error ?

The size of the zip files are also different (80.19 and 83.89 for GRASS 7.01
and GRASS 7.02, 35 .12 for GRASS 7.03)

Many thanks



___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] i.spec.sam error

2016-02-15 Thread Jaya Krishnan
Thanks a ton Vero! I installed the standalone version and RStudio works :-)

Cheers

Jaya
​ 

On 15 February 2016 at 12:08, Veronica Andreo  wrote:

> Hi Jaya
>
> and have you tried installing the grass-win standalone installer from here
> [0]? Helmut says both rstudio and R work there. I removed them from my
> mum's windows pc, but I remember I tested and it worked there. Maybe worth
> a try :)
>
> Cheers,
> Vero
>
> [0] https://grass.osgeo.org/download/software/
>
> 2016-02-15 16:59 GMT-03:00 Jaya Krishnan :
>
>> Hi Vero,
>>
>> Yes, I've installed the same versions from OSGeo4w, pretty recently.
>> Neither R nor RStudio works in my case.
>>
>> Thanks,
>>
>> Jaya
>> ​ 
>>
>> On 15 February 2016 at 06:05, Veronica Andreo 
>> wrote:
>>
>>> Hello Jaya
>>>
>>> [cc Helmut]
>>>
>>> In grass 7.0.3 and grass 7.1 installed from OSGeo4w (updated just now),
>>> if in comand line i write rstudio only... no path, no extension, it works
>>> as expected... but not if I write only R... i remember both options worked
>>> before (
>>> http://osgeo-org.1560.x6.nabble.com/R-and-RStudio-in-winGRASS-testing-welcome-td5235108.html#a5236435).
>>> Maybe some further changes altered that.
>>>
>>> Cheers,
>>> Vero
>>>
>>> 2016-02-14 18:14 GMT-03:00 Jaya Krishnan :
>>>
 Thanks Sajid, but that didn't work either.

 Best,

 Jaya


 On 14 February 2016 at 02:56, Sajid Pareeth  wrote:

> Hi Jaya
>
>>
>> Sorry to bother you again. But I was thinking of using Spectral Angle
>> Mapper in RStudio's RSToolbox package as an alternative. So I followed 
>> the
>> steps at the link
>> https://grasswiki.osgeo.org/wiki/R_statistics/rgrass7#Using_RStudio_in_a_GRASS_GIS_session
>> but am unable to run RStudio at the GRASS command prompt. The error is
>> again * 'rstudio' is not recognized as an internal or external
>> command,operable program or batch file *(attaching error below).
>>
>
> Please try by entering entire path in the GRASS session instead of
> "rstudio.exe".
>
>> C:\Program Files\RStudio\bin\rstudio.exe
>>
>
>
> Regards
>
> --
> Sajid Pareeth
> https://it.linkedin.com/in/spareeth
>
>

 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user

>>>
>>>
>>
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] i.spec.sam error

2016-02-15 Thread Helmut Kudrnovsky
>Yes, I've installed the same versions from OSGeo4w, pretty recently. Neither
R nor RStudio works in my >case.

please post here your R and rstudio installation path.

tested here with 

System Info 
GRASS version: 7.0.3
GRASS SVN Revision: 67691   
Build Date: 2016-01-28  
Build Platform: x86_64-w64-mingw32  
GDAL/OGR: 1.11.3
PROJ.4: 4.9.2   
GEOS: 3.5.0 
SQLite: 3.7.17  
Python: 2.7.5   
wxPython: 2.8.12.1  
Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)

and it works.

  __  ___   _____
 / / __ \/   | / ___/ ___/   / /  _/ ___/
/ / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
   / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
   \/_/ |_/_/  |_///   \/___///

Welcome to GRASS GIS 7.0.3
GRASS GIS homepage:  http://grass.osgeo.org
This version running through:Command Shell
(C:\windows\system32\cmd.
exe)
Help is available with the command:  g.manual -i
See the licence terms with:  g.version -c
If required, restart the GUI with:   g.gui wxpython
When ready to quit enter:exit

Launching  GUI in the background, please wait...
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

C:\>R

R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> q()
Save workspace image? [y/n/c]: n

C:\>



-
best regards
Helmut
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/i-spec-sam-error-tp5250345p5250626.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] i.spec.sam error

2016-02-15 Thread Veronica Andreo
Hi Jaya

and have you tried installing the grass-win standalone installer from here
[0]? Helmut says both rstudio and R work there. I removed them from my
mum's windows pc, but I remember I tested and it worked there. Maybe worth
a try :)

Cheers,
Vero

[0] https://grass.osgeo.org/download/software/

2016-02-15 16:59 GMT-03:00 Jaya Krishnan :

> Hi Vero,
>
> Yes, I've installed the same versions from OSGeo4w, pretty recently.
> Neither R nor RStudio works in my case.
>
> Thanks,
>
> Jaya
> ​ 
>
> On 15 February 2016 at 06:05, Veronica Andreo 
> wrote:
>
>> Hello Jaya
>>
>> [cc Helmut]
>>
>> In grass 7.0.3 and grass 7.1 installed from OSGeo4w (updated just now),
>> if in comand line i write rstudio only... no path, no extension, it works
>> as expected... but not if I write only R... i remember both options worked
>> before (
>> http://osgeo-org.1560.x6.nabble.com/R-and-RStudio-in-winGRASS-testing-welcome-td5235108.html#a5236435).
>> Maybe some further changes altered that.
>>
>> Cheers,
>> Vero
>>
>> 2016-02-14 18:14 GMT-03:00 Jaya Krishnan :
>>
>>> Thanks Sajid, but that didn't work either.
>>>
>>> Best,
>>>
>>> Jaya
>>>
>>>
>>> On 14 February 2016 at 02:56, Sajid Pareeth  wrote:
>>>
 Hi Jaya

>
> Sorry to bother you again. But I was thinking of using Spectral Angle
> Mapper in RStudio's RSToolbox package as an alternative. So I followed the
> steps at the link
> https://grasswiki.osgeo.org/wiki/R_statistics/rgrass7#Using_RStudio_in_a_GRASS_GIS_session
> but am unable to run RStudio at the GRASS command prompt. The error is
> again * 'rstudio' is not recognized as an internal or external
> command,operable program or batch file *(attaching error below).
>

 Please try by entering entire path in the GRASS session instead of
 "rstudio.exe".

> C:\Program Files\RStudio\bin\rstudio.exe
>


 Regards

 --
 Sajid Pareeth
 https://it.linkedin.com/in/spareeth


>>>
>>> ___
>>> grass-user mailing list
>>> grass-user@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>>
>>
>>
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] i.spec.sam error

2016-02-15 Thread Jaya Krishnan
Hi Vero,

Yes, I've installed the same versions from OSGeo4w, pretty recently.
Neither R nor RStudio works in my case.

Thanks,

Jaya
​ 

On 15 February 2016 at 06:05, Veronica Andreo  wrote:

> Hello Jaya
>
> [cc Helmut]
>
> In grass 7.0.3 and grass 7.1 installed from OSGeo4w (updated just now), if
> in comand line i write rstudio only... no path, no extension, it works as
> expected... but not if I write only R... i remember both options worked
> before (
> http://osgeo-org.1560.x6.nabble.com/R-and-RStudio-in-winGRASS-testing-welcome-td5235108.html#a5236435).
> Maybe some further changes altered that.
>
> Cheers,
> Vero
>
> 2016-02-14 18:14 GMT-03:00 Jaya Krishnan :
>
>> Thanks Sajid, but that didn't work either.
>>
>> Best,
>>
>> Jaya
>>
>>
>> On 14 February 2016 at 02:56, Sajid Pareeth  wrote:
>>
>>> Hi Jaya
>>>

 Sorry to bother you again. But I was thinking of using Spectral Angle
 Mapper in RStudio's RSToolbox package as an alternative. So I followed the
 steps at the link
 https://grasswiki.osgeo.org/wiki/R_statistics/rgrass7#Using_RStudio_in_a_GRASS_GIS_session
 but am unable to run RStudio at the GRASS command prompt. The error is
 again * 'rstudio' is not recognized as an internal or external
 command,operable program or batch file *(attaching error below).

>>>
>>> Please try by entering entire path in the GRASS session instead of
>>> "rstudio.exe".
>>>
 C:\Program Files\RStudio\bin\rstudio.exe

>>>
>>>
>>> Regards
>>>
>>> --
>>> Sajid Pareeth
>>> https://it.linkedin.com/in/spareeth
>>>
>>>
>>
>> ___
>> grass-user mailing list
>> grass-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>
>
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] GRASS GIS 7.03 for Mac OS X, problem with wxPython (missing)

2016-02-15 Thread gene
With the 7.0.3 version of  GRASS GIS on the Mac (M.Barton)
   I can only launch GRASS-7.0.app (7.0.3) in
text mode.

When I try to launch the App or use g.gui wxpython in the Grass shell the
error is:

"Launching  GUI in the background, please wait…
ERROR: wxGUI requires wxPython. No module named wxversion

In the 7.0.2 version, wxPython is installed in
/Applications/GRASS-7.0.app/Contents/MacOS/etc/python (wx, wxpython and
pyparsing.py and wxversion.py) and it works.

But none of these files/folders exist in the same folder of the 7.0.3
version 

Compilation error ?

The size of the zip files are also different (80.19 and 83.89 for GRASS 7.01
and GRASS 7.02, 35 .12 for GRASS 7.03)

Many thanks





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GRASS-GIS-7-03-for-Mac-OS-X-problem-with-wxPython-missing-tp5250615.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] v.generalize crash

2016-02-15 Thread Paolo Cavallini
Hi all,
I get consistent crashes of v.generalize on Debian sid, official deb, e.g.:

GRASS 7.0.3 (world):~ > v.generalize input=corine@PERMANENT layer=1
type=area type=line,boundary,area method=douglas threshold=5.0
look_ahead=7 reduction=50 slide=0.5 angle_thresh=3 degree_thresh=0
closeness_thresh=0 betweeness_thresh=0 alpha=1.0 beta=1.0 iterations=1
output=corine_simpl

Same with different options and data.
Does anyone confirm?
Thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] i.spec.sam error

2016-02-15 Thread Helmut Kudrnovsky
Veronica Andreo wrote
> Hello Jaya
> 
> [cc Helmut]
> 
> In grass 7.0.3 and grass 7.1 installed from OSGeo4w (updated just now), if
> in comand line i write rstudio only... no path, no extension, it works as
> expected... but not if I write only R... i remember both options worked
> before (
> http://osgeo-org.1560.x6.nabble.com/R-and-RStudio-in-winGRASS-testing-welcome-td5235108.html#a5236435).
> Maybe some further changes altered that.
> 
> Cheers,
> Vero
> 
> 2016-02-14 18:14 GMT-03:00 Jaya Krishnan 

> jayaakrish@

> :
> 
>> Thanks Sajid, but that didn't work either.
>>
>> Best,
>>
>> Jaya
>>
>>
>> On 14 February 2016 at 02:56, Sajid Pareeth 

> spareeth@

>  wrote:
>>
>>> Hi Jaya
>>>

 Sorry to bother you again. But I was thinking of using Spectral Angle
 Mapper in RStudio's RSToolbox package as an alternative. So I followed
 the
 steps at the link
 https://grasswiki.osgeo.org/wiki/R_statistics/rgrass7#Using_RStudio_in_a_GRASS_GIS_session
 but am unable to run RStudio at the GRASS command prompt. The error is
 again * 'rstudio' is not recognized as an internal or external
 command,operable program or batch file *(attaching error below).

>>>
>>> Please try by entering entire path in the GRASS session instead of
>>> "rstudio.exe".
>>>
 C:\Program Files\RStudio\bin\rstudio.exe

>>>
>>>
>>> Regards
>>>
>>> --
>>> Sajid Pareeth
>>> https://it.linkedin.com/in/spareeth
>>>
>>>
>>
>> ___
>> grass-user mailing list
>> 

> grass-user@.osgeo

>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>
> 
> ___
> grass-user mailing list

> grass-user@.osgeo

> http://lists.osgeo.org/mailman/listinfo/grass-user

Please see https://trac.osgeo.org/osgeo4w/ticket/413

Unfortunately I haven't found time yet to implement the simple R-winGrass
coupling into Osgeo4w which is already working in standalone winGRASS. 

As Veronica mentioned, rstudio should work in the newest Osgeo4w and
standalone winGRASS ; R and rstudio should work only in standalone winGRASS. 

I hope to find time in the next weeks. 



-
best regards
Helmut
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/i-spec-sam-error-tp5250345p5250557.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] i.spec.sam error

2016-02-15 Thread Veronica Andreo
Hello Jaya

[cc Helmut]

In grass 7.0.3 and grass 7.1 installed from OSGeo4w (updated just now), if
in comand line i write rstudio only... no path, no extension, it works as
expected... but not if I write only R... i remember both options worked
before (
http://osgeo-org.1560.x6.nabble.com/R-and-RStudio-in-winGRASS-testing-welcome-td5235108.html#a5236435).
Maybe some further changes altered that.

Cheers,
Vero

2016-02-14 18:14 GMT-03:00 Jaya Krishnan :

> Thanks Sajid, but that didn't work either.
>
> Best,
>
> Jaya
>
>
> On 14 February 2016 at 02:56, Sajid Pareeth  wrote:
>
>> Hi Jaya
>>
>>>
>>> Sorry to bother you again. But I was thinking of using Spectral Angle
>>> Mapper in RStudio's RSToolbox package as an alternative. So I followed the
>>> steps at the link
>>> https://grasswiki.osgeo.org/wiki/R_statistics/rgrass7#Using_RStudio_in_a_GRASS_GIS_session
>>> but am unable to run RStudio at the GRASS command prompt. The error is
>>> again * 'rstudio' is not recognized as an internal or external
>>> command,operable program or batch file *(attaching error below).
>>>
>>
>> Please try by entering entire path in the GRASS session instead of
>> "rstudio.exe".
>>
>>> C:\Program Files\RStudio\bin\rstudio.exe
>>>
>>
>>
>> Regards
>>
>> --
>> Sajid Pareeth
>> https://it.linkedin.com/in/spareeth
>>
>>
>
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] grass-user Digest, Vol 118, Issue 18

2016-02-15 Thread Blumentrath, Stefan
Hi Rengifo,

The issue is unfortunately more than just the GUI. You would be able to run the 
module on the command line if that was the case, but not even “r.terraflow 
--help” will give you any output. However, I am pretty sure r.watershed will 
provide you with what you are looking for and it is also able to handle huge 
datasets!

BTW: The paper you reference is a bit old. I recommend having a look at this:
sil.uc.edu/pdfFiles/.../JasiewiczMetz2011GRASS.pdf

As for you specific project:
The “Stream Power Index” might be of interest for you. It got implemented in 
r.watershed after we ran the module (and after the article above got 
published), so that output is missing from the data we have...

Anyway, I will see what I can do to provide you with the data (input and 
output, which includes TCI). Of course we used MFD, but we did not account / 
weight surface runoff as we had no suitable runoff data for the neighboring 
countries (and also for Norway we only had aggregated data for 1961-1990 with 
1km2 resolution)...

I will check if our FTP is able to handle the amount of data and contact you 
offline when I have a solution for that...

Hilsen,
Stefan



From: grass-user [mailto:grass-user-boun...@lists.osgeo.org] On Behalf Of 
Rengifo Ortega
Sent: 15. februar 2016 10:51
To: grass-user@lists.osgeo.org
Subject: Re: [GRASS-user] grass-user Digest, Vol 118, Issue 18

dear grass community,
thanks a lot for the hints. Yes, indeed it was under hydrological modelling. 
But I still keep getting an error when  I try to open r.terraflow from the GUI, 
which is the reason I thought , in the first place, it was not installed.

Here is the error hope someone kan help me with it.

Traceback (most recent call last):
  File "C:\OSGEO4~1\apps\grass\grass-7.0.3\gui\wxpython\lmgr
\frame.py", line 776, in OnMenuCmd

GUI(parent=self, giface=self._giface).ParseCommand(cmd)
  File "C:\OSGEO4~1\apps\grass\grass-7.0.3\gui\wxpython\gui_
core\forms.py", line 2354, in ParseCommand

raise gcmd.GException(e.value)
core.gcmd
.
GException
:
Unable to fetch interface description for command
'r.terraflow'.
Details: C:\OSGEO4~1\bin\python.exe: can't open file
'r.terraflow': [Errno 2] No such file or directory

It basically says that tha  file is not available.


As for the  question from  Blumentrath Stefan:

Yes, Stefan I am working with Norwegian data The same resolution as you. I am 
using  DTM10 from Statens Kartverk. Why  r.terraflow? Well, for this purpose it 
seems  to be the best algorithm.

Currently, I am proposing a combined approach (geomorphons+TCI (r.terraflow 
based), for  locating areas, where our  potential mass movement modelling 
(based on flow-r) fails to model the outreach of those mass movements.  
Specifically, I am looking at areas on alluvial fans located just below the 
footslopes, where phenomena like debris flows might change their rheological 
behavior, due to changes in the slope gradient of the alluvial. r.terraflow is 
use to model water accumulation and TCI in these areas. The idea is  to 
establish some sort of threshold, using the TCI, where potential flows paths 
can be delinated as an extension of the alredy existing model. e.g town of Kvam

Basically, these areas are looked upon as flood areas, and for this  purpose 
seems r.terraflow to be the best, according to some authors 
https://books.google.no/books?id=svwfypEvPwEC=PA94=PA94=terraflow+panam%C3%A1=bl=NN5mfSaXm4=UX4mZ-6fB5aYdKGKGLC0HQRfmdc=no=X=0ahUKEwi3vfOS3fTKAhWrJZoKHfY-CqoQ6AEIIzAA#v=onepage=terraflow%20panam%C3%A1=false


However, I would  appreciate  to get a copy of  the data you refered to, given 
you used MFD and not SFD to calculate it, since I am interested on diffuse 
waterflow and not chanalised one.

Thanks in advance


Mvh
Rengifo Ortega
Geoinformatikker

Seksjon for geoinformasjon
Hydrologisk avdelingen
Norges vassdrags- og energidirektoratet (NVE)





"grass-user-requ...@lists.osgeo.org" 
> 
schrieb am 19:59 Freitag, 12.Februar 2016:


Send grass-user mailing list submissions to
grass-user@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.osgeo.org/mailman/listinfo/grass-user
or, via email, send a message with subject or body 'help' to

grass-user-requ...@lists.osgeo.org

You can reach the person managing the list at
grass-user-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of grass-user digest..."


Today's Topics:

  1. Re: r.terraflow (Stefan Lüdtke)
  2. Re: r.terraflow (Blumentrath, Stefan)
  3. r.in.lidar and v.in.lidar status (Vicent García)
  4. counting plants (Eddison Araya)


--

Message: 1
Date: 

Re: [GRASS-user] grass-user Digest, Vol 118, Issue 18

2016-02-15 Thread Rengifo Ortega
dear grass community,thanks a lot for the hints. Yes, indeed it was under 
hydrological modelling. But I still keep getting an error when  I try to open 
r.terraflow from the GUI, which is the reason I thought , in the first place, 
it was not installed.  

Here is the error hope someone kan help me with it.

Traceback (most recent call last):
  File "C:\OSGEO4~1\apps\grass\grass-7.0.3\gui\wxpython\lmgr
\frame.py", line 776, in OnMenuCmd

GUI(parent=self, giface=self._giface).ParseCommand(cmd)
  File "C:\OSGEO4~1\apps\grass\grass-7.0.3\gui\wxpython\gui_
core\forms.py", line 2354, in ParseCommand

raise gcmd.GException(e.value)
core.gcmd
.
GException
:
Unable to fetch interface description for command
'r.terraflow'.
Details: C:\OSGEO4~1\bin\python.exe: can't open file
'r.terraflow': [Errno 2] No such file or directory
 
It basically says that tha  file is not available.

As for the  question from  Blumentrath Stefan:
Yes, Stefan I am working with Norwegian data The same resolution as you. I am 
using  DTM10 from Statens Kartverk. Why  r.terraflow? Well, for this purpose it 
seems  to be the best algorithm. 

Currently, I am proposing a combined approach (geomorphons+TCI (r.terraflow 
based), for  locating areas, where our  potential mass movement modelling 
(based on flow-r) fails to model the outreach of those mass movements.  
Specifically, I am looking at areas on alluvial fans located just below the 
footslopes, where phenomena like debris flows might change their rheological 
behavior, due to changes in the slope gradient of the alluvial. r.terraflow is 
use to model water accumulation and TCI in these areas. The idea is  to 
establish some sort of threshold, using the TCI, where potential flows paths 
can be delinated as an extension of the alredy existing model. e.g town of Kvam

Basically, these areas are looked upon as flood areas, and for this  purpose 
seems r.terraflow to be the best, according to some authors 
https://books.google.no/books?id=svwfypEvPwEC=PA94=PA94=terraflow+panam%C3%A1=bl=NN5mfSaXm4=UX4mZ-6fB5aYdKGKGLC0HQRfmdc=no=X=0ahUKEwi3vfOS3fTKAhWrJZoKHfY-CqoQ6AEIIzAA#v=onepage=terraflow%20panam%C3%A1=false

However, I would  appreciate  to get a copy of  the data you refered to, given 
you used MFD and not SFD to calculate it, since I am interested on diffuse 
waterflow and not chanalised one.
Thanks in advance

MvhRengifo OrtegaGeoinformatikker
Seksjon for geoinformasjonHydrologisk avdelingenNorges vassdrags- 
ogenergidirektoratet (NVE)




"grass-user-requ...@lists.osgeo.org"  
schrieb am 19:59 Freitag, 12.Februar 2016:
 

 

Send grass-user mailing list submissions to
    grass-user@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.osgeo.org/mailman/listinfo/grass-user
or, via email, send a message with subject or body 'help' to
    grass-user-requ...@lists.osgeo.org

You can reach the person managing the list at
    grass-user-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of grass-user digest..."


Today's Topics:

  1. Re: r.terraflow (Stefan Lüdtke)
  2. Re: r.terraflow (Blumentrath, Stefan)
  3. r.in.lidar and v.in.lidar status (Vicent García)
  4. counting plants (Eddison Araya)


--

Message: 1
Date: Fri, 12 Feb 2016 14:04:42 +0100
From: Stefan Lüdtke 
To: Rengifo Ortega , GRASS User List
    
Subject: Re: [GRASS-user] r.terraflow
Message-ID: <56bdd86a@gfz-potsdam.de>
Content-Type: text/plain; charset=utf-8

Hi,

I think its comes with the standard installation of GRASS. I find it,
and most likely you too, under_

"raster --> hydrologic modeling --> Flow accumulation".

HTH,

Stefan



On 12/02/16 13:31, Rengifo Ortega wrote:
> Dear community
> recently I update grass gis from 7.0.0 to New stable long term support
> (LTS) release 7.0.3  a on windows 7 enterprise machine. In the former
> version I had installed r.terraflow. searching for it in the
> http://svn.osgeo.org/grass/grass-addons/grass7   I did not find it. Can 
> someone tell me if I am missing something here? I thought it was
> included in this release out of the box, if I understand prof.mitasova
> in this site TerraFlow .  I
> would like to get some  ideas how to install it in the version 7.0.3.
>  
>  
>     
> image 
>     
>  
>     
>  
>     
>  
>     
>  
>     
>  
> TerraFlow 
>  in collaboration with  Computations on Massive Grids The TerraFlow
> Project Background | Algorithm | Features | Outputs | Performance |
> Speedup | Manual | Do...
> Auf www.cs.duke.edu anzeigen 
>     
> Vorschau nach Yahoo
>  
> 
> Thanks in advance
> have a nice weekend
> 
> 
> ---
>