Native CVLGrid Formats
Data Format A-1 - CVL File
The CVL file is the native CVLGrid grid file. The header lines describe the format for the grid.
Example
____________________________________________________________________________________________________
* DSI CVLGrid Version 1.1
*
* The 1st line: CVLGrid file format version
* The 2nd line: # row, # col, coordinate system (0-Cartesian),
* UTM zone (default 0, > 0 for northern hemisphere, < 0 for southern hemisphere),
* 3 parameters (scale and shift for X and Y, default 1, 0, 0),
* 2 parameters (scale and shift, default 1 and 0) for vertical units conversion Z.
* Other lines: I, J (corner nodes), Cell Type, X, Y, Z LL Corner Coordinate
CVLGridFormat=1.0
136 280 0 0 1 0 0 1 0
1 157 5 4.917964931152040E+05 5.242959347802510E+06 0
1 158 5 4.912742546024100E+05 5.243034901705380E+06 0
1 159 5 4.907515911957290E+05 5.243117804821200E+06 0
1 160 5 4.902472357772360E+05 5.243210643889140E+06 0
1 161 5 4.897719663253260E+05 5.243314696917570E+06 0
1 162 5 4.893519862918540E+05 5.243423351823180E+06 0
Data Format A-2 P2D Polyline/Polygon File.
Any number of polylines/polygons can reside in the same file. Each one begins with a single line header that is used as the "ID" of the polyline/polygon. Next comes the data in either 2D or 3D format, the importing automatically handles either. Finally the polyline/polygon is finished (not necessarily "closed") by an "*" in column 1. There is no difference between polyline and polygon in a P2D file, only how the data are treated by the application reading the file.
Example
____________________________________________________________________________________________________
Polyline Test
609115.69390674 3643612.72035394 0
608828.057738002 3642922.39387814 0
608569.186338242 3642232.06904821 0
608396.604307826 3640908.94563456 0
...
...
...
601493.350247946 3628713.19503985 0
601464.586301899 3627763.99747289 0
601522.11337106 3627016.14485373 0
601522.11337106 3626642.21854415 0 *
General Grid Formats
Data Format A-3 DXDY/LXLY
Example
____________________________________________________________________________________________________
C DXDY.INP FILE, IN FREE FORMAT ACROSS COLUMNS for 9322 Active Cells
C Project: AWWU BE
C BOTTOM Veg
C I J DX DY DEPTH ELEV ZROUGH TYPE
3 41 713.7 1052.2 0.081 7.992 0.0010
3 42 693.1 1022.4 0.081 6.552 0.0010
3 43 674.6 996.8 0.081 8.050 0.0010
3 44 657.2 894.7 0.081 8.044 0.0010
3 45 640.1 1026.0 0.081 8.143 0.0010
3 46 622.5 942.8 0.081 6.302 0.0010
3 47 605.0 869.4 0.081 8.317 0.0010
4 27 879.6 1627.8 0.081 6.200 0.0010
4 40 690.6 1080.7 0.081 7.607 0.0010
Example
____________________________________________________________________________________________________
C LXLY.INP FILE, IN FREE FORMAT ACROSS LINE for 9322 Active Cells
C Project: AWWU BE
C WIND
C I J X Y CUE CVE CUN CVN SHELTER
3 41 624703.9 6794905.0 0.23872 0.97109 -0.97109 0.23872 1.00
3 42 625713.0 6795145.1 0.22543 0.97426 -0.97426 0.22543 1.00
3 43 626698.3 6795365.6 0.21242 0.97718 -0.97718 0.21242 1.00
3 44 627623.9 6795560.3 0.20017 0.97976 -0.97976 0.20017 1.00
3 45 628566.2 6795745.9 0.18848 0.98208 -0.98208 0.18848 1.00
3 46 629534.1 6795924.9 0.17670 0.98426 -0.98426 0.17670 1.00
3 47 630427.0 6796079.0 0.16587 0.98615 -0.98615 0.16587 1.00
4 27 610220.5 6788565.6 0.48437 0.87486 -0.87486 0.48437 1.00
4 40 623852.8 6793953.4 0.27212 0.96226 -0.96226 0.27212 1.00
4 41 624875.6 6794236.1 0.25910 0.96585 -0.96585 0.25910 1.00
4 42 625870.4 6794492.8 0.24376 0.96984 -0.96984 0.24376 1.00
Data Format A-4 Corners(4)
Example
____________________________________________________________________________________________________
* 07-Oct-07 3:49:15 PM
* I J X Y
3 3 147268.3 211473.6 147427.3 211409.0 147474.5 211475.5 147312.4 211573.0
4 3 147312.4 211573.0 147474.5 211475.5 147538.3 211555.3 147374.2 211687.1
5 3 147374.2 211687.1 147538.3 211555.3 147622.8 211650.0 147452.3 211811.0
6 3 147452.3 211811.0 147622.8 211650.0 147726.5 211758.3 147545.0 211943.4
7 3 147545.0 211943.4 147726.5 211758.3 147843.6 211876.1 147649.1 212082.4
8 3 147649.1 212082.4 147843.6 211876.1 147970.5 212002.1 147760.9 212226.5
9 3 147760.9 212226.5 147970.5 212002.1 148102.9 212134.7 147876.0 212373.1
Grid Formats from Other Models Imported into CVLGrid
Data Format A-5 ECOMSED
ECOMSED is a three-dimensional hydrodynamic and sediment transport computer code developed by HydroQual.
Example of Grid format
____________________________________________________________________________________________________
ECOMSED ST CHANNEL GRID 255X 161
2 SIGMA LEVELS
2
0.00
-1.00
HORIZONTAL SEGMENTATION: 186.1318 M BY 283.3225 M
257 163
176 3 186.13180 283.32250 0.00 112.46 27.145591 -122.122904 0.00
17