GRIDCONVERT
From BAWiki
Basic Information
Name of Program
GRIDCONVERT
Version-Date
2.6 / May 2011
Description-Date
May 2011
Catchwords
conversion of computational grids
read and write computational grids in different file formats
Short Description of Functionality
Program GRIRDCONVERT can be used to convert computational grids for different mathematical methods:
- between different file formats but identical structure of the computational grid,
- between different grid types and different file formats,
- refinement (factor 4) of an UNTRIM grid, as well as
- flattening of all sub grid scale bathymetry variations within all grid cells and along all edges.
Due to some specific properties of computational grids for mathematical methods the number of possible conversions remains naturally very limited. The grid will not be optimized automatically with respect to the specific requirements of the different mathematical models.
Input-Files
- computational grid (input formats)
- The following file formats are currently supported:
Output-Files
- computational grid (output formats)
- The following file formats are currently supported:
- gitter05.dat/bin,
- untrim_grid.dat,
- utrsub_grid.dat,
- pltsub_grid.upi, and
- cf-netcdf.nc (actual only gitter05.dat/bin and location grid file).
- The following file formats are currently supported:
Methodology
The computational grid informations are converted using various methods from the software package H_GRID as well as written to file in different formats.
Files with informations concerning locations are converted by the software package called L_GRID.
Notice: You can add some optional information blocks to the input file. This is the way to put additional meta data, e.g. of the CF-convention, into the CF-NetCDF file.
See example file:
$PROGHOME/examples/gridconvert/data/loc/lg.allCFinfo.dat or
$PROGHOME/examples/lib/h_grid/h_grid_test_g05_plus_CF_Info_input.dat
Program(s) to run before this Program
DELFT3D, JANET, TELEMAC-2D, UNTRIM
Program(s) to run after this Program
DATACONVERT, HVIEW2D, JANET, UNTRIM, UTRPRE
Additional Information
Language
Fortran90
Additional software
-
Original Version
Maintenance
Documentation/Literature
example files:
$PROGHOME/examples/gridconvert/
$PROGHOME/examples/gridconvert/data/loc/
Further informations:
All NetCDF conventions, which are relevant to store the typical BAW-specific data, are documented in the
NetCDF-Pages of BAW-Wiki.
back to Program Descriptions