--------------------------------------------------------------------------------
MODULE DTICOMBINE
--------------------------------------------------------------------------------
REPLACES None. DTICOMBINE is a new MATRIX utility.
--------------------------------------------------------------------------------
DTICOMBINE allows data values in multiple DTI files (maximum 8) to be combined according to a user specified arithmetic expression. DTICOMBINE creates an output DTI file containing the resulting data values.
Optionally, only data values that lie within a user specified rectangular window within each input file will be processed.
DTICOMBINE may be used to perform overlay operations and to determine differences between DTI files.
$ DTICOMBINE
None, DTICOMBINE is command driven.
--------------------------------------------------------------------------------
On program startup, the following command defaults apply:
ABSOLUTE - enabled.
CLASSIFICATION- disabled.
DIAGNOSTICS - disabled.
PME - disabled.
OUTPUT - INTERSECTION
--------------------------------------------------------------------------------
----------------------------------------------------------------------
DTICOMBINE allows data values in multiple DTI files (maximum 8) to be combined according to a user specified arithmetic expression. DTICOMBINE creates an output DTI file containing the resulting data values.
Optionally only data values that lie within a user specified rectangular window may be processed.
DTICOMBINE may be used to perform overlay operations and to determine differences between DTI files.
Classification of data can also be performed by DTICOMBINE.
If diagnostic printout is enabled, the resulting messages are sent to SYS$OUTPUT:.
----------------------------------------------------------------------
If a null post value is encountered in any of the input files, then a corresponding null value is generated in the output file for any arithmetic expression (and a warning message generated at the first null occurrence). However, for MAX or MIN expressions, null values are simply ignored and a result obtained from the remaining values, if any (and a similar warning message generated at the first null occurrence). Null values are recognised as the following for various file data types: -
-32767 if WORD type. 80000000 Hex if LONG type. -1.0E-38 if REAL type. 0 is output as the null value for BYTE files.
----------------------------------------------------------------------
Detailed descriptions of the individual commands available are given below.
A typical command sequence is:
FILEA TESTDATA1 - input file A is LSL$DTI:TESTDATA1.DTI
WINDOW 100 100 200 200 - area of interest in input file A is defined
by SW 100x 100y and NE 200x 200y matrix units
FILEB TESTDATA2 - input file B is LSL$DTI:TESTDATA2.DTI. In the
absence of a WINDOW command following the
FILEB command, the whole DTI file will be used
WORD=A*B - the expression defining the combination of
DTI file A and DTI file B. The result is to be
placed in a word type DTI file. (Not yet
specified).
FILEOUT RESULT.DTI - Specifies that LSL$DTI:RESULT.DTI is to be
used as the output file.
GO - Create and open LSL$DTI:RESULT.DTI as output
file. Start to process. The size of the
file is determined by the size of the input
files or by a window command (if specified).
The type of file (DTED, LSLA etc.) is set to
that of the input file with the lowest
alphabetic identifier.
This series of commands specifies that DTICOMBINE is to combine two DTI files: LSL$DTI:TESTDATA1.DTI;0 as file A and LSL$DTI:TESTDATA2.DTI;0 as file B.
Output is to be to a new DTI file; LSL$DTI:RESULT.DTI;0.
The WORD=A*B command specifies the expression defining how the 2 input files are to be combined and that the results are to be stored in a DTI file as word (16 bit) integers.
--------------------------------------------------------------------------------
_@
Take command input from the specified file.
--------------------------------------------------------------------------------
FORMAT: _@ file-spec
--------------------------------------------------------------------------------
Command parameters:
file-spec
The file to be opened and used for command input.
Any parts of the file-spec not supplied for the @ command will be taken from the default specification 'SYS$DISK:[].COM;0'.
--------------------------------------------------------------------------------
DESCRIPTION:
DTICOMBINE offers the facility of command input from an indirect command file. The '@' character preceding a file-spec will cause DTICOMBINE to open and read commands from the specified file until:
Nested command files are not supported (i_.e_. a command file containing an '@' command), although sequential '@' commands are supported when read from SYS$COMMAND.
As an aid to batch log interpretation DTICOMBINE will echo all commands read from an indirect command file.
--------------------------------------------------------------------------------
Messages:
The following messages are specific to the _@ command:
*** WARNING *** "@" must precede a file-spec
*** WARNING *** Indirect file error - returning to terminal input
*** ERROR *** Can't open indirect command file 'file-spec'
--------------------------------------------------------------------------------
Examples:
$ DTICOMBINE<CR>
MATRIX module DTICOMBINE of 18:30:39 18-FEB-88
DTICOMBINE> @PRESETS<CR>
DTICOMBINE> ENABLE DIAGNOSTICS
DTICOMBINE> FILEA ISOTROPHIC_1000.DTI
DTICOMBINE> WINDOW 1 1 101 51
DTICOMBINE> REAL=ABS((A*B)/(C**2))
DTICOMBINE> RETURN
DTICOMBINE>
--------------------------------------------------------------------------------
_!
Treat all text to the right of the '!' as a comment.
--------------------------------------------------------------------------------
FORMAT: _! [comment text]
--------------------------------------------------------------------------------
Command parameters:
comment text
text that is to be treated as a comment and which will be excluded from command interpretation.
--------------------------------------------------------------------------------
DESCRIPTION:
An exclamation mark is the standard DTM package comment delimiter. All text (and numbers) which lie to the right of a '!' character are excluded from command interpretation. Comments are useful for annotating command procedures used in batch processing etc_.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICOMBINE> _! a comment for the sake of it<CR>
DTICOMBINE> WINDOW 1 1 200 250
--------------------------------------------------------------------------------
BYTE
The BYTE command enables specification of the combination expression and instructs DTICOMBINE to place the results into a BYTE valued DTI file.
--------------------------------------------------------------------------------
FORMAT: BYTE = expression
--------------------------------------------------------------------------------
Command parameters:
expression
Specifies the arithmetic expression with which the input DTI files are to be combined.
- See section 9 for the description of the format of the expressions
--------------------------------------------------------------------------------
DESCRIPTION:
The BYTE command enables specification of the combination expression and instructs DTICOMBINE to place the results into a BYTE valued DTI file.
--------------------------------------------------------------------------------
Messages:
The following messages are specific to the BYTE command:
*** ERROR *** Byte underflow detected at post X = 'integer', Y = 'integer'
*** ERROR *** Byte overflow detected at post X = 'integer', Y = 'integer'
--------------------------------------------------------------------------------
Examples:
DTICOMBINE> BYTE=A*(B-C)<CR>
DTICOMBINE>
--------------------------------------------------------------------------------
CLASS
Allows creation of new, or access to an old, class.
--------------------------------------------------------------------------------
FORMAT: CLASS class-id
--------------------------------------------------------------------------------
Command parameters:
class-id
The value to which output DTI data - which matches the members of this class - are set.
The class-id can be a fixed or floating-point value.
--------------------------------------------------------------------------------
DESCRIPTION:
The CLASS command enables the user to create or re-open a class - depending on whether the class already exists, or not.
Once the class is open, all INCLUDE and EXCLUDE commands are then directed to that class until a further CLASS or DISABLE CLASSIFICATION command is issued.
Classification must be enabled before a CLASS command can be issued.
--------------------------------------------------------------------------------
Messages:
The following warning messages are specific to the CLASS command:
*** WARNING *** CLASSIFICATION not ENABLEd
*** WARNING *** Missing or illegal class number
*** WARNING *** Maximum number of classifications exceeded
--------------------------------------------------------------------------------
Examples:
_$ DTICOMBINE<CR>
MATRIX module DTICOMBINE of 10:41:45 29-FEB-88
CLASS 2.0 120.0 >=200.0 <=300.0
CLASS 10.0 All values
DTICOMBINE>
--------------------------------------------------------------------------------
CLOSE
Facilitates closure of a DTI file previously opened with a FILEx command.
--------------------------------------------------------------------------------
FORMAT: CLOSE file-id
--------------------------------------------------------------------------------
Command parameters:
file-id
The symbolic identification of the DTI file to be closed. For example, if the file to be closed was opened as file A in the combination expression by use of the FILEA command, its file-id is A.
--------------------------------------------------------------------------------
DESCRIPTION:
The CLOSE command enables the user to close a DTI file previously opened with a FILEx command.
An example application of the CLOSE command arises when an input file has been incorrectly windowed and a subsequent FILEx command issued. The incorrectly windowed file may be closed with the CLOSE command and then reopened with a FILEx command and the WINDOW respecified.
--------------------------------------------------------------------------------
Messages:
--------------------------------------------------------------------------------
Examples:
_$ DTICOMBINE<CR>
MATRIX module DTICOMBINE of 10:41:45 29-FEB-88
--------------------------------------------------------------------------------
DELETE
Deletes CLASSes.
--------------------------------------------------------------------------------
FORMAT: DELETE class-id
--------------------------------------------------------------------------------
Command parameters:
class-id
The number of the CLASS to delete; if ALL specified then all the classes will be deleted.
--------------------------------------------------------------------------------
DESCRIPTION:
Deletes either all or specific CLASSes.
--------------------------------------------------------------------------------
Messages:
*** WARNING *** No CLASS deleted
*** ERROR *** Missing or illegal CLASS specified
CLASS
All CLASSes deleted
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Disables a previous ENABLE ABSOLUTE command.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
DISABLE ABSOLUTE cancels a previous ENABLE ABSOLUTE command. If DISABLE
ABSOLUTE is given, then coordinate values required by the WINDOW command,
supplied in metre or projection units, must be specified as an offset from the
SW corner of the matrix.
--------------------------------------------------------------------------------
The following error message is specific to the DISABLE command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Disables a previous ENABLE CLASSIFICATION command.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
DISABLE CLASSIFICATION allows the user to disable a previous
ENABLE CLASSIFICATION command.
--------------------------------------------------------------------------------
The following error message is specific to the DISABLE command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Disables a previous ENABLE DIAGNOSTICS command.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
DISABLE DIAGNOSTICS allows the user to disable a previous
ENABLE DIAGNOSTICS command.
--------------------------------------------------------------------------------
The following error message is specific to the DISABLE command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Disables a previous ENABLE PME command.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
DISABLE PME allows the user to disable a previous ENABLE PME command.
--------------------------------------------------------------------------------
The following messages are specific to the DISABLE and DISABLE PME
commands:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Selects the use of absolute coordinates values.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
If ENABLE ABSOLUTE is given, then coordinate values required by the
WINDOW command, supplied in metre or projection
units, must be specified as absolute (rather than relative) coordinate values.
For example if the projection indicates U.K. National Grid, then the
WINDOW values may be specified as 6 figure National Grid coordinates.
This option can be disabled using the DISABLE ABSOLUTE command.
--------------------------------------------------------------------------------
The following error message is specific to the ENABLE command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
ENABLE CLASSIFICATION allows the user to enable classification of
output data.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
ENABLE CLASSIFICATION allows the user to enable classification of output
data.
Please see the CLASS command.
--------------------------------------------------------------------------------
The following error message is specific to the ENABLE command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
ENABLE DIAGNOSTICS allows the user to enable diagnostic printout.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The ENABLE DIAGNOSTICS command is reserved for Laser-Scan use. DIAGNOSTICS
is a debugging tool and should be invoked by LSL software personnel only.
DIAGNOSTICS allows a detailed listing of what the software is doing and
helps to identify possible software performance inconsistencies. This causes
the execution of the software to be slower.
--------------------------------------------------------------------------------
The following error message is specific to the ENABLE command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
ENABLE PME enables the PME performance monitor.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The ENABLE PME and DISABLE PME commands are reserved for Laser-Scan use.
PME is a code optimisation tool and should be invoked by LSL software personnel
only.
ENABLE PME causes the PME_INIT routine to be invoked.
--------------------------------------------------------------------------------
The following messages are specific to the ENABLE and ENABLE PME commands:
*** WARNING *** You are already using PME!
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The EXCLUDE command prevents the association of user-supplied values to
classes.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
arguments
Specifies the value, or range of values, that are not to be matched-up
with the output DTI data.
EXCLUDE
Argument is an integer or floating point constant - with or without
qualifiers; or a range of constants - with or without qualifiers.
Available qualifiers:
: range specifier
> greater than
< less than
>= greater than or equal to
<= less than or equal to
--------------------------------------------------------------------------------
The EXCLUDE command excludes a value, or range of values, from being
included as a member of a currently open CLASS.
For further explanation - please see the INCLUDE command (NB the only way
in which EXCLUDE differs from INCLUDE is in that EXCLUDE does not take the
"ALL" qualifier).
--------------------------------------------------------------------------------
The following messages are specific to the EXCLUDE command:
*** WARNING *** CLASSIFICATION not ENABLEd
*** WARNING *** No class currently open - use command CLASS n first
*** ERROR ***
*** ERROR ***
*** ERROR ***
*** ERROR ***
*** ERROR ***
*** ERROR ***
*** ERROR ***
*** ERROR ***
*** ERROR ***
*** ERROR ***
*** ERROR ***
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Specifies a DTI file that is to be opened and used for data input as
file 'x' in the combination expression.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
dti-file-spec
The specification of the DTI file to be opened for data input.
Any parts of the file-spec not supplied for the FILEx command will be
taken from the default file specification 'LSL$DTI:DTI.DTI;0'.
--------------------------------------------------------------------------------
The FILEx command causes the specified file to be opened and used as
input file 'x' in the combination expression.
FILEx commands must selected from the range FILEA to FILEH inclusive;
i_.e_. FILEA, FILEB, FILEC, FILED, FILEE, FILEF, FILEG, FILEH.
A file may be specified for all 8 possible FILEx commands in this range within
a single DTICOMBINE run.
DTICOMBINE checks that a file has been opened for each of the operands A
through H in the user defined expression before a GO command will be
executed. Similarly, DTICOMBINE checks that all files specified with FILEx
commands are actually referenced within the user defined expression.
A file that has been opened by mistake using a FILEx command may be closed
again using the CLOSE command.
At least one FILEx command must be issued before the WINDOW or GO
commands will be accepted.
The output DTI file header type is taken from the input DTI file opened
with the lowest alphabetic FILEx command. Thus if the FILEx commands
FILEC TEST.DTI;0 and FILEF TEST2.DTI;8 are issued, the output file header
type will be taken from the DTI file opened for input with the FILEC command.
A FILEx command also sets the context for the WINDOW command. The WINDOW
command will only be accepted after a FILEx command has been accepted. The
WINDOW command will relate to the file most recently opened with a FILEx
command until the next FILEx command is issued, where-upon context is switched
to the latest input file.
Appropriate default units of measurement are set up for the WINDOW
command whenever an input DTI file is opened using a FILEx command.
The UNITS command should be given after opening the DTI file, but
before the WINDOW command, should the user wish to specify WINDOW command
arguments in a different measurement system to the file-type default.
If input file has been incorrectly windowed and
a subsequent FILEx command issued, all is not lost. The incorrectly windowed
file may be closed with the CLOSE command and then reopened with a FILEx
command and the WINDOW respecified.
--------------------------------------------------------------------------------
The following messages are specific to the FILEx commands:
*** WARNING *** You must specify a file-spec argument to the FILEx command
*** ERROR *** Unable to interpret input file-spec
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Specifies a DTI file that is to be opened and used for data output
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
dti-file-spec
The specification of the DTI file to be opened for data output.
Any parts of the file-spec not supplied for the FILEOUT command will be
taken from the default file specification 'LSL$DTI:DTI.DTI;0'.
--------------------------------------------------------------------------------
The FILEOUT command causes the specified file to be opened and used as
the output file in the combination expression.
The output DTI file data type is taken from the keyword on
the left hand side of the combination expression. Possible data types are
The output DTI file header type is taken from the input DTI file opened
with the lowest alphabetic FILEx command. Thus if the FILEx commands
FILEC TEST.DTI;0 and FILEF TEST2.DTI;8 are issued, the output file header
type will be taken from the DTI file opened for input with the FILEC command.
--------------------------------------------------------------------------------
The following messages are specific to the FILEOUT command:
*** WARNING *** You must specify a file-spec argument to the FILEOUT command
*** ERROR *** Unable to interpret input file-spec
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
GO starts DTICOMBINE processing.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The GO command creates and opens the output file specified with the
FILEOUT command and then sets DTICOMBINE processing in motion.
Before the output file is opened, DTICOMBINE checks that the following
condition are met:
The output DTI file header type is taken from the input DTI file opened
with the lowest alphabetic FILEx command. Thus if the FILEx commands
FILEC TEST.DTI;0 and FILEF TEST2.DTI;8 are issued, the output file header
type will be taken from the DTI file opened for input with the FILEC command.
--------------------------------------------------------------------------------
The following messages are specific to the GO command:
*** WARNING *** You must specify at least one input DTI file before processing can begin
*** WARNING *** You must specify the expression defining the file combination before processing can begin
*** WARNING *** You must use the FILEOUT command to specify the output DTI file before processing can begin
*** ERROR *** File 'file-spec' open but not used in expression
*** ERROR *** No file open for operand 'operand' in expression
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Give help on a subject
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
subject
The subject on which help is required.
--------------------------------------------------------------------------------
The HELP command looks the rest of the line up in the MATRIX HELP
library. This library contains a brief summary of the operation of each
command.
The information is looked up in the DTICOMBINE section of the MATRIX
help library, LSL$HELP:MATRIX.HLB.
--------------------------------------------------------------------------------
Where required, warning messages are output via the VMS LBR$OUTPUT_HELP
utility.
--------------------------------------------------------------------------------
DTICOMBINE
ENABLE
PME
The ENABLE PME and DISABLE PME commands are reserved for Laser-Scan use.
PME is a code optimisation tool and should be invoked by LSL software personnel
only.
ENABLE PME causes the PME_INIT routine to be invoked.
--------------------------------------------------------------------------------
The INCLUDE command allows association of user-supplied values to classes.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
arguments
Specifies the value, or range of values, that are to be matched-up with
the output DTI data.
INCLUDE
Argument is an integer or floating point constant - with or without
qualifiers; or a range of constants - with or without qualifiers; or the
keyword ALL
Available qualifiers:
: range specifier
> greater than
< less than
>= greater than or equal to
<= less than or equal to
--------------------------------------------------------------------------------
The INCLUDE command enables a value, or range of values, to be included
as a member of a currently open CLASS.
On output of the DTI data, the data is compared against all the members
of all the classes set-up, if there is a match then the DTI value is changed
to that of the class-id, if there is no match to any of the class-members
then the DTI value is set to zero.
Specifying ALL with INCLUDE causes all the DTI values that failed to
match any members of any of the other classes to be set to the class-id of
this class. If more than one class has an INCLUDE ALL specification, then
the class-id of the first - chronologically speaking - class, is used.
If no INCLUDE or EXCLUDE command is issued in association with a CLASS
command then the effect is the same as if the INCLUDE ALL command was issued.
--------------------------------------------------------------------------------
The following messages are specific to the INCLUDE command:
*** WARNING *** CLASSIFICATION not ENABLEd
*** WARNING *** No class currently open - use command CLASS n first
*** ERROR ***
*** ERROR ***
*** ERROR ***
*** ERROR ***
*** ERROR ***
*** ERROR ***
*** ERROR ***
*** ERROR ***
*** ERROR ***
*** ERROR ***
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The LONGWORD command enables specification of the combination expression
and instructs DTICOMBINE to place the results into a LONGWORD valued DTI file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
expression
Specifies the arithmetic expression with which the input DTI files are to
be combined.
- See section 9 for the description of the format of the expressions
--------------------------------------------------------------------------------
The LONGWORD command enables specification of the combination expression
and instructs DTICOMBINE to place the results into a LONGWORD valued DTI file.
--------------------------------------------------------------------------------
The following messages are specific to the LONGWORD command:
*** ERROR *** Longword underflow detected at post X = 'integer', Y = 'integer'
*** ERROR *** Longword overflow detected at post X = 'integer', Y = 'integer'
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Sets area from which data will be used to generate output file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Sets the area from which the data will be taken to create the output
file to be the common area of overlap between the open DTI files.
--------------------------------------------------------------------------------
When the GO command is issued, the areas covered by the files are checked.
If all the files do not overlap, then the OUTPUT is set to UNION (see
command OUTPUT UNION) and a warning message is issued.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Sets area from which data will be used to generate output file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Sets the area from which the data will be taken to create the output
file to be the rectangle which contains all of the input DTI files.
The rectangle is bounded by the extreme north-east and south-west
corners (in real world coordinates), of the active windows in the open DTI
files.
When the GO command is issued, areas of the input files which fall within
the UNION area but fall outside the active window areas are treated as NULL.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Pauses DTICOMBINE execution.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Pauses DTICOMBINE execution and issues a prompt for a carriage return to
continue execution. This command is designed for use in software demonstration
situations.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Quit from DTICOMBINE.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The QUIT command causes DTICOMBINE to exit immediately, closing the input
file and closing and deleting the output file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
DTICOMBINE> QUIT<CR>
--------------------------------------------------------------------------------
The REAL command enables specification of the combination expression
and instructs DTICOMBINE to place the results into a REAL valued DTI file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
expression
Specifies the arithmetic expression with which the input DTI files are to
be combined.
- See section 9 for the description of the format of the expressions
--------------------------------------------------------------------------------
The REAL command enables specification of the combination expression
and instructs DTICOMBINE to place the results into a REAL valued DTI file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Restores command input from an indirect file to SYS$COMMAND.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Restores command input from an indirect file to SYS$COMMAND.
A typical application is to allow the user to use an indirect command file
to set up those run time defaults which are constant within a flowline and then
return to input from the terminal (or batch stream) for the run specific
commands. To do this RETURN must be the last command in the indirect command
file.
--------------------------------------------------------------------------------
The following messages are specific to the RETURN command:
RETURN command detected - returning to terminal input
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Shows the current ...
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The following message is specific to the SHOW command:
--------------------------------------------------------------------------------
DTICOMBINE>SHOW CLASSES
--------------------------------------------------------------------------------
Shows the current status of those options that may be enabled by means of
the ENABLE command, or disabled using the DISABLE command.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Displays the current status of all the DTICOMBINE options that may be
enabled or disabled using the ENABLE and DISABLE commands.
--------------------------------------------------------------------------------
The following message is specific to the SHOW command:
--------------------------------------------------------------------------------
DTICOMBINE>SHOW ENABLE
--------------------------------------------------------------------------------
Shows the current combination expression.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
This command displays the current combination expression defined with
the BYTE, WORD, LONGWORD or REAL commands.
--------------------------------------------------------------------------------
The following message is specific to the SHOW command:
--------------------------------------------------------------------------------
DTICOMBINE>SHOW EXPRESSION
--------------------------------------------------------------------------------
Displays information extracted from the header of input DTI FILE 'x'.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Details extracted from the header of FILE 'x' are displayed on the
terminal.
The header values are shown in the current units of measurement. This is
dependent on the header type of the input file, or may be set explicitly using
the UNITS command. By default or if the ENABLE ABSOLUTE command has been given
then metre or projection values are expressed in absolute values.
Otherwise they are displayed as offsets from the SW corner of the matrix.
The SHOW FILES command displays the information for all the input files.
--------------------------------------------------------------------------------
The following message is specific to the SHOW command:
--------------------------------------------------------------------------------
DTICOMBINE>SHOW FILES
--------------------------------------------------------------------------------
Displays on the terminal where the data for the output file will come from .
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Displays whether the data for the creation of the output file will come from
the union or the intersection of the active window areas in the currently
opened input files.
The OUTPUT command may be used to change the output settings
DTICOMBINE>SHOW OUTPUT
--------------------------------------------------------------------------------
Displays on the terminal the current units of measurement.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Displays the current units of measurement which will be used when defining
an area of interest in the input DTI file with the WINDOW command.
The UNITS command may be used to change the current units of measurement.
--------------------------------------------------------------------------------
The following message is specific to the SHOW command:
--------------------------------------------------------------------------------
DTICOMBINE>SHOW UNITS
--------------------------------------------------------------------------------
The SPAWN command enables you to create a subprocess while within
DTICOMBINE.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
command-line
Specifies a DCL command string to be executed as if typed in response to
a '$' prompt. When the command completes, the subprocess terminates and control
is returned to DTICOMBINE. The command string cannot exceed 80 characters.
--------------------------------------------------------------------------------
The SPAWN command enables you to create a subprocess while within DTICOMBINE.
When the subprocess terminates control is returned to DTICOMBINE.
--------------------------------------------------------------------------------
The following warning messages are specific to the SPAWN command:
*** WARNING *** SPAWN requires a valid DCL command line
*** ERROR *** Unable to spawn command, returning to DTICOMBINE
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Specifies the units of measurement that will be used when defining an area
of interest in the input DTI FILE using the WINDOW command.
The command also controls the units of measurement which will be used
when displaying file header details for the current DTI file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
units
A keyword defining the measurement units, chosen from:
--------------------------------------------------------------------------------
The UNITS command specifies the units of measurement
used to define an area of interest in the input DTI file using the WINDOW
command. The command also controls in what format details from the header of
the file are displayed.
Appropriate default units of measurement are set up for the WINDOW
command whenever an input DTI file is opened using a FILEx command.
The UNITS command should be given after opening the DTI file, but
before the WINDOW command, should the user wish to specify WINDOW command
arguments in a different measurement system to the file-type default.
--------------------------------------------------------------------------------
The following error messages are specific to the UNITS command:
*** ERROR *** Specifying command UNITS
*** ERROR *** Specifying command UNITS
--------------------------------------------------------------------------------
Suspend processing for the specified number of seconds.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
seconds
The number of seconds for which DTICOMBINE processing is to be suspended.
--------------------------------------------------------------------------------
The WAIT command causes processing to be suspended for a specified
number of seconds. It is designed for use in software demonstration
situations and is of no value in a production flowline.
--------------------------------------------------------------------------------
The following warning message is specific to the WAIT command:
*** WARNING *** You must specify the number of seconds to wait
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Specifies the limits of the data area to be used from an input file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
xmin ymin
The coordinates of the bottom left hand corner of the defining rectangle.
xmax ymax
The coordinates of top right hand corner of the defining rectangle.
The format of the command parameters is controlled by the UNITS command.
Note that in all cases, the input values are adjusted to the nearest
column and row values.
--------------------------------------------------------------------------------
The command is used to define rectangular limits to the area of
data to be checked within the input DTI file. The limits must be
specified in the order bottom left hand (or south west) corner then top right
hand (or north east) corner.
The specified window values must lie within the input DTI file x and y
ranges.
Appropriate default units of measurement are set up for the WINDOW
command whenever an input DTI file is opened.
The UNITS command should be given after opening the DTI file, but
before the WINDOW command, should the user wish to specify WINDOW command
arguments in a different measurement system to the file-type default.
The WINDOW command can be used to clip data from the input DTI file.
If input is to be from an entire DTI file then the WINDOW command may be
omitted as the WINDOW extents will then, by default, be taken from the DTI
file header.
--------------------------------------------------------------------------------
The following warning messages are specific to the WINDOW command:
*** ERROR **** FILEx command must be used to open the DTI file first
*** ERROR **** Specifying DTI window arguments
Command requires 2 x,y coordinate pairs (SW and NE)
*** ERROR **** Specifying DTI window
NE coordinates should exceed SW coordinates
*** WARNING *** Specified window exceeds matrix limits
Window will be truncated to fit
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The WORD command enables specification of the combination expression
and instructs DTICOMBINE to place the results into a WORD valued DTI file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
expression
Specifies the arithmetic expression with which the input DTI files are to
be combined.
T.p 0;- See section 9 for the description of the format of the expressions
--------------------------------------------------------------------------------
The WORD command enables specification of the combination expression
and instructs DTICOMBINE to place the results into a WORD valued DTI file.
--------------------------------------------------------------------------------
The following messages are specific to the WORD command:
*** ERROR *** Word underflow detected at post X = 'integer', Y = 'integer'
*** ERROR *** Word overflow detected at post X = 'integer', Y = 'integer'
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
This example shows the use of an indirect command file for command input.
In response to the DTICOMBINE> prompt the user has specified the '@' command
followed by a filename. The missing parts of the file-spec are taken from the
default 'SYS$DISK:[].COM', i.e. the user's current default device and directory.
The already prepared command file XXX.COM is opened for read.
The FILEA command specifies that the file specified by the FILEA
file-spec argument is to be opened for read and used wherever variable A is
encountered in the combination expression.
DTICOMBINE successfully opens the file specified as file A and displays
a summary of the file contents.
A file for variable B in the expression is similarly successfully opened
using the FILEB command.
The user wishes to use all the data in both matrix files and makes no
attempt to specify sub-windows of the data using the UNITS and WINDOW commands.
The expression is specified with the WORD command, indicating that the
result of expression evaluation is to be placed in a WORD type DTI.
The expression is a simple one! Matrix B is to subtracted from matrix A.
The characteristics of the output file are taken from the input file specified
with the lowest alphabetic FILEx command. In this case the output file is
going to take the characteristics of the file opened with the FILEA
command: LSL$DTI:POLYOVER_SOILS.DTI;0. In this example the output file will
have a 'LSLA' type header.
The output file LSL$DTI:TEST5.DTI;0 is specified using the FILEOUT command.
It will not be opened until the GO command is detected, as the user may
CLOSE and reopen another input file with the lowest alphabetic identifier,
thereby altering the output file characteristics!
The ENABLE DIAGNOSTICS command will cause DTICOMBINE to output diagnostic
messages indicating processing progress through the output DTI file.
The GO command starts DTICOMBINE processing.
The run completed successfully. DCL symbol $STATUS is set to SS$_NORMAL.
--------------------------------------------------------------------------------
MESSAGES
DTICOMBINE produces no messages of the %DTICOMBINE-severity-mnemonic
variety of it's own. All the DTICOMBINE messages are of the
more conversational *** WARNING *** and *** ERROR ***
variety, as all are directly or indirectly attributable to the effects
of commands the user has specified.
In addition to the above messages which are generated by DTICOMBINE
itself, other messages may be produced by the command line interpreter
and by Laser-Scan libraries. In particular, messages may be generated
by the DTI library and by the Laser-Scan I/O library, LSLLIB. DTI library
messages are introduced by '%DTI' and are documented in the DTI library
users' guide. In most cases DTI errors will be due to a corrupt input file,
and this should be the first area of investigation. If the cause of the
error cannot be traced by the user, and Laser-Scan are consulted, then the
output file should be preserved to facilitate diagnosis. LSLLIB messages
are introduced by '%LSLLIB' and are generally self-explanatory. They are
used to explain the details of program generated errors.
An expression is a mathematically correct combination of_:
Operands:
An operand is an integer or floating point constant_, or a variable
chosen from the set A through H. The letter chosen to symbolise the variable
should match that selected when opening the corresponding DTI input file.
Operands may take the form of sub-expressions. These are expressions which
are surrounded by parentheses and are contained in an expression.
E.g.
Sub-expressions are evaluated by DTICOMBINE and their return values are
treated as operands within the expression.
If the result of the expression is to be written to a BYTE, WORD integer
or LONGWORD integer DTI file, real to integer conversion is performed at the
end of expression evaluation. Integer truncation is applied
e.g. BYTE = 3.0 / 2.0 is 1 .
Data overflow and underflow checking of the result is performed before
writing to the DTI file.
The list below shows the order of precedence in descending order as
used by DTICOMBINE while evaluating expressions:
Operators of equal precedence are evaluated from left to right.
Parentheses _'_(_' and _'_)_' may be used to force the order of evaluation.
When an expression contains logical operators, the operands of the
operation are interpreted by DTICOMBINE as having logical values - either TRUE
or FALSE.
If a numeric operand is used in a logical operation, then any non-zero
values are interpreted as having the logical value TRUE, while zero is
interpreted as having the logical value of false.
The result of the expression is
For the purpose of these examples_, The values of the variables A through
to H are set to be 1_,2_,3_,4_,5_,6_,7_,8 respectively_.
Examples of parentheses used to force evaluation order
without parentheses 2*6_+3 15
with parentheses 2*(6+3) 18
some examples of expressions involving sub-expressions:
MAX( ACOS(.23) , IF(A
Examples:
DTICOMBINE> DELETE 2<CR>
CLASS 2 deleted
DTICOMBINE>
DISABLE ABSOLUTE COMMAND
DISABLE ABSOLUTE
FORMAT: DISABLE ABSOLUTE
Command parameters: None.
DESCRIPTION:
By default window values should be specified as absolute coordinates.
Messages:
*** ERROR *** Specifying command DISABLE
Available DISABLE command qualifiers are:
ABSOLUTE DIAGNOSTICS CLASSIFICATION PME
Examples:
DTICOMBINE> DISABLE ABSOLUTE<CR>
DTICOMBINE>
DISABLE CLASSIFICATION COMMAND
DISABLE CLASSIFICATION
FORMAT: DISABLE CLASSIFICATION
Command parameters:_None
DESCRIPTION:
Messages: None.
*** ERROR *** Specifying command DISABLE
Available DISABLE command qualifiers are:
ABSOLUTE DIAGNOSTICS CLASSIFICATION PME
Examples:
DTICOMBINE> ENABLE CLASSIFICATION<CR>
DTICOMBINE> SHOW CLASS<CR>
*** WARNING *** No classes found
DTICOMBINE> DISABLE CLASSIFICATION<CR>
DTICOMBINE> SHOW CLASS<CR>
Classification not enabled
DTICOMBINE>
DISABLE DIAGNOSTICS COMMAND
DISABLE DIAGNOSTICS
FORMAT: DISABLE DIAGNOSTICS
Command parameters:_None
DESCRIPTION:
Messages:
*** ERROR *** Specifying command DISABLE
Available DISABLE command qualifiers are:
ABSOLUTE DIAGNOSTICS CLASSIFICATION PME
Examples:
DTICOMBINE> DISABLE DIAGNOSTICS<CR>
DTICOMBINE>
DISABLE PME COMMAND
DISABLE PME
FORMAT: DISABLE PME
Command parameters: None.
DESCRIPTION:
Messages:
*** ERROR *** Specifying command DISABLE
Available DISABLE command qualifiers are:
ABSOLUTE DIAGNOSTICS CLASSIFICATION PME
*** WARNING *** You are not using PME !
Examples:
DTICOMBINE> ENABLE PME<CR>
DTICOMBINE> DISABLE PME<CR>
DTICOMBINE>
ENABLE ABSOLUTE COMMAND
ENABLE ABSOLUTE
FORMAT: ENABLE ABSOLUTE
Command parameters: None.
DESCRIPTION:
By default window values should be specified as absolute coordinates.
Messages:
*** ERROR *** Specifying command ENABLE
Available ENABLE command qualifiers are:
ABSOLUTE DIAGNOSTICS CLASSIFICATION PME
Examples:
DTICOMBINE> ENABLE CLASSIFICATION<CR>
DTICOMBINE> SHOW CLASS<CR>
*** WARNING *** No classes found
DTICOMBINE> DISABLE CLASSIFICATION<CR>
DTICOMBINE> SHOW CLASS<CR>
Classification not enabled
DTICOMBINE>
ENABLE CLASSIFICATION COMMAND
ENABLE CLASSIFICATION
FORMAT: ENABLE CLASSIFICATION
Command parameters: None.
DESCRIPTION:
Messages:
*** ERROR *** Specifying command ENABLE
Available ENABLE command qualifiers are:
ABSOLUTE DIAGNOSTICS CLASSIFICATION PME
Examples:
DTICOMBINE> ENABLE CLASSIFICATION<CR>
DTICOMBINE> SHOW CLASS<CR>
*** WARNING *** No classes found
DTICOMBINE> DISABLE CLASSIFICATION<CR>
DTICOMBINE> SHOW CLASS<CR>
Classification not enabled
DTICOMBINE>
ENABLE DIAGNOSTICS COMMAND
ENABLE DIAGNOSTICS
FORMAT: ENABLE DIAGNOSTICS
Command parameters: None.
DESCRIPTION:
Messages:
*** ERROR *** Specifying command ENABLE
Available ENABLE command qualifiers are:
ABSOLUTE DIAGNOSTICS CLASSIFICATION PME
Examples:
DTICOMBINE> ENABLE DIAGNOSTICS<CR>
DTICOMBINE>
ENABLE PME COMMAND
ENABLE PME
FORMAT: ENABLE PME
Command parameters:_None.
DESCRIPTION:
Message:
*** ERROR *** Specifying command ENABLE
Available ENABLE command qualifiers are:
ABSOLUTE DIAGNOSTICS CLASSIFICATION PME
Examples:
$ DTICOMBINE<CR>
MATRIX module DTICOMBINE of 12:23:19 18-MAR-88
DTICOMBINE> ENABLE PME<CR>
EXCLUDE COMMAND
EXCLUDE
FORMAT: EXCLUDE arguments
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICOMBINE> CLASS 1
DTICOMBINE> INCLUDE <20,150,>=400
DTICOMBINE> SHOW CLASS
CLASS 1.0 <20.0 150.0 >=400.0
DTICOMBINE> EXCLUDE 150
DTICOMBINE> SHOW CLASS
CLASS 1.0 <20.0 >=400.0
DTICOMBINE>
FILEX COMMAND
FILEx
FORMAT: FILEx dti-file-spec e_.g_. FILEA EXAMPLE.DTI;9
COMMAND PARAMETERS:
DESCRIPTION:
Messages:
Examples:
DTICOMBINE> FILEA SOIL<CR>
File : LSL$DTI:SOIL.DTI;0
Header : LSLA Data: REAL
Units are DTI Matrix Values.
Matrix Coverage SW: 1 1 NE: 449 449
Matrix Interval E: 1.00 N: 1.00
Value Range : -5.00 to 326421.00
DTICOMBINE> WINDOW 1 1 250 250<CR>
DTICOMBINE>
FILEOUT COMMAND
FILEOUT
FORMAT: FILEOUT dti-file-spec
COMMAND PARAMETERS:
DESCRIPTION:
Messages:
Examples:
DTICOMBINE> FILEOUT TEST5
DTICOMBINE> GO
Output file now open:
File : LSL$DTI:TEST5.DTI
Header : LSLA Data: WORD
Units are DTI Matrix Values
Matrix Coverage SW: 1 1 NE: 101 101
Matrix Interval E: 1 N: 1
Value Range : 0 to 0
25 columns of output DTI file complete
50 columns of output DTI file complete
75 columns of output DTI file complete
100 columns of output DTI file complete
101 columns of output DTI file complete
ELAPSED: 0 00:00:14.18 CPU: 0:00:10.11 BUFIO: 14 DIRIO: 11 FAULTS: 165
_$
GO COMMAND
GO
FORMAT: GO
Command parameters: None.
DESCRIPTION:
Message:
Use CLOSE 'x' command or respecify expression'
Use FILE'x' command to open appropriate file
Examples:
$ DTICOMBINE<CR>
DTICOMBINE> FILEA POLYOVER_SOILS<CR>
DTI file LSL$DTI:POLYOVER_SOILS.DTI;0 opened for read
File : LSL$DTI:POLYOVER_SOILS.DTI;0
Header : LSLA Data: WORD
Units are DTI Matrix Values
Matrix Coverage SW: 1 1 NE: 101 101
Matrix Interval E: 1 N: 1
Value Range : 29 to 1020
By default WINDOW commands for this file must be specified in DTI matrix units
Use the UNITS command to change the default units
DTICOMBINE> FILEB POLYOVER_SLOPES
DTI file LSL$DTI:POLYOVER_SLOPES.DTI;0 opened for read
File : LSL$DTI:POLYOVER_SLOPES.DTI;0
Header : LSLA Data: WORD
Units are DTI Matrix Values
Matrix Coverage SW: 1 1 NE: 101 101
Matrix Interval E: 1 N: 1
Value Range : 0 to 2000
By default WINDOW commands for this file must be specified in DTI matrix units
Use the UNITS command to change the default units
DTICOMBINE> WORD=A-B
DTICOMBINE> FILEOUT TEST5
DTICOMBINE> GO
Output file now open:
File : LSL$DTI:TEST5.DTI
Header : LSLA Data: WORD
Units are DTI Matrix Values
Matrix Coverage SW: 1 1 NE: 101 101
Matrix Interval E: 1 N: 1
Value Range : 0 to 0
25 columns of output DTI file complete
50 columns of output DTI file complete
75 columns of output DTI file complete
100 columns of output DTI file complete
101 columns of output DTI file complete
ELAPSED: 0 00:00:14.18 CPU: 0:00:10.11 BUFIO: 14 DIRIO: 11 FAULTS: 165
_$
HELP COMMAND
HELP
FORMAT: HELP subject
Command parameters:
Description:
Messages:
Examples:
DTICOMBINE> HELP ENABLE PME<CR>
DTICOMBINE>
INCLUDE COMMAND
INCLUDE
FORMAT: INCLUDE arguments
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICOMBINE> CLASS 1
DTICOMBINE> INCLUDE <20,150,>=400
DTICOMBINE> SHOW CLASS
CLASS 1.0 <20.0 150.0 >=400.0
DTICOMBINE>
LONGWORD COMMAND
LONGWORD
FORMAT: LONGWORD = expression
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICOMBINE> LONGWORD=A*(B-C)<CR>
DTICOMBINE>
OUTPUT INTERSECTION COMMAND
OUTPUT INTERSECTION
FORMAT: OUTPUT INTERSECTION
Command parameters: None.
DESCRIPTION:
Messages:
Examples:
DTICOMBINE> OUTPUT INTERSECTION<CR>
DTICOMBINE>
+-----------------------+
|/ / / / / / / / / / / /|
| / / / / / / / / / / / |
|/ / / / / / /|
| / FILE A / / / / / |
|/ / / / / / /|
| / / / / / /+/-/-/-/-/-|---------------+ +----------+
|/ / / / / / /\/\/\/\/\/\ \ \ \ \ \ \ \ | |/\/\/\/\/\|
| / / / / / /|/\/\/\/\/\|\ \ \ \ \ \ \ \| \\ |\ /|
|/ / / / / / /\/\/\/\/\/\ \ \ \ \ \ \ \ | =====>> | OUTPUT |
| / / / / / /|/\/\/\/\/\|\ \ \ \ \ \ \ \| // |\ /|
|/ / / / / / /\/\/\/\/\/\ \ \ \ \ \ \ \ | |/\/\/\/\/\|
| / / / / / /|/\/\/\/\/\|\ \ \ \ \ \ \ \| |\/\/\/\/\/|
+------------|\-\-\-\-\-+ \ \ \ \ \ \ \ | +----------+
| \ \ \ \ \ \ \ \ \ \ \ \ \|
|\ \ \ \ \ \ \ \ |
| \ \ \ \ FILE B \ \ \ \|
|\ \ \ \ \ \ \ \ |
| \ \ \ \ \ \ \ \ \ \ \ \ \|
+--------------------------+
OUTPUT UNION COMMAND
OUTPUT UNION
FORMAT: OUTPUT UNION
Command parameters: None.
DESCRIPTION:
Messages:\_none
Examples:
DTICOMBINE> OUTPUT UNION<CR>
DTICOMBINE>
. . . . . . . . . . . . . . . . . . . . . .
.+------+ +----------------+.
.|AAAAAA| | C C C C C C C C|.
.|AAAAAA| +-----------=-----+ C C C C C|.
.|AAAAAA| |B B B B B B|BCBCB| C C C C C|.
.|AAAAAA| |B B B B B B|BCBCB| C C C C C|.
.|AAAAAA| |B B B B B B+-----=----------+.
.|AAAAAA| |B B B B B B B B B| . // BOUNDING
.|AAAAAA| |B B B B B B B B B| . <<==== RECTANGLE
.+------+ |B B B B B B B B B| . \\ (UNION)
. |B B B B B B B B B| .
. +---=-----------------=--------+ .
NULL ----------> | D |BDBDBDBDBDBDBDBDB| D D | .
AREA . | +-----------------+ | .
. |D D D D D D D D | .
. +------------------------------+ .
. . . . . . . . . . . . . . . . . . . . . .
PAUSE COMMAND
PAUSE
FORMAT: PAUSE
Command parameters: None.
DESCRIPTION:
Messages: None.
Examples:
DTICOMBINE> PAUSE<CR>
Press
DTICOMBINE>
QUIT COMMAND
QUIT
FORMAT: QUIT
Command parameters: None.
Description:
Messages: None.
Examples:
ELAPSED: 00:00:20.04 CPU: 0:00:04.71 BUFIO: 281 DIRIO: 46 FAULTS: 263
_$
REAL COMMAND
REAL
FORMAT: REAL=expression
Command parameters:
DESCRIPTION:
Examples:
DTICOMBINE> REAL=A*(B-C)<CR>
DTICOMBINE>
RETURN COMMAND
RETURN
FORMAT: RETURN
Command parameters: None.
DESCRIPTION:
Messages:
RETURN command ignored - command input is already from terminal
Examples:
DTICOMBINE> @FLOW2<CR>
DTICOMBINE> RETURN
DTICOMBINE>
SHOW CLASSES COMMAND
SHOW CLASSES
FORMAT: SHOW CLASSES
Command parameters: None.
DESCRIPTION:
...
Messages:
*** ERROR *** Specifying command SHOW
Available SHOW command qualifiers are:
CLASSES, ENABLE, EXPRESSION, FILEA, FILEB, FILEC, FILED
FILEE, FILEF, FILEG, FILEH, FILES, UNITS, OUTPUT
Examples:
CLASS 2.0 120.0 >=200.0 <=300.0
CLASS 10.0 All values
DTICOMBINE>
SHOW ENABLE COMMAND
SHOW ENABLE
FORMAT: SHOW ENABLE
Command parameters: None.
DESCRIPTION:
The name of the option is shown, followed by either the word ON or OFF
to indicate its current status.
If the command SHOW ENABLE is used before any ENABLE or DISABLE commands
have been given, the default status of the options is displayed.
Messages:
*** ERROR *** Specifying command SHOW
Available SHOW command qualifiers are:
CLASSES, ENABLE, EXPRESSION, FILEA, FILEB, FILEC, FILED
FILEE, FILEF, FILEG, FILEH, FILES, UNITS, OUTPUT
Examples:
Current status:
ABSOLUTE On CLASSIFICATION Off DIAGNOSTICS Off
PME Off
DTICOMBINE>
SHOW EXPRESSION COMMAND
SHOW EXPRESSION
FORMAT: SHOW EXPRESSION
Command parameters: None.
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SHOW
Available SHOW command qualifiers are:
CLASSES, ENABLE, EXPRESSION, FILEA, FILEB, FILEC, FILED
FILEE, FILEF, FILEG, FILEH, FILES, UNITS, OUTPUT
Examples:
WORD = A*5
DTICOMBINE>
SHOW FILEX COMMAND
SHOW FILEx
FORMAT: SHOW FILEx
SHOW FILES
Command parameters: None.
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SHOW
Available SHOW command qualifiers are:
CLASSES, ENABLE, EXPRESSION, FILEA, FILEB, FILEC, FILED
FILEE, FILEF, FILEG, FILEH, FILES, UNITS, OUTPUT
Examples:
FILEA:
DTI file LSL$DTI:UHL1DATA.DTI;0 opened for read
File : LSL$DTI:UHL1DATA.DTI;0
Header : UHL1 Data: WORD
Units are Degrees, Minutes, Seconds
Matrix Origin : 52 00 00S 58 00 00W
Matrix Coverage SW: 52 00 00S 58 00 00W NE: 51 50 00S 57 39 20W
Matrix Interval E: 2 N: 1
Value Range : 0 to 321
By default WINDOW commands for this file must be specified in Latlong (degrees,
minutes and seconds)
Use the UNITS command to change the default units
FILEB:
File B is undefined
FILEC:
File C is undefined
FILED:
File D is undefined
FILEE:
File E is undefined
FILEF:
File F is undefined
FILEG:
File G is undefined
FILEH:
File H is undefined
DTICOMBINE>
SHOW OUTPUT COMMAND
SHOW OUTPUT
FORMAT: SHOW OUTPUT
Command parameters: None.
DESCRIPTION:
--------------------------------------------------------------------------------
Examples:
Output set to UNION of input files
DTICOMBINE>
SHOW UNITS COMMAND
SHOW UNITS
FORMAT: SHOW UNITS
Command parameters: None.
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SHOW
Available SHOW command qualifiers are:
CLASSES, ENABLE, EXPRESSION, FILEA, FILEB, FILEC, FILED
FILEE, FILEF, FILEG, FILEH, FILES, UNITS, OUTPUT
Examples:
Current WINDOW units are Projection Units.
DTICOMBINE>
SPAWN COMMAND
SPAWN
FORMAT: SPAWN command-line
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICOMBINE> SPAWN DIRECTORY *_.DTI;*<CR>
Directory DUA3:[EXPERIMENT3.DTI]
HUMUS.DTI;1 7/8 18-Oct-1987 17:07 [LSL,TIM]
INFILTRATION.DTI;1 8/8 18-Oct-1987 07:56 [LSL,TIM]
SOILS.DTI;2 7/8 18-Oct-1987 17:17 [LSL,TIM]
Total of 3 files, 22/24 blocks.
DTICOMBINE>
UNITS COMMAND
UNITS
FORMAT: UNITS units
Command parameters:
MATRIX Matrix grid interval units, i.e rows and columns
METRES Metres on the ground
LATLONG Latitude and Longitude
(in degrees, minutes and seconds)
SECONDS Seconds of arc
PROJECTION Projection Record Units (eg. mms on the source document)
DESCRIPTION:
Messages:
Command qualifiers are MATRIX, METRES, SECONDS, LATLONG or PROJECTION
Command qualifier is invalid for the input file
WAIT COMMAND
WAIT
FORMAT: WAIT seconds
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICOMBINE> WAIT 4<CR>
DTICOMBINE>
WINDOW COMMAND
WINDOW
FORMAT: WINDOW xmin ymin xmax ymax
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICOMBINE> WINDOW 10 10 120 120<CR>
DTICOMBINE>
WORD COMMAND
WORD
FORMAT: WORD=expression
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICOMBINE> WORD=A*(B-C)<CR>
DTICOMBINE>
--------------------------------------------------------------------------------
DTICOMBINE EXAMPLES
EXAMPLES
$ DTICOMBINE<CR>
MATRIX module DTICOMBINE of 15:27:43 9-MAR-88
DTICOMBINE> @XXX<CR>
Command input now being read from SYS$DISK:[]XXX.COM;0
DTICOMBINE> FILEA POLYOVER_SOILS<CR>
DTI file LSL$DTI:POLYOVER_SOILS.DTI;0 opened for read
File : LSL$DTI:POLYOVER_SOILS.DTI;0
Header : LSLA Data: WORD
Units are DTI Matrix Values
Matrix Coverage SW: 1 1 NE: 101 101
Matrix Interval E: 1 N: 1
Value Range : 29 to 1020
By default WINDOW commands for this file must be specified in DTI matrix units
Use the UNITS command to change the default units
DTICOMBINE> FILEB POLYOVER_SLOPES
DTI file LSL$DTI:POLYOVER_SLOPES.DTI;0 opened for read
File : LSL$DTI:POLYOVER_SLOPES.DTI;0
Header : LSLA Data: WORD
Units are DTI Matrix Values
Matrix Coverage SW: 1 1 NE: 101 101
Matrix Interval E: 1 N: 1
Value Range : 0 to 2000
By default WINDOW commands for this file must be specified in DTI matrix units
Use the UNITS command to change the default units
DTICOMBINE> WORD=A-B
DTICOMBINE> FILEOUT TEST5
DTICOMBINE> GO
Output file now open:
File : LSL$DTI:TEST5.DTI
Header : LSLA Data: WORD
Units are DTI Matrix Values
Matrix Coverage SW: 1 1 NE: 101 101
Matrix Interval E: 1 N: 1
Value Range : 0 to 0
25 columns of output DTI file complete
50 columns of output DTI file complete
75 columns of output DTI file complete
100 columns of output DTI file complete
101 columns of output DTI file complete
ELAPSED: 0 00:00:14.18 CPU: 0:00:10.11 BUFIO: 14 DIRIO: 11 FAULTS: 165
_$
^MESSAGES
EXPRESSIONS
EXPRESSION SYNTAX
SYNTAX
Operators are chosen from the set:
Arithmetic operators:
unary minus - e.g. - A
addition + e.g. A + B
subtraction - e.g. A - 3
division / e.g. A / 2
multiplication * e.g. A * 3
exponentiation ** e.g. A **1.2
Bitwise operators:
bitwise AND & e.g. A & 127
bitwise OR | e.g. A | B
bitwise NOT ~ e.g. ~ A
bitwise XOR ^ e.g. A ^ B
Logical operators:
logical AND && e.g. ( A > 1 ) && B
logical OR || e.g. (A<3) || (B>20)
logical NOT ~~ e.g. ~~(A = 4)
logical XOR ^^ e.g. (A = 3)^^(B < 3)
Relational operators:
less than < e.g. A < 3
greater than > e.g. D > 4
equal to = e.g. A = B
not equal to <> e.g. A <> 6.7
less than or equal to <= e.g. C <= A
greater or equal to >= e.g. B >= (10*A)
Functions available are:
absolute ABS e.g. ABS(A)
nearest integer NINT e.g. NINT(3.1415927)
arc cosine ACOS e.g. ACOS(.32)
arc sine ASIN e.g. ASIN(A)
arc tangent ATAN e.g. ATAN(B/A)
cosine COS e.g. COS(90)
sine SIN e.g. SIN(D)
tangent TAN e.g. TAN(A/B)
maximum MAX e.g. MAX(A,B,C,D,E,F)
minimum MIN e.g. MIN(2,D,B)
conditional IF e.g. IF(A>3,A,B)
PRECEDENCE IN EXPRESSIONS
PRECEDENCE
unary minus , functions
exponentiation
multiplication_, division
addition, subtraction
relational operators
binary and logical NOT
binary and logical AND
binary and logical OR
binary and logical XOR
operand separator _(comma_)
parentheses
INTERPRETATION OF TRUTH VALUES
TRUTH VALUES IN EXPRESSIONS
EXAMPLE EXPRESSIONS
EXAMPLES
Expression result
_- _-A _-1
_+ A_+B 3
_- D_-3 1
_/ 7_/G 1
* 2*3 6
** 3**C 27
_& 12 _& C 0
| 13 | G 15
_~ _~ C 65533
_^ 57 _^ 19 42
_&_& 2 _&_& A 0
|| 34 || G _-1
_~_~ _~_~ A 0
_^_^ A _^_^ 6 _-1
< A < O.5 0
> D > C _-1
_= A _= 1 _-1
<> B <> 2 0
<_= A <_= G _-1
>_= G >_= 243 0
ABS ABS_(_-3_.45_) 3_.45
ACOS ACOS_(_.23_) 76_.7029
ASIN ASIN_(_.90_) 64_.1580
ATAN ATAN_(_-_.456_) _-24_.5129
COS COS_(H_) _.9922
SIN SIN_(B_) _.0349
TAN TAN_(34_) _.67450
MAX MAX_( A_,B_,3_,78_,H_) 78
MIN MIN_(3_,2_,B_) 2
IF IF_( A<B_, D_-E_,H**5_) _-1
NINT NINT_(5_.342_) 5