USGS - science for a changing world

Woods Hole Coastal and Marine Science Center

Skip Navigation

SeaGrid Tutorial

This tutorial shows how to use SeaGrid, a Matlab-5 program for constructing an orthogonal, curvilinear grid, suitable for oceanographic modeling.

Installing SeaGrid

  1. Download and install all the software, as instructed in the SeaGrid Home Page. Be sure to adjust your Matlab path.

  2. Restart Matlab.
  3. Execute "seagrid version" at the Matlab prompt. If Matlab is unable to find "seagrid", check the Matlab path.

Using SeaGrid

Follow these instructions to reproduce the figures shown below. Generally speaking, the operations can be performed in any order that makes sense.

(Note: The grids shown here are not quite orthogonal throughout, owing to the simple Fourier/Poisson solver that was used on the Macintosh that made these JPEG pictures. The Unix and PCWIN versions, implemented through FORTRAN Mex-files, show better orthogonality. The figures may also display clashing colors, because the graphical layers were superimposed with the "xor" drawing mode.)

Skip Navigation

Accessibility FOIA Privacy Policies and Notices

USAGov logo U.S. Department of the Interior | U.S. Geological Survey

Page Contact Information: WHSC Webmaster
This page last modified on