NAME
v.in.adcirc_grid - Loads ADCIRC fort.14 triangular mesh into a GRASS vector.
KEYWORDS
Import, ADCIRC, vector
SYNOPSIS
v.in.adcirc_grid
v.in.adcirc_grid help
v.in.adcirc_grid [-p] input=name output=name [--overwrite] [--verbose] [--quiet]
Flags:
- -p
- Load node points instead of mesh lines
- --overwrite
- Allow output files to overwrite existing files
- --verbose
- Verbose module output
- --quiet
- Quiet module output
Parameters:
- input=name
- Name of input file
- output=name
- Name for output vector map
DESCRIPTION
This module will import a grid and boundary information file
(fort.14) created for the ADCIRC
coastal ocean circulation model.
The user may choose between importing the mesh grid triangles as lines, or
by using the -p flag, importing the grid nodes as points. In both
cases 3D coordinates and identifier numbers are preserved.
NOTES
MPI users can import the fort.14 files from the PE0000/
directories to spatially view the sections of the full grid running on
each node. (e.g. for determining which SWAN control files to manually adjust)
Depths are converted to negative values during the import.
EXAMPLES
Import the mesh grid as vector lines:
v.in.adcirc_grid input=fort.14 output=mesh_grid
Copy the per-node grid files into the main working directory, then import
them individually:
for dir in PE0* ; do
cp $dir/fort.14 fort.14.$dir
v.in.adcirc_grid input=fort.14.$dir output=mesh_grid_$dir
done
TODO
Create an attribute database containing node attributes.
(boundary nodes, ...)
SEE ALSO
v.in.ascii
AUTHOR
Hamish Bowman
Geology Department
University of Otago
Dunedin, New Zealand
Last changed: $Date$
Main index - vector index - Full index
© 2003-2016 GRASS Development Team