Grid Generation
From WikiROMS
Grid Generation
ROMS uses an Arakawa "C" Grid. The grid can be specified using analytical functions or with a netcdf file. To create a netcdf grid file, there are several grid generation tools.
SEAGRID
A GUI-based Matlab program for creating curvilinear orthogonal grids with 4 corners
http://woodshole.er.usgs.gov/operations/modeling/seagrid/seagrid.html
Some useful m-files for working with SEAGRID are:
join_cst.m: turn coastline segments into land mask polygons read_srtm30plus.m: read SRTM30+ worldwide 30sec (~1km) topography via Web Mapping Service available via SVN at svn co https://svn1.hosted-projects.com/cmgsoft/m_cmg/trunk/RPSstuff rps_stuff
GRIDGEN by Pavel Sakov
A C program for creating curvilinear orthogonal grids with an arbitrary number of corners
http://www.marine.csiro.au/~sakov/ (scroll down Pavel's page to the section on "orthogonal grid generation")