<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><div>Some advice for getting / compiling SWAN:</div>
<div><br></div>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.<div>
<br></div><div>I&#39;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&#39;m guessing that you&#39;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&#39;re lost, Google is your friend.<br>
<br></div><div>Best of luck!</div><div><br></div><font color="#888888"><div>Andy</div></font><div></div></span><div><br></div><br><div class="gmail_quote">On Fri, Jul 1, 2011 at 3:30 AM, Salvatore Mellino <span dir="ltr">&lt;<a href="mailto:salvatore.mellino@gmail.com">salvatore.mellino@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
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).<br>

<br>
Thanks for now...I have a lot things to learn.<br>
<br>
I don&#39;t know if I am able to build SWAN by my self, I&#39;m not a programmer. Until one week ago I worked with ArcGis but now I want switch to opensource.<br>
<br>
<br>
<br>
<br>
Il giorno 01/lug/2011, alle ore 10.24, Hamish ha scritto:<br>
<div><div></div><div class="h5"><br>
&gt; Salvatore wrote:<br>
&gt;&gt; I&#39;m not able to download any data from your links...<br>
&gt;<br>
&gt; what&#39;s the error message?<br>
&gt;<br>
&gt;&gt; I never worked with these kind of data before.<br>
&gt;<br>
&gt; now&#39;s your chance :)<br>
&gt;<br>
&gt; gdal can read GRIB format directly, but due to a gdal bug you&#39;ll<br>
&gt; have to apply a 1/2 cell correction after import with r.region.<br>
&gt;<br>
&gt; did you want long-term average conditions/exposure or<br>
&gt;<br>
&gt;<br>
&gt;&gt; Than I would to know where I can find a good bathymetry.<br>
&gt;<br>
&gt; I don&#39;t know of a good source in the Med. Maybe someone else<br>
&gt; does?  For global oceans the ETOPO1 dataset is great, but that&#39;s<br>
&gt; not terribly useful near shore.<br>
&gt;<br>
&gt; An approach of last resort is to digitize from nautical charts.<br>
&gt; I usually prepare my model grid/bathy in GRASS then export with<br>
&gt; r.out.ascii, it can read those files directly.<br>
&gt;<br>
&gt;<br>
&gt; For MacOSX I guess you&#39;ll have to build SWAN yourself using a<br>
&gt; fortran compiler. (GCC&#39;s gfortran is fine)  Note SWAN likes lots<br>
&gt; and lots of RAM.<br>
&gt;<br>
&gt;<br>
&gt; Hamish<br>
&gt;<br>
<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</div></div></blockquote></div><br>