Re: [GRASS-user] wave energy model

2011-06-29 Thread Hamish
Salvatore wrote:
> I want to know if exist any application in grass for
> measure the wave energy for a given location. In particular
> I'm working on the Campania Region (Italy).

Yes, I use GRASS with the SWAN wave model. (free/GPL, from Delft)
http://www.swan.tudelft.nl/

search the mailing list archives for hints on that.


you will need wind + offshore wave data for inputs, along with
good bathymetry <100m and good topography to get the slope of the
beaches right.

for boundary and climatological conditions, a global archive of
global wind+wave model output from the US Navy:
waves:  ftp://usgodae.org/pub/outgoing/fnmoc/models/ww3/
winds:  ftp://usgodae.org/pub/outgoing/fnmoc/models/nogaps/
files are in GRIB format. Grab the + hr forecast (first on
the list) in each date.


for 1999-2009 QuikSCAT is a good source of satellite observed
winds at 1/2 deg resolution.


Hamish

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


Re: [GRASS-user] GRASS version on yum of CEntOS

2011-06-29 Thread Mathieu Baudier
> I have just installed GRASS in a CentOS machine, using yum repository but
> the version is GRASS6.4.0-2. How old is this version?

Where did you install it from ?

GRASS 6.4.1 is available in ELGIS Testing and will soon move to stable:
http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] wave energy model

2011-06-29 Thread Salvatore Mellino
Hello,

I want to know if exist any application in grass for measure the wave energy 
for a given location. In particular I'm working on the Campania Region (Italy).

Thanks

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


[GRASS-user] Re: Wxpython module's interface- multiple entries

2011-06-29 Thread Luisa Peña
Greetings I have sent this email a couple of days ago. can anyone reply me?
Thanks


Greetings
>
> I just realized one thing regarding wxpython module's interface for
> multiple parameters: If I select one parameter or two, when I try to
> eliminate one of them it's not possible. I need to close the interface and
> do it again. Is there any fix  for this?
> Thanks
> Luisa
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Why does g.extension fail...?

2011-06-29 Thread SGW00412
Dear Hamish and all

> what versions of GRASS on each? from main ubuntu repositories
> or GRASS 6.4.1 from UbuntuGIS's PPA ubuntu repository?

Yes! grass6.4.1 from ubuntuGIS PPA repository.

> if the version of GRASS on each is the same, and all the same
> 32 or 64 bit, there's a good chance you could just copy
> the working d.barb binary from the one working system into the
> others. at least ubuntu 10.04 and lubuntu 10.04 should be
> identical. The VM installation method doesn't matter.

I'm lucky!

d.barb operated successfully! when copying this file, according to your comment.

Thank you for a lot of kind advices.

> you can force that to English by running "export LC_ALL=C"
> before the command you want to try; or by adding it on the same
> line as the command, like:
> 
> GRASS> LC_ALL=C g.extension d.barb

I will confirm this tomorrow.

P.S
I began to understand the meaning of configure and make.
The time is necessary a little more.

Best

Yasuo shimada (japan weather association)

---
Hamish さん:
> Hi,
> 
> since it seemed to build ok, but fails on the install, maybe
> you can try to find the build dir and install it in the correct
> place by hand?
> 
> 
> sgw00412 wrote:
> > I succeeded in installing d.barb the other day.
> > 
> > Because d.barb was very wonderful addon, I tried installing
> > to other PC. 
> > However, I fail in the installation
> > 
> > I tried on the following conditions. 
> > 
> > (Case 1) ubuntu11.04 wubi version on Windows7
> > ---> Success
> > 
> > (Case 2) ubuntu10.04 vmware version on Windows X
> > ---> failed
> > 
> > (Case 3) lubuntu11.04 vmware version on Windows 7
> > ---> failed
> 
> what versions of GRASS on each? from main ubuntu repositories
> or GRASS 6.4.1 from UbuntuGIS's PPA ubuntu repository?
> 
> if the version of GRASS on each is the same, and all the same
> 32 or 64 bit, there's a good chance you could just copy
> the working d.barb binary from the one working system into the
> others. at least ubuntu 10.04 and lubuntu 10.04 should be
> identical. The VM installation method doesn't matter.
> 
> on the working system find where the binary is by typing
>   which d.barb
> at the GRASS> prompt.
> 
> copy it into /usr/lib/grass64/bin/ or whatever directory the
> `which d.barscale` command shows as the home for GRASS modules
> on the destination machine.
> 
> 
> > In Case 2 and 3, the same error message is output as
> > follows.
> > The log might not be read easily for you in a Japanese
> > mode... 
> 
> you can force that to English by running "export LC_ALL=C"
> before the command you want to try; or by adding it on the same
> line as the command, like:
> 
> GRASS> LC_ALL=C g.extension d.barb
> 
> (this hint from http://grass.osgeo.org/wiki/Bugs)
> 
>  
> > --- begin message ---
> > GRASS 6.4.1 (newLocation_5):/home/shimada > g.extension
> > extension=d.barb
> > Fetching  from GRASS-Addons SVN (be
> > patient)...
> ...
> > Compiling ...
> ...
> > Installing ...
> > You need to enter the root password next to install d.barb:
> 
> does it stop there and wait for an answer? or just go on?
> 
> 
> > /usr/bin/install -c  /usr/lib/grass64/bin/d.barb
> > /usr/lib/grass64/bin/
> > /usr/bin/install: `/usr/lib/grass64/bin/d.barb' を stat
> > できません(can not): No such file or directory
> 
> "can not stat" means it can not get the status of the file--
> usually this means that the file it is looking for does not
> exist.
> 
> here it seems that it is treating the build directory like
> the final directory in the install command, and wants to
> copy the built program from the install directory to the
> install directory. but the newly built program is in the
> build directory, not the install directory, so it can't find
> it -- /usr/bin/install is looking in the wrong place.
> 
> 
> is d.barb in  /usr/lib/grass64/dist.i486-pc-linux-gnu ?
> if so, just move it into /usr/lib/grass64/bin/ instead.
> 
> sudo mv /usr/lib/grass64/dist.i486-pc-linux-gnu/d.barb /usr/lib/grass64/bin/
> 
> 
> > make: *** [install] エラー 1 (error 1)
> > エラー(error):  Installation failed, sorry. Please
> > check above error messages.
> >  end of message ---
> 
> 
> good luck,
> Hamish
> 
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Identify lines by starting point?

2011-06-29 Thread Rainer M Krug
Hi

I have created flowpaths for a grid, and have to do some analysis per grid
cell, i.e. per flowline.

Is there a way of identifying a line by its starting point?
I would like to provide the cell / centre of a cell and get the flowline
from this point? I know I could create them separately, but this calculation
is part of a simulation which is repeated several thousand times, and the
grid is quite big, wherefore the individual storage of the flowlines is not
an option here.

Thanks,

Rainer

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax (F):   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

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


Re: [GRASS-user] Why does g.extension fail...?

2011-06-29 Thread Hamish
Hi,

since it seemed to build ok, but fails on the install, maybe
you can try to find the build dir and install it in the correct
place by hand?


sgw00412 wrote:
> I succeeded in installing d.barb the other day.
> 
> Because d.barb was very wonderful addon, I tried installing
> to other PC. 
> However, I fail in the installation
> 
> I tried on the following conditions. 
> 
> (Case 1) ubuntu11.04 wubi version on Windows7
> ---> Success
> 
> (Case 2) ubuntu10.04 vmware version on Windows X
> ---> failed
> 
> (Case 3) lubuntu11.04 vmware version on Windows 7
> ---> failed

what versions of GRASS on each? from main ubuntu repositories
or GRASS 6.4.1 from UbuntuGIS's PPA ubuntu repository?

if the version of GRASS on each is the same, and all the same
32 or 64 bit, there's a good chance you could just copy
the working d.barb binary from the one working system into the
others. at least ubuntu 10.04 and lubuntu 10.04 should be
identical. The VM installation method doesn't matter.

on the working system find where the binary is by typing
  which d.barb
at the GRASS> prompt.

copy it into /usr/lib/grass64/bin/ or whatever directory the
`which d.barscale` command shows as the home for GRASS modules
on the destination machine.


> In Case 2 and 3, the same error message is output as
> follows.
> The log might not be read easily for you in a Japanese
> mode... 

you can force that to English by running "export LC_ALL=C"
before the command you want to try; or by adding it on the same
line as the command, like:

GRASS> LC_ALL=C g.extension d.barb

(this hint from http://grass.osgeo.org/wiki/Bugs)

 
> --- begin message ---
> GRASS 6.4.1 (newLocation_5):/home/shimada > g.extension
> extension=d.barb
> Fetching  from GRASS-Addons SVN (be
> patient)...
...
> Compiling ...
...
> Installing ...
> You need to enter the root password next to install d.barb:

does it stop there and wait for an answer? or just go on?


> /usr/bin/install -c  /usr/lib/grass64/bin/d.barb
> /usr/lib/grass64/bin/
> /usr/bin/install: `/usr/lib/grass64/bin/d.barb' を stat
> できません(can not): No such file or directory

"can not stat" means it can not get the status of the file--
usually this means that the file it is looking for does not
exist.

here it seems that it is treating the build directory like
the final directory in the install command, and wants to
copy the built program from the install directory to the
install directory. but the newly built program is in the
build directory, not the install directory, so it can't find
it -- /usr/bin/install is looking in the wrong place.


is d.barb in  /usr/lib/grass64/dist.i486-pc-linux-gnu ?
if so, just move it into /usr/lib/grass64/bin/ instead.

sudo mv /usr/lib/grass64/dist.i486-pc-linux-gnu/d.barb /usr/lib/grass64/bin/


> make: *** [install] エラー 1 (error 1)
> エラー(error):  Installation failed, sorry. Please
> check above error messages.
>  end of message ---


good luck,
Hamish

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


[GRASS-user] Re: R.sun use

2011-06-29 Thread simogeo
Forget my question,
My inputs were not corrects. All is now repaired!
Sorry for that



--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/R-sun-use-tp6520934p6528011.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