Download SHETRAN Standard Version – V4.4.1 User Guide and Data Input

Transcript
Appendix A: Data File Formats for the Sediment and Contaminant Transport
Components
This appendix defines certain generic formats used in the specification of input data files for the
sediment and contaminant transport components of SHETRAN. The definitions should be interpreted
within the context of FORTRAN 77 (ANSI X3.9-1978).
Each format corresponds to a sequence of formatted records within a data file. The first record of
each format is always a title (or header). On input the contents of this record are transferred to a
character variable of length 80, and are expected to contain some identifying code. Subsequent
records within a format conform to the defintions below.
In the following the “format name” is the name by which the given format may be referred to; and
the “format identifier” and “input/output list” are as defined in the FORTRAN 77 Standard. The
definition of “input/output list items” is extended here to include those embedded within an impliedDO list. Wherever practical, list-directed input/output is specified (in which case the format identifer
is simply an asterisk).
Some of the following data input formats are rather complex; these are best interpreted with the help
of example data sets.
Integer List
Format name :
Format identifier:
Input/output list:
I
*
List of input/output list items of type integer.
Floating-point List
Format name :
Format identifier:
Input/output list:
F
*
List of input/output list items of type real or double precision.
Logical List
Format name :
Format identifier:
Input/output list:
L
*
List of input/output list items of type logical.
Character List
Format name :
Cn
Format identifier:
Input/output list:
‘(A)’
List of input/output list items of type character.
Integer Grid-array
Format name :
IG
83
(eg C80) where n is the length of the input/output list item(s) into/from
which the data are transferred.
This format has an associated FLAG whose value (>1) is an upper
bound on the range of values expected. If FLAG is less than 10 the