[GRASS-user] wave energy model

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

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 +0000 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

Thanks Hamish

I will try, but I need help because I'm a new user of GRASS. I visit SWAN website but I don't find any version available for MAC OSX. Is it true or I don't search well?

Salvatore
Il giorno 30/giu/2011, alle ore 03.14, Hamish ha scritto:

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 +0000 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

Hi Salvatore,

By clicking the “SWAN Software” link, I arrived at this page:
http://swanmodel.sourceforge.net/download/info.htm
where you can download the source code. It looks like you can build it yourself so long as you have a Fortran compiler (e.g., gfortran). They have instructions under “Manual installation” here:
http://swanmodel.sourceforge.net/online_doc/swanimp/swanimp.html

Hope this helps,

Andy

On Thu, Jun 30, 2011 at 4:05 AM, Salvatore Mellino <salvatore.mellino@gmail.com> wrote:

Thanks Hamish

I will try, but I need help because I’m a new user of GRASS. I visit SWAN website but I don’t find any version available for MAC OSX. Is it true or I don’t search well?

Salvatore
Il giorno 30/giu/2011, alle ore 03.14, Hamish ha scritto:

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 +0000 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

Dear Hamish,

I'm not able to download any data from your links...I never worked with these kind of data before.
Than I would to know where I can find a good bathymetry.

Thanks a lot,

Salvatore
Il giorno 30/giu/2011, alle ore 03.14, Hamish ha scritto:

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 +0000 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

Salvatore wrote:

I'm not able to download any data from your links...

what's the error message?

I never worked with these kind of data before.

now's your chance :slight_smile:

gdal can read GRIB format directly, but due to a gdal bug you'll
have to apply a 1/2 cell correction after import with r.region.

did you want long-term average conditions/exposure or

Than I would to know where I can find a good bathymetry.

I don't know of a good source in the Med. Maybe someone else
does? For global oceans the ETOPO1 dataset is great, but that's
not terribly useful near shore.

An approach of last resort is to digitize from nautical charts.
I usually prepare my model grid/bathy in GRASS then export with
r.out.ascii, it can read those files directly.

For MacOSX I guess you'll have to build SWAN yourself using a
fortran compiler. (GCC's gfortran is fine) Note SWAN likes lots
and lots of RAM.

Hamish

I have a problem with safari, but now I try to download files with firefox and it works. I download this file: US058GOCN-GR1mdl(1).0110_0240_00000F0RL2010010100_0001_000000-000000max_wav_ht. It is correct? This is the file for 01/01/201o the first on the list. I have to download 1 file for each day? I need a long term average/exposure (one year).

Thanks for now...I have a lot things to learn.

I don't know if I am able to build SWAN by my self, I'm not a programmer. Until one week ago I worked with ArcGis but now I want switch to opensource.

Il giorno 01/lug/2011, alle ore 10.24, Hamish ha scritto:

Salvatore wrote:

I'm not able to download any data from your links...

what's the error message?

I never worked with these kind of data before.

now's your chance :slight_smile:

gdal can read GRIB format directly, but due to a gdal bug you'll
have to apply a 1/2 cell correction after import with r.region.

did you want long-term average conditions/exposure or

Than I would to know where I can find a good bathymetry.

I don't know of a good source in the Med. Maybe someone else
does? For global oceans the ETOPO1 dataset is great, but that's
not terribly useful near shore.

An approach of last resort is to digitize from nautical charts.
I usually prepare my model grid/bathy in GRASS then export with
r.out.ascii, it can read those files directly.

For MacOSX I guess you'll have to build SWAN yourself using a
fortran compiler. (GCC's gfortran is fine) Note SWAN likes lots
and lots of RAM.

Hamish

Some advice for getting / compiling SWAN:

You should definitely be able to build SWAN by yourself; it may take a little while, but compiling code is a good skill to know. My best advice is to slowly step through the directions (see the links that I gave you) to first run the perl script to make the code settings right for your system and then go through the actual compilation / installation. Google is also your friend; chances are, if you search for something about a problem you are having, someone else has had it too and the answer is online.

I’m not sure what mac comes with in terms of compilers / interpreters for programming languages, so you may have to download a Fortran compiler and/or Perl. I’m guessing that you’ll have some version of Perl on your computer already, but probably not Fortran (gfortran is good, as Hamish and I suggest earlier). Same advice as above: when you’re lost, Google is your friend.

Best of luck!

Andy

On Fri, Jul 1, 2011 at 3:30 AM, Salvatore Mellino <salvatore.mellino@gmail.com> wrote:

I have a problem with safari, but now I try to download files with firefox and it works. I download this file: US058GOCN-GR1mdl(1).0110_0240_00000F0RL2010010100_0001_000000-000000max_wav_ht. It is correct? This is the file for 01/01/201o the first on the list. I have to download 1 file for each day? I need a long term average/exposure (one year).

Thanks for now…I have a lot things to learn.

I don’t know if I am able to build SWAN by my self, I’m not a programmer. Until one week ago I worked with ArcGis but now I want switch to opensource.

Il giorno 01/lug/2011, alle ore 10.24, Hamish ha scritto:

Salvatore wrote:

I’m not able to download any data from your links…

what’s the error message?

I never worked with these kind of data before.

now’s your chance :slight_smile:

gdal can read GRIB format directly, but due to a gdal bug you’ll
have to apply a 1/2 cell correction after import with r.region.

did you want long-term average conditions/exposure or

Than I would to know where I can find a good bathymetry.

I don’t know of a good source in the Med. Maybe someone else
does? For global oceans the ETOPO1 dataset is great, but that’s
not terribly useful near shore.

An approach of last resort is to digitize from nautical charts.
I usually prepare my model grid/bathy in GRASS then export with
r.out.ascii, it can read those files directly.

For MacOSX I guess you’ll have to build SWAN yourself using a
fortran compiler. (GCC’s gfortran is fine) Note SWAN likes lots
and lots of RAM.

Hamish


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