Actions

UTRSUB GRID.DAT

From BAWiki

Revision as of 09:22, 6 January 2011 by imported>Lang Guenther (improved description -> use of "depth classes")

Basic Information

File-Type

utrsub_grid.dat

Version

1.x / September 2010

Description-Date

January 2011

Significance of the File

contains grid data for the numerical model UnTRIM2 (with SubGrid data)

File-Contents (in Catchwords)

  1. static informations:
    • number of vertices;
    • number of edges (geometric edges of a grid);
    • number of polygons (geometric polygons of a grid);
    • number of red polygons;
    • number of polygons at open boundaries;
    • number of internal edges;
    • last edge number with Dirichlet boundary condition (number of edges with flow);
    • mean geographic latitude;
    • EPSG code for coordinate transformation (see EPSG Geodetic Parameter Registry);
    • informative text;
    • number of subpolygon depth classes (larger or equal than number of polygons);
    • number of subedge depth classes (larger or equal than number of edges with flow).
  2. dynamic data:
    • vertex data (for each vertex):
      • vertex number (informative),
      • x- and y-coordinate, and
      • (optional) vertex depth.
    • polygon data (for each polygon):
      • polygon number (informative),
      • number of vertices (and edges),
      • x- and y-coordinate of the center (meaningful for the computational method),
      • node indices (anti clockwise sorting), and
      • edge indices (anti clockwise sorting).
    • edge data (for each edge):
      • edge number (informative),
      • first node of an edge,
      • second node of an edge,
      • indices of adjacent polygons (0 indicates missing polygons - boundary edge).
    • subpolygon depth class data (for each polygon):
      • polygon number (informative),
      • number of local subpolygon depth classes,
      • areas for all local subpolygon depth classes (the sum of all sub areas must be less than or equal to the geometric polygon area), and
      • depths for all local subpolygon depth classes.
    • subedge data (for each edge):
      • edge number (informative),
      • number of local subedge depth classes,
      • lengths of all local subedge depth classes (the sum of all sub lengths must be less than or equal to the geometric edge length), and
      • depths for all local subedge depth classes.
    Remark: the maximum subedge depth of an edge may not be larger than the maximum subpolygon depth from the adjacent polygons.

Programs using this Type of File

GRIDCONVERT, SGHVIEW2D, UNTRIM2, UTRPRE, VVIEW2D

Additional Information

Language

Fortran90

File-Form

FORMATTED

File-Access

SEQUENTIAL (DELIM=QUOTE)

File-Extension

.dat

WRITE-Subroutine(s)/Module(s)

mod_p_h_grid_ui.f90 (User-Interface).

READ-Subroutine(s)/Module(s)

mod_p_h_grid_ui.f90 (User-Interface).

Original Version

V. Casulli, G. Lang

Maintenance

G. Lang, S. Spohr

Example-File

see $PROGHOME/examples/lib/h_grid/


back to: File Descriptions


Overview