[GRASS-user] Grass70 win7 r.basin

Dear all,

in the addon r.basin, the help says that basin output coordinates must
be picked up from some vector feature, the river network, which is
generated by the addon r.stream.extract.

That means I have the utm elevation raster and successfully ran
r.watershed for accumulation raster on grass70/win7.

However, despite the plugin get steps 1 through 4 without errors, it
cannot complete the area delineation.

I have tried, both, picking a utm point from point geometries and from
line geometries.

The message I get is:


An Error has occurred.
Please try with another pairs of outlet coordinates.

Have anybody tried r.basin from grass70 on win7?

Thanks in advance.

Jose Anderson

Maybe you’re picking the wrong pair of coordinates,

Are you picking them upstream from the basin outlet? I mean, near the outlet but a little upstream

···

2014-09-29 17:20 GMT-05:00 José Anderson <joseandersonbatista@gmail.com>:

Dear all,

in the addon r.basin, the help says that basin output coordinates must
be picked up from some vector feature, the river network, which is
generated by the addon r.stream.extract.

That means I have the utm elevation raster and successfully ran
r.watershed for accumulation raster on grass70/win7.

However, despite the plugin get steps 1 through 4 without errors, it
cannot complete the area delineation.

I have tried, both, picking a utm point from point geometries and from
line geometries.

The message I get is:


An Error has occurred.
Please try with another pairs of outlet coordinates.

Have anybody tried r.basin from grass70 on win7?

Thanks in advance.

Jose Anderson


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

César Augusto Ramírez Franco

Laboratorio de Sistemas Complejos Naturales

Escuela de Geociencias

Facultad de Ciencias

Universidad Nacional de Colombia - Sede Medellín

Teléfono: (57-4) 430 9369 - 300 459 6085

Please keep the conversation on the list.

Please refer to [1] for detailed instructions on the proper way of inputting the coordinates into the module. The pair of coordinates should be similar as the ones used on r.water.outlet, you must tell the module where in the map is the outlet of the basin you’re trying to analyze.

[1] http://grasswiki.osgeo.org/wiki/R.basin#r.basin_for_GRASS_7

···

2014-10-01 12:22 GMT-05:00 José Anderson <joseandersonbatista@gmail.com>:

C,

I’m picking them from the vector streams from r.stream.extract it comes up from Grass picking points from geometry.

I dont know what ‘near’ means…

Thanks

Em 01/10/2014 13:08, “César Augusto Ramírez Franco” <caesarivs@gmail.com> escreveu:

Maybe you’re picking the wrong pair of coordinates,

Are you picking them upstream from the basin outlet? I mean, near the outlet but a little upstream

César Augusto Ramírez Franco

Laboratorio de Sistemas Complejos Naturales

Escuela de Geociencias

Facultad de Ciencias

Universidad Nacional de Colombia - Sede Medellín

Teléfono: (57-4) 430 9369 - 300 459 6085

2014-09-29 17:20 GMT-05:00 José Anderson <joseandersonbatista@gmail.com>:

Dear all,

in the addon r.basin, the help says that basin output coordinates must
be picked up from some vector feature, the river network, which is
generated by the addon r.stream.extract.

That means I have the utm elevation raster and successfully ran
r.watershed for accumulation raster on grass70/win7.

However, despite the plugin get steps 1 through 4 without errors, it
cannot complete the area delineation.

I have tried, both, picking a utm point from point geometries and from
line geometries.

The message I get is:


An Error has occurred.
Please try with another pairs of outlet coordinates.

Have anybody tried r.basin from grass70 on win7?

Thanks in advance.

Jose Anderson


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

César Augusto Ramírez Franco

Laboratorio de Sistemas Complejos Naturales

Escuela de Geociencias

Facultad de Ciencias

Universidad Nacional de Colombia - Sede Medellín

Teléfono: (57-4) 430 9369 - 300 459 6085

Ok, César, Margherita,

maybe another issue (remembering I'm on grass7/win7) is installation
of dependences of r.basin: r.stream.stats r.stream.distance and
r.stream.order are missing because g.extension returns "File is not a
zip file" when trying to add them.

The rest r.stream.basins and r.stream.extract are present.

Could that be an issue?

Tks

2014-10-01 15:52 GMT-03:00 César Augusto Ramírez Franco <caesarivs@gmail.com>:

Please keep the conversation on the list.

Please refer to [1] for detailed instructions on the proper way of inputting
the coordinates into the module. The pair of coordinates should be similar
as the ones used on r.water.outlet, you must tell the module where in the
map is the outlet of the basin you're trying to analyze.

[1] http://grasswiki.osgeo.org/wiki/R.basin#r.basin_for_GRASS_7

2014-10-01 12:22 GMT-05:00 José Anderson <joseandersonbatista@gmail.com>:

C,

I'm picking them from the vector streams from r.stream.extract it comes up
from Grass picking points from geometry.

I dont know what 'near' means..

Thanks

Em 01/10/2014 13:08, "César Augusto Ramírez Franco" <caesarivs@gmail.com>
escreveu:

Maybe you're picking the wrong pair of coordinates,

Are you picking them upstream from the basin outlet? I mean, near the
outlet but a little upstream

2014-09-29 17:20 GMT-05:00 José Anderson <joseandersonbatista@gmail.com>:

Dear all,

in the addon r.basin, the help says that basin output coordinates must
be picked up from some vector feature, the river network, which is
generated by the addon r.stream.extract.

That means I have the utm elevation raster and successfully ran
r.watershed for accumulation raster on grass70/win7.

However, despite the plugin get steps 1 through 4 without errors, it
cannot complete the area delineation.

I have tried, both, picking a utm point from point geometries and from
line geometries.

The message I get is:

--
An Error has occurred.
Please try with another pairs of outlet coordinates.
--

Have anybody tried r.basin from grass70 on win7?

Thanks in advance.

Jose Anderson

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

--
César Augusto Ramírez Franco
Laboratorio de Sistemas Complejos Naturales
Escuela de Geociencias
Facultad de Ciencias
Universidad Nacional de Colombia - Sede Medellín
Teléfono: (57-4) 430 9369 - 300 459 6085

--
César Augusto Ramírez Franco
Laboratorio de Sistemas Complejos Naturales
Escuela de Geociencias
Facultad de Ciencias
Universidad Nacional de Colombia - Sede Medellín
Teléfono: (57-4) 430 9369 - 300 459 6085

Hi Jose,

···

On Wed, Oct 1, 2014 at 11:09 PM, José Anderson <joseandersonbatista@gmail.com> wrote:

Ok, César, Margherita,

maybe another issue (remembering I’m on grass7/win7) is installation
of dependences of r.basin: r.stream.stats r.stream.distance and
r.stream.order are missing because g.extension returns “File is not a
zip file” when trying to add them.

The rest r.stream.basins and r.stream.extract are present.

Could that be an issue?

That is definitely an issue. You need to have all the dependencies installed in order to get r.basin working. What is the command line that gives you that error?

Best regards,

Dr. Margherita DI LEO
Scientific / technical project officer

European Commission - DG JRC
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.

[cc’ing list again]

Jose,

I’m not a windows user, this is also a reason why keeping the list cc’ed is a good idea. The problem you mention is in g.extension, not in r.basin, is windows related, and most likely has already been solved in more recent versions.

HTH,

madi

···

On Thu, Oct 2, 2014 at 1:51 PM, José Anderson <joseandersonbatista@gmail.com> wrote:

Margherita,

excuse me for skipping your turn…

Have you succeeded r.basin (r.stream.* as well) on win7/8?

Rgs

2014-10-02 7:07 GMT-03:00 José Anderson <joseandersonbatista@gmail.com>:

M,

I’m typing ‘g.extension extension=r.stream.stat’ for r.stream.stat and so
on.

The msg it gives is that ’ File is not a
zip file’

Tks

Em 02/10/2014 04:22, “Margherita Di Leo” <diregola@gmail.com> escreveu:

Hi Jose,

On Wed, Oct 1, 2014 at 11:09 PM, José Anderson
<joseandersonbatista@gmail.com> wrote:

Ok, César, Margherita,

maybe another issue (remembering I’m on grass7/win7) is installation
of dependences of r.basin: r.stream.stats r.stream.distance and
r.stream.order are missing because g.extension returns “File is not a
zip file” when trying to add them.

The rest r.stream.basins and r.stream.extract are present.

Could that be an issue?

That is definitely an issue. You need to have all the dependencies
installed in order to get r.basin working. What is the command line that
gives you that error?


Best regards,

Dr. Margherita DI LEO
Scientific / technical project officer

European Commission - DG JRC
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not
in any circumstance be regarded as stating an official position of the
European Commission.

Best regards,

Dr. Margherita DI LEO
Scientific / technical project officer

European Commission - DG JRC
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.

On Thu, Oct 2, 2014 at 2:07 PM, Margherita Di Leo <diregola@gmail.com> wrote:

On Thu, Oct 2, 2014 at 1:51 PM, José Anderson

2014-10-02 7:07 GMT-03:00 José Anderson <joseandersonbatista@gmail.com>:
> M,
>
> I'm typing 'g.extension extension=r.stream.stat' for r.stream.stat and
> so
> on.
>
> The msg it gives is that ' File is not a zip file'

The message is misleading I'd say.

Current state:
- in GRASS GIS 6, r.stream.stats is an addon
- in GRASS GIS 7, r.stream.stats is in the core but commented due to
quality issues (need to be fixed)

Markus

Markus,

thanks for clarifying. Is that just a Windows issue or r.stream.stats (plus other r.stream.*?) is missing on other platforms?

In grass 6 r.basin works well so its dependences.

So in grass7 as r.stream.stats (r.stream.order and r.stream.distance also?) are not yet done and are not addons, r.basin will not work.

Could you let me know a schedule for fixing (or just in case other contact)?

Regards,

Jose

Em 02/10/2014 09:19, “Markus Neteler” <neteler@osgeo.org> escreveu:

On Thu, Oct 2, 2014 at 2:07 PM, Margherita Di Leo <diregola@gmail.com> wrote:

On Thu, Oct 2, 2014 at 1:51 PM, José Anderson

2014-10-02 7:07 GMT-03:00 José Anderson <joseandersonbatista@gmail.com>:

M,

I’m typing ‘g.extension extension=r.stream.stat’ for r.stream.stat and
so
on.

The msg it gives is that ’ File is not a zip file’

The message is misleading I’d say.

Current state:

  • in GRASS GIS 6, r.stream.stats is an addon
  • in GRASS GIS 7, r.stream.stats is in the core but commented due to
    quality issues (need to be fixed)

Markus

Markus,

···

On Thu, Oct 2, 2014 at 2:19 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Thu, Oct 2, 2014 at 2:07 PM, Margherita Di Leo <diregola@gmail.com> wrote:

On Thu, Oct 2, 2014 at 1:51 PM, José Anderson

2014-10-02 7:07 GMT-03:00 José Anderson <joseandersonbatista@gmail.com>:

M,

I’m typing ‘g.extension extension=r.stream.stat’ for r.stream.stat and
so
on.

The msg it gives is that ’ File is not a zip file’

The message is misleading I’d say.

Current state:

  • in GRASS GIS 6, r.stream.stats is an addon
  • in GRASS GIS 7, r.stream.stats is in the core but commented due to
    quality issues (need to be fixed)

Oops, I had forgotten about this…
Would it be a reasonable temporary solution to send them back to add-ons?

Thanks
madi

Best regards,

Dr. Margherita DI LEO
Scientific / technical project officer

European Commission - DG JRC
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.

José,

On Thu, Oct 2, 2014 at 3:08 PM, José Anderson
<joseandersonbatista@gmail.com> wrote:

Markus,

thanks for clarifying. Is that just a Windows issue or r.stream.stats (plus
other r.stream.*?) is missing on other platforms?

That's on all platforms for GRASS 7.0.svn. The code is there, it
"just" needs to be better tested and fixed as needed.
To start, compare it to what r.watershed calculates.

In grass 6 r.basin works well so its dependences.

So in grass7 as r.stream.stats (r.stream.order and r.stream.distance also?)
are not yet done and are not addons, r.basin will not work.

Right for 7.0.svn.

Could you let me know a schedule for fixing (or just in case other contact)?

Volunteers needed. Note that in *trunk* (GRASS 7.1.svn) all tools are
enabled. You may try that.

Markus

PS: If you self compile (not that hard on many platforms, see
http://grasswiki.osgeo.org/wiki/Compile_and_Install ) then you can
just change into the respective directory and run "make" to get the
command compiled for testing if you are on 7.0.svn.