Difference between revisions of "Grid Generation"

From WikiROMS
Jump to navigationJump to search
Line 13: Line 13:
Some useful m-files for working with SEAGRID are  
Some useful m-files for working with SEAGRID are  


* join_cst.m: turn coastline segments into land mask polygons
* join_cst.m: Turn coastline segments (e.g. from the [http://rimmer.ngdc.noaa.gov/coast/ Coastline Extractor]) into land mask polygons.
* read_srtm30plus.m: read SRTM30+ worldwide 30sec (~1km) topography via Web Mapping Service  
* read_srtm30plus.m: Read SRTM30+ worldwide 30sec (~1km) topography via Web Mapping Service.


These tools are part of the RPSstuff Matlab toolbox available via SVN:
These tools are part of the RPSstuff Matlab toolbox available via SVN:

Revision as of 13:19, 3 October 2007

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 (e.g. from the Coastline Extractor) into land mask polygons.
  • read_srtm30plus.m: Read SRTM30+ worldwide 30sec (~1km) topography via Web Mapping Service.

These tools are part of the RPSstuff Matlab toolbox available via SVN:

 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")