SIGMA - A SWAN Graphical Interface in MATLAB®

SIGMA is a MATLAB® user interface. The program has several purposes: Provide a graphical interface for preparing SWAN simulations (loading bathymetry, organizing input files etc). Help organize and generate a humanly readable INPUT file. Provide an interface for visualizing the output of simulations.

Available versions

Sigma 1.001: Contains minimal patches for Sigma 1.0:

  1. Corrected placement of dialog windows. On a small screen all dialog windows should be visible now.
  2. The code has been re-tested with  MATLAB® Linux version 7.1.0.183 (R14) Service Pack 3. On this version the function contourf is broken. The directional spectra are now drawn using surf.

Sigma 1.0: The code was developed and tested on the MATLAB®  Linux version 7.0.4.352 (R14) Service Pack 2, released January 29, 2005.


For questions related to this code please contact Alex Sheremet. We are looking for help to document, debug, and develop this code.

Disclaimer:

The SIGMA code is distributed under the GNU General Public License (please see the files and links on the right).

Not all the interface functions are documented. Not all the interface functions are operational. The interface does not implement all the input functions available in SWAN.

The code provided here is the result of intermittent work by Alex Sheremet, over a number of years, written and re-written many times over, mainly driven by his own nebulous ideas and needs at the time and in blatant disregard of common sense, logic and other people's patience limits.

There is no implied guarantees that it may serve any purpose whatsoever. The user is strongly cautioned not to rely on it for any activity which may have significant consequences. Alex Sheremet will not be held liable for any consequences resulting from the use of this code.
SWAN (see link) is a third-generation wave model that computes random, short-crested wind-generated waves in coastal regions and inland waters. The current version of SWAN is 40.41 and succeeds the previous version 40.31 as from December 2004. A list with modifications is maintained. Also a list of known bugs and patches is maintained for the current SWAN version. The software can be downloaded and can be used freely under the terms of the GNU General Public License.
MATLAB® (see link) is a high-level language and interactive environment for data analysis, developed and marketed by The MathWorks, Inc. (Copyright 1984-2005).
Note: Posted minimal corrections to the code to make windows fit into small screens and avoid using functions which are broken on the latest MATLAB® release.

Download

Links