--------------------------------------------------------------------------------
MODULE TRIDER
--------------------------------------------------------------------------------
REPLACES PANACEA module PANDER
--------------------------------------------------------------------------------
TRIDER takes the triangulation node and data files created by TRIANG (or edited output from TRIEDIT) and produces an output file containing slope derivatives at each data point in the triangulation.
$ TRIDER
None, TRIDER is command driven.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
TRIDER takes the triangulation node and data files created by TRIANG (or edited output from TRIEDIT) and produces an output file containing slope derivatives at each data point in the triangulation. These data may then be used by TRIGRID in conjunction with the node and data files as the basis for DTM grid estimation. Once TRIDER has been used to generate a slope derivative file many subsequent runs of TRIGRID may be made to produce DTM grids at differing resolutions.
TRIDER always works on the whole area defined within the triangulation files. It is not possible to specify a subset of the data for slope estimation. This is to allow continuity of slope estimation in edge areas which may otherwise be impaired if the data area is segmented.
----------------------------------------------------------------------
TRIDER expects as input the binary structured data files (the matched pair of _.NOD and _.DTA files) produced by TRIANG or TRIEDIT. It produces an output file containing the slope derivatives estimated for each data point contained in the triangulation.
The TRIDER input file specification is used as a generic file-spec for both input (_.NOD and _.DTA) files and as the source for the TRIDER output file specification.
Any parts missing from the generic file-specification are taken from the defaults SYS$DISK:[]_.DTA;0 and SYS$DISK:[]_.NOD;0.
The specification of the output file has the same device, directory filename and version number as the input files but is given the extension _.DER.
Since it is essential that the file version numbers of the _.NOD, _.DTA and _.DER file always match, TRIGRID performs checks on file version numbers. If mismatches are found, TRIDER complains and aborts execution.
Never use the VAX/VMS RENAME or COPY commands to alter the version numbers of _.NOD, _.DTA files or _.DER files to make them into a matched set. TRIDER will have to be rerun every time that the _.NOD and _.DTA files are modified using TRIEDIT.
The output files from TRIANG will be scaled to lie between 0 and the value defined by logical, LSL$DTMCREATE_RESOLUTION, or 300000 if the logical is not defined. The valid range for this resolution is between 300000 and 10000000.
TRIDER uses this logical value to determine the internal resolution of the _.NOD and _.DTA files.
--------------------------------------------------------------------------------
----------------------------------------------------------------------
Beyond the edge of the triangulation there lies the abyss where there are no heights to control the form of the surface. Obviously if the user wishes to make full use of the triangulated area by gridding up to the very edges, some sensible estimate must be made of the surface beyond the actual data limits. The imaginary point frame created by TRIANG helps to remove uncertainty by providing a cosmetic solution. The imaginary points have location but no Z value.
----------------------------------------------------------------------
One of the functions of TRIDER is to provide Z values for the imaginary points generated around the edge of the triangulation by TRIANG. Four interpolation options are available for imaginary point estimation:
Interpolation options:
Limits may be set to the interpolation process used to estimate heights for the imaginary points which allow upper and lower Z value range clipping. This facility may be used, for example, in coastal areas to ensure that no imaginary point Z value is allowed to go below sea level, ie 0.0.
----------------------------------------------------------------------
The fixed option assumes that the user wishes the surface to decline to some fixed value all the way around the edge of the triangulated area at some distance (yet to be determined) from the main grid coverage. By using the FIXED option the user can specify the value to be used for the imaginary point Z values. TRIDER will then automatically insert this value at all imaginary point locations and will also insert zero partial derivatives at each of the imaginary points. This will have the effect of making the surface flatten to a plane by the time that the imaginary points are reached. This plane will be horizontal because the derivatives have been set to zero.
----------------------------------------------------------------------
Quite often the user will not have any idea what individual values to give the imaginary points but will know that he does not want a fixed horizontal plane at the edge of his data. The second (startup default) solution therefore is to assign the values of the imaginary points to be those calculated from a linear trend surface fitted through all the data points in the interpolation area. The derivatives assigned to the imaginary points will then be those partial derivatives estimated for the plane itself. Thus if the data set has a definite trend (for instance increasing in height to the south west) this option would produce an equivalent trend in the heights of the imaginary points.
----------------------------------------------------------------------
There are two alternative options for the estimation of imaginary point values based on "reasonably" close data points.
Four interpolation techniques are offered for the BOX and SHELL/NEIGHBOUR
interpolation options:
A height for every imaginary point will then be estimated using a specified weighting function, using the neighbours that have been found. If an insufficient number of real neighbours has been found then the program will automatically search deeper into the data structure.
----------------------------------------------------------------------
All imaginary points are capable of relocation by a factor from 0 to 1 (the maximum grid dimension). This can be very useful if one wishes to produce a grid of a larger area than the triangulation covers. By positioning the imaginary points out as far as possible (ie by choosing 1) the area of coverage of the triangulation is effectively extended by a factor of nearly 9. Of course this does nothing for the quality of the map as such but does ensure that some sort of "reasonable" surface value will be put in these regions that are very distant from real data. If the extension is not sufficiently far then default values will be inserted into the grid which can later be altered by the user to the default of his choice.
When the FIXED or TREND options have been chosen it is sensible to locate the imaginary points reasonably far away from the edge of the grid. This is necessary to ensure that the surface has a fairly flexible approach to reaching the imaginary point values. In areas where the surface is not close to the trend or fixed value it needs room to manoeuvre itself to these values! If an interpolation option has been chosen for the imaginary points then in most cases it will be sensible, if not vital, to keep the imaginary points close to the grid itself. This ensures that the imaginary points are most closely controlled by those points falling closest to them.
TRIDER offers the user graphics output of the type offered by TRIANG and TRIGRID. The progress of imaginary and fixed point derivative estimation may then be watched. The convoluted process of imaginary point derivative and height estimation using the shell/neighbour approach may be observed! The graphics option is a useful aid for instruction or for the analysis of troublesome data sets.
--------------------------------------------------------------------------------
_@
Take command input from the specified file.
--------------------------------------------------------------------------------
FORMAT: _@file-spec<CR>
--------------------------------------------------------------------------------
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:
TRIDER offers the facility of command input from an indirect command file. The '@' character preceding a file-spec will cause TRIDER 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 TRIDER 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:
$ TRIDER<CR>
DTMCREATE module TRIDER of 16:30:12 20-NOV-87
TRIDER> @FLOW2<CR>
TRIDER> ENABLE DIAGNOSTICS
TRIDER> ENABLE GRAPHICS
TRIDER> IMAGINARY FIXED 0.0 1.0
TRIDER> RETURN
TRIDER>
--------------------------------------------------------------------------------
_!
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:
TRIDER> _! a comment for the sake of it<CR>
TRIDER> ENABLE GRAPHICS ! turn graphics on<CR>
TRIDER> ! get files and estimate the derivatives
TRIDER> FILEIN DUA0:[TESTDATA]IDAHO<CR>
_.DTA file DUA3:[DEMONSTRATION]IDAHO_.DTA;15 opened for read
_.NOD file DUA3:[DEMONSTRATION]IDAHO_.NOD;15 opened for read
_.DER file DUA3:[DEMONSTRATION]IDAHO_.DER;15 opened for write
TRIDER> GO<CR>
ELAPSED: 00:05:25.84 CPU: 0:00:05.71 BUFIO: 281 DIRIO: 46 FAULTS: 263
_$
--------------------------------------------------------------------------------
DISABLE DIAGNOSTICS
Disables a previous ENABLE DIAGNOSTICS command.
--------------------------------------------------------------------------------
FORMAT: DISABLE DIAGNOSTICS
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
DISABLE DIAGNOSTICS allows the user to cancel the effect of a previous ENABLE DIAGNOSTICS command.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
TRIDER> ENABLE DIAGNOSTICS<CR>
TRIDER> SHOW ENABLE<CR>
DIAGNOSTICS ............................................... On
GRAPHICS .................................................. Off
PME ....................................................... Off
TRIDER> DISABLE DIAGNOSTICS<CR>
TRIDER> SHOW ENABLE<CR>
DIAGNOSTICS ............................................... Off
GRAPHICS .................................................. Off
PME ....................................................... Off
TRIDER>
--------------------------------------------------------------------------------
DISABLE GRAPHICS
Disables any previous ENABLE GRAPHICS command.
--------------------------------------------------------------------------------
FORMAT: DISABLE GRAPHICS
--------------------------------------------------------------------------------
Command parameter: None.
--------------------------------------------------------------------------------
DESCRIPTION:
The DISABLE GRAPHICS command cancels the effect of a previous ENABLE GRAPHICS command.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
$ TRIDER<CR>
DTMCREATE module TRIDER of 13:30:39 20-AUG-87
TRIDER> SHOW ENABLE<CR>
DIAGNOSTICS ............................................... Off
GRAPHICS .................................................. Off
PME ....................................................... Off
TRIDER> ENABLE GRAPHICS<CR>
TRIDER> SHOW ENABLE<CR>
DIAGNOSTICS ............................................... Off
GRAPHICS .................................................. On
PME ....................................................... Off
TRIDER>
--------------------------------------------------------------------------------
DISABLE PME
DISABLE PME disables the effect of a previous ENABLE PME command.
--------------------------------------------------------------------------------
FORMAT: DISABLE PME
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
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.
DISABLE PME disables the effect of a previous ENABLE PME command and causes the PME_EXIT routine to be invoked.
--------------------------------------------------------------------------------
Message:
The following warning message is specific to the DISABLE PME command:
*** WARNING *** You were not using PME anyway!
--------------------------------------------------------------------------------
Examples:
$ TRIDER<CR>
DTMCREATE module TRIDER of 13:30:39 20-AUG-87
TRIDER> ENABLE PME ! turn PME on<CR>
TRIDER> DISABLE PME ! turn it off again!!<CR>
TRIDER> FILEIN FAITH<CR>
_.DTA file DUA3:[DEMONSTRATION]FAITH_.DTA;15 opened for read
_.NOD file DUA3:[DEMONSTRATION]FAITH_.NOD;15 opened for read
_.DER file DUA3:[DEMONSTRATION]FAITH_.DER;15 opened for write
TRIDER> GO<CR>
ELAPSED: 00:05:25.84 CPU: 0:00:05.71 BUFIO: 281 DIRIO: 46 FAULTS: 263
_$
--------------------------------------------------------------------------------
ENABLE DIAGNOSTICS
ENABLE DIAGNOSTICS allows the user to enable diagnostic printout.
--------------------------------------------------------------------------------
FORMAT: ENABLE DIAGNOSTICS
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
ENABLE DIAGNOSTICS allows the user to enable diagnostic printout.
Because it is usually used in a batch processing environment, by default TRIDER produces minimal diagnostic printout. If however, the user wishes to receive indications of processing progress and of the effect of selections on data input, diagnostic printout may be selected with the ENABLE DIAGNOSTICS command.
It should be noted that if DIAGNOSTICS are enabled, TRIDER can produce voluminous printout.
If SYS$OUTPUT is directed to a video screen terminal, messages indicating percentage progress are issued.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
TRIDER> ENABLE DIAGNOSTICS<CR>
TRIDER> SHOW ENABLE<CR>
DIAGNOSTICS ............................................... On
GRAPHICS .................................................. Off
PME ....................................................... Off
TRIDER> DISABLE DIAGNOSTICS<CR>
TRIDER> SHOW ENABLE<CR>
DIAGNOSTICS ............................................... Off
GRAPHICS .................................................. Off
PME ....................................................... Off
TRIDER>
--------------------------------------------------------------------------------
ENABLE GRAPHICS
Enable TRIDER graphics output.
--------------------------------------------------------------------------------
FORMAT: ENABLE GRAPHICS
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
TRIDER offers the option to generate graphic output to indicate processing progress. By default graphic output is disabled. To prevent a user selecting graphics when it is inappropriate to the current terminal, TRIDER uses a lookup table of terminal characteristics associated with all available terminal lines (see Appendix 1). An invalid graphics selection will result in a warning message and the default NO GRAPHICS option being selected.
Graphics selection may be cancelled with the DISABLE GRAPHICS command.
--------------------------------------------------------------------------------
Messages:
The following messages are specific to the ENABLE GRAPHICS command:
*** ERROR *** reading lookup file at line 'integer' *** WARNING *** Unable to open "LSL$LOOKUP:TERMTYPE.DAT" Sorry 'name' terminal 'terminal-ident' isn't in the lookup table Sorry 'name' terminal 'terminal-ident' can't support graphics *** ERROR *** translating logical name LSL$DTMCREATETERMINAL
--------------------------------------------------------------------------------
Examples:
$ TRIDER<CR>
DTMCREATE module TRIDER of 13:30:39 20-AUG-87
TRIDER> SHOW ENABLE<CR>
DIAGNOSTICS ............................................... Off
GRAPHICS .................................................. Off
PME ....................................................... Off
TRIDER> ENABLE GRAPHICS
TRIDER> SHOW ENABLE<CR>
DIAGNOSTICS ............................................... Off
GRAPHICS .................................................. On
PME ....................................................... Off
TRIDER> DISABLE GRAPHICS<CR>
TRIDER> SHOW ENABLE<CR>
DIAGNOSTICS ............................................... Off
GRAPHICS .................................................. Off
PME ....................................................... Off
TRIDER>
--------------------------------------------------------------------------------
ENABLE PME
ENABLE PME enables the PME performance monitor.
--------------------------------------------------------------------------------
FORMAT: ENABLE PME
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
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.
--------------------------------------------------------------------------------
Message:
The following warning message is specific to the ENABLE PME command:
*** WARNING *** You are already using PME!
--------------------------------------------------------------------------------
Examples:
$ TRIDER<CR>
DTMCREATE module TRIDER of 13:30:39 20-AUG-87
TRIDER> ENABLE PME<CR>
TRIDER> FILEIN FAITH<CR>
_.DTA file DUA3:[DEMONSTRATION]FAITH_.DTA;15 opened for read
_.NOD file DUA3:[DEMONSTRATION]FAITH_.NOD;15 opened for read
_.DER file DUA3:[DEMONSTRATION]FAITH_.DER;15 opened for write
TRIDER> GO<CR>
ELAPSED: 00:05:25.84 CPU: 0:00:05.71 BUFIO: 281 DIRIO: 46 FAULTS: 263
_$
--------------------------------------------------------------------------------
FILEIN
Specifies the generic (_.DTA and _.NOD) file-spec that is to be used for input.
--------------------------------------------------------------------------------
FORMAT: FILEIN file-spec
--------------------------------------------------------------------------------
COMMAND PARAMETERS:
file-spec
The generic specification of the _.NOD and _.DTA files to be opened for data input.
All components of the supplied file-spec are used to form the input file specifications but with the substitution of the extensions _.NOD and _.DTA and version number ';0', i.e. latest version (shared by both files).
The default file-spec used to make up missing parts of the FILEIN file-spec parameter is dependent on the status of logical name LSL$DTMCREATE_WORK.
If logical name LSL$DTMCREATE_WORK is defined, DTMCREATE utilities translate the logical name to get the default file-spec for input and output of triangulation files. The logical name should be defined to provide a device and directory name only. The DTMCREATE programs themselves provide the default filename and extension fields of the specification. For example, a valid definition of logical name LSL$DTMCREATE_WORK is:
_$ DEFINE LSL$DTMCREATE_WORK LSL$DATA_ROOT:[LSL.DTMCREATE]
This mechanism allows all DTMCREATE triangulation files to be stored in a central directory, rather than scattered in many different user directories. It thus mimics the use of logical names LSL$IF for IFF files and LSL$DTI for DTI files.
If the logical name is not defined, any parts of the file-spec not supplied for the FILEIN command will be taken from the defaults 'SYS$DISK:[]_.NOD;0' and 'SYS$DISK:[]_.DTA;0'. These defaults result in the files being searched for in your current default directory, set using the VMS SET DEFAULT or Laser-Scan SD commands.
--------------------------------------------------------------------------------
DESCRIPTION:
TRIDER expects as input the 2 binary structured data files (the matched pair of _.NOD and _.DTA files) produced by TRIANG or TRIEDIT. It produces an output file containing the slope derivatives estimated for each data point contained in the triangulation.
The specification of the output file has the same device, directory filename and version number as the input files but is given the extension _.DER.
Since it is essential that the file version numbers of the _.NOD, _.DTA and _.DER file always match, TRIGRID performs checks on file version numbers. If mismatches are found, TRIDER complains and aborts execution. Similarly, an error occurs if TRIDER attempts to create a new _.DER file which has a version number which already exists.
--------------------------------------------------------------------------------
Messages:
The following messages are specific to the FILEIN command:
*** WARNING *** You must specify a file-spec argument to the FILEIN command
For example FILEIN SWAREA
*** ERROR *** Unable to interpret input file-spec
*** ERROR *** opening input file
_.DTA file 'file-spec' opened for read
_.NOD file 'file-spec' opened for read
_.DER file 'file-spec' opened for write
--------------------------------------------------------------------------------
Examples:
TRIDER> FILEIN DUA3:[DEMONSTRATION]IDAHO<CR>
_.DTA file DUA3:[DEMONSTRATION]IDAHO_.DTA;15 opened for read
_.NOD file DUA3:[DEMONSTRATION]IDAHO_.NOD;15 opened for read
_.DER file DUA3:[DEMONSTRATION]IDAHO_.DER;15 opened for write
TRIDER>
--------------------------------------------------------------------------------
GO
Initiates the processing of the data read in using FILEIN commands.
--------------------------------------------------------------------------------
FORMAT: GO
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
When all necessary files have been read in the GO command will commence the gridding process. Unless relatively small data-sets are being handled (say less then 50,000 data points) it is strongly recommended that TRIDER is run in batch mode at an off-peak time.
When grid creation is complete, TRIDER closes the output DTI file and then exits.
--------------------------------------------------------------------------------
Messages:
Once the GO command has been issued no more conversational messages of the *** WARNING *** format will be issued. Any messages will relate to serious processing problems and will normally result in abnormal TRIDER termination. The messages relating to non-interactive processing problems are presented at the end of this document.
--------------------------------------------------------------------------------
Examples:
TRIDER> GO<CR>
ELAPSED: 0 00:05:21.82 CPU: 0:00:01.40 BUFIO: 51 DIRIO: 15 FAULTS: 170
$
--------------------------------------------------------------------------------
HELP
Give help on a subject
--------------------------------------------------------------------------------
FORMAT: HELP subject
--------------------------------------------------------------------------------
Command parameters:
subject
The subject on which help is required
--------------------------------------------------------------------------------
Description:
The HELP command looks the rest of the line up in the DTMCREATE HELP library. This library contains a brief summary of the operation of each command.
The information is looked up in the TRIDER section of the DTMCREATE help library, LSL$HELP:DTMCREATE.HLB.
--------------------------------------------------------------------------------
Messages:
Where required, warning messages are output via the VMS LBR$OUTPUT_HELP utility.
--------------------------------------------------------------------------------
Examples:
TRIDER> HELP RETURN<CR>
RETURN
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.
TRIDER>
--------------------------------------------------------------------------------
IMAGINARY BOX
The IMAGINARY BOX command specifies interpolation of imaginary point heights on the basis of known heights found using an expanding hollow box search.
--------------------------------------------------------------------------------
FORMAT: IMAGINARY BOX interpolation reloc
--------------------------------------------------------------------------------
Command parameters:
interpolation
A keyword argument specifying the type of interpolation to be used, chosen from:
reloc
The imaginary point relocation proportion (in the range 0.0 to 1.0)
--------------------------------------------------------------------------------
DESCRIPTION:
This imaginary point height estimation option performs a distance weighted interpolation based on points discovered by means of an expanding hollow box search. The box search is in turn based around the box structure generated by TRIANG. The interpolation is formed by standard methods. The box size expands automatically until sufficient points have been discovered. This method is probably most applicable to genuinely variable data of the seismic or non contour type. If spot heights form a large proportion of the data set or any other irregularly distributed data is used, the box option should be chosen as it will provide a very smooth edge around the data area.
IMAGINARY BOX and imaginary point relocation
As an interpolation option has been chosen for the imaginary points then in most cases it will be sensible, if not vital, to keep the imaginary points close to the grid itself. This ensures that the imaginary points are most closely controlled by those points falling closest to them. Thus set the imaginary point relocation proportion to 0.0 or close to 0.0.
--------------------------------------------------------------------------------
Messages:
*** WARNING *** Please use the IMAGINARY command again and choose from FIXED
TREND, BOX or SHELLNEIGHBOUR as the first command argument.
The default method of imaginary point estimation is
'method', which remains unchanged
*** ERROR *** Missing IMAGINARY command arguments
*** ERROR *** Missing weighting function name
*** WARNING *** "LINEAR" interpolation selected by default
*** ERROR *** Missing relocation proportion
*** ERROR *** Reading relocation proportion
--------------------------------------------------------------------------------
Examples:
TRIDER> IMAGINARY BOX QUARTIC 0.0<CR>
TRIDER>
--------------------------------------------------------------------------------
IMAGINARY FIXED
The IMAGINARY FIXED command specifies that imaginary point heights should be fixed at a specified constant value.
--------------------------------------------------------------------------------
FORMAT: IMAGINARY FIXED fixval reloc
--------------------------------------------------------------------------------
Command parameters:
fixval
A constant height value to be used for all imaginary points.
reloc
The imaginary point relocation proportion (in the range 0.0 to 1.0)
--------------------------------------------------------------------------------
DESCRIPTION:
The fixed option assumes that the user wishes the surface to decline to some fixed value all the way around the edge of the triangulated area at some distance (yet to be determined) from the main grid coverage. By using the FIXED option the user can specify the value to be used for the imaginary point Z values. TRIDER will then automatically insert this value at all imaginary point locations and will also insert zero partial derivatives at each of the imaginary points. This will have the effect of making the surface flatten to a plane by the time that the imaginary points are reached. This plane will be horizontal because the derivatives have been set to zero.
IMAGINARY FIXED and imaginary point relocation
When the IMAGINARY FIXED option is chosen, it is sensible to locate the imaginary points reasonably far away from the edge of the grid. This is necessary to ensure that the surface has a fairly flexible approach to reaching the imaginary point values. In areas where the surface is not close to the fixed value it needs room to manoeuvre itself to these values!
--------------------------------------------------------------------------------
Messages:
*** WARNING *** Please use the IMAGINARY command again and choose from FIXED
TREND, BOX or SHELLNEIGHBOUR as the first command argument.
The default method of imaginary point estimation is
'method', which remains unchanged
*** ERROR *** Missing IMAGINARY command arguments
*** ERROR *** Missing relocation proportion
*** ERROR *** Reading relocation proportion
--------------------------------------------------------------------------------
Examples:
TRIDER> IMAGINARY FIXED 0.0 1.0<CR>
TRIDER>
--------------------------------------------------------------------------------
IMAGINARY SHELLNEIGHBOUR
The IMAGINARY SHELLNEIGHBOUR command specifies interpolation of imaginary point heights on the basis of known heights of nodes found in expanding shells of neighbours
--------------------------------------------------------------------------------
FORMAT: IMAGINARY SHELLNEIGHBOUR interpolation reloc
--------------------------------------------------------------------------------
Command parameters:
interpolation
A keyword argument specifying the type of interpolation to be used, chosen from:
reloc
The imaginary point relocation proportion (in the range 0.0 to 1.0)
--------------------------------------------------------------------------------
DESCRIPTION:
IMAGINARY SHELL/NEIGHBOUR - The method of collection of data points employed is that of successively finding the neighbours of the point in question by running through the triangular node/neighbour data structure created by program TRIANG and stored in a file. The process can be thought of as that of picking up points in a series of layers. Thus the first layer consists of the neighbours of the point itself. The second layer contains the neighbours of the neighbours that have been picked up but not including any previously found points. This process could obviously continue until all data points in the data set have been found!
A height for every imaginary point will then be estimated using a specified weighting function, using the neighbours that have been found. If an insufficient number of of real neighbours has been found then the program will automatically search deeper into the data structure.
If any of the first layer neighbours contain points marked as discontinuous during the initial data formation stage at the beginning of TRIANG then a further search is made. This checks whether any layer 1 adjacent neighbours are:
If so then the interpolation point is assigned the same value as these. The reason for this is that it is quite possible that there will be flat plateau-like areas on a contour map which should remain flat at the edges of a map. Usually, and hopefully, there will be control points in these flat areas at the edges to help the automatic calculation process along. But sometimes this can be difficult and hence this check for discontinuous points is an attempt to ensure locally that the imaginary points are biased towards representing locally flat discontinuous structures.
IMAGINARY SHELLNEIGHBOUR and imaginary point relocation
As an interpolation option has been chosen for the imaginary points then in most cases it will be sensible, if not vital, to keep the imaginary points close to the grid itself. This ensures that the imaginary points are most closely controlled by those points falling closest to them. Thus set the imaginary point relocation proportion to 0.0 or close to 0.0.
--------------------------------------------------------------------------------
Messages:
*** WARNING *** Please use the IMAGINARY command again and choose from FIXED
TREND, BOX or SHELLNEIGHBOUR as the first command argument.
The default method of imaginary point estimation is
'method', which remains unchanged '
*** ERROR *** Missing IMAGINARY command arguments
*** ERROR *** Missing weighting function name
*** WARNING *** "LINEAR" interpolation selected by default
*** ERROR *** Missing relocation proportion
*** ERROR *** Reading relocation proportion
--------------------------------------------------------------------------------
Examples:
TRIDER> IMAGINARY SHELLNEIGHBOUR QUADRATIC 0.0<CR>
TRIDER>
--------------------------------------------------------------------------------
IMAGINARY TREND
The IMAGINARY TREND command specifies estimation of imaginary point height values from a trend surface fitted through the known node heights.
--------------------------------------------------------------------------------
FORMAT: IMAGINARY TREND reloc
--------------------------------------------------------------------------------
Command parameters:
reloc
The imaginary point relocation proportion (in the range 0.0 to 1.0)
--------------------------------------------------------------------------------
DESCRIPTION:
Quite often the user will not have any idea what individual values to give the imaginary points but will know that he does not want a fixed horizontal plane at the edge of his data. The default IMAGINARY option therefore is to assign the values of the imaginary points to be those calculated from a linear trend surface fitted through all the data points in the interpolation area. The derivatives assigned to the imaginary points will then be those partial derivatives estimated for the plane itself. Thus if the data set has a definite trend (for instance increasing in height to the south west) this option would produce an equivalent trend in the heights of the imaginary points.
IMAGINARY TREND and imaginary point relocation
When the IMAGINARY TREND option is chosen, it is sensible to locate the imaginary points reasonably far away from the edge of the grid. This is necessary to ensure that the surface has a fairly flexible approach to reaching the imaginary point values. In areas where the surface is not close to the trend value it needs room to manoeuvre itself to these values!
--------------------------------------------------------------------------------
Messages:
*** WARNING *** Please use the IMAGINARY command again and choose from FIXED
TREND, BOX or SHELLNEIGHBOUR as the first command argument.
The default method of imaginary point estimation is
'method', which remains unchanged '
*** ERROR *** Missing IMAGINARY command arguments
*** ERROR *** Missing relocation proportion
*** ERROR *** Reading relocation proportion
--------------------------------------------------------------------------------
Examples:
TRIDER> IMAGINARY TREND 1.0<CR>
TRIDER>
--------------------------------------------------------------------------------
PAUSE
Pauses TRIDER execution.
--------------------------------------------------------------------------------
FORMAT: PAUSE
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
Pauses TRIDER execution and issues a prompt for a carriage return to continue execution. This command is designed for use in software demonstration situations.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
TRIDER> PAUSE<CR>
--------------------------------------------------------------------------------
Quit from TRIDER.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The QUIT command causes TRIDER to exit immediately, closing all input
files and closing and deleting all output files.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
TRIDER> QUIT<CR>
--------------------------------------------------------------------------------
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 current status of TRIDER option and parameter settings.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
subject
The subject that is to be displayed, chosen from:
--------------------------------------------------------------------------------
SHOW enables the user to examine the current status of TRIDER
options and parameter settings.
--------------------------------------------------------------------------------
TRIDER issues the following message if the SHOW command is specified
without an argument:
This feature can be used to advantage if the user wishes to quickly
determine for which items the SHOW facility is available.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Shows current status of TRIDER option settings.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
SHOW ENABLE enables the user to examine the current status of TRIDER
processing options that are set or unset using the ENABLE and DISABLE commands.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Shows current TRIDER input files.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
SHOW FILES enables the user to examine the current status of TRIDER
input files.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Shows current status of TRIDER imaginary point option settings.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
SHOW IMAGINARY enables the user to examine the current status of TRIDER
imaginary point processing options that are set using the IMAGINARY commands.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Shows current status of TRIDER Z-limits.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
SHOW ZLIMITS enables the user to examine the current status of TRIDER
Z-limits parameters set using the ZLIMITS commands.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The SPAWN command enables you to create a subprocess while within TRIDER.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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 TRIDER. The command string cannot exceed 80 characters.
--------------------------------------------------------------------------------
The SPAWN command enables you to create a subprocess while within TRIDER.
When the subprocess terminates control is returned to TRIDER.
--------------------------------------------------------------------------------
The following warning messages are specific to the SPAWN command:
*** WARNING *** SPAWN requires a valid DCL command line
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Suspend processing for the specified number of seconds.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
seconds
The number (floating point) of seconds for which TRIDER 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 minimum and maximum Z-limits for imaginary point height
estimation.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
real1
The minimum Z value which an imaginary point can have.
real2
The maximum Z value which an imaginary point can have.
--------------------------------------------------------------------------------
The ZLIMITS command enables the user to specify lower and upper
ZLIMITS to imaginary point height estimation. If an imaginary point height is
calculated which falls outside of the specified limits the height will be
truncated to the relevant limit.
By default TRIDER applies no limits to imaginary point height estimation.
It is not necessary to specify the ZLIMITS command if the IMAGINARY
FIXED imaginary point height option is used.
IMPORTANT If one of the height modification options was selected
in TRIANG using ENABLE MULTIPLYBY, ENABLE TOFEET etc_., you must give the
TRIDER ZLIMITS argument values in the target measurement system or height
range (ie feet if the TRIANG TOFEET command was specified). Failure to do this
may result in flattening of all model relief!
--------------------------------------------------------------------------------
The following messages are specific to the ZLIMITS command:
*** ERROR *** You must specify minimum and maximum ZLIMITS arguments
For example ZLIMITS 80.0 3000.0
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
$ TRIDER<CR>
DTMCREATE module TRIDER of 15:53:45 26-NOV-87
TRIDER> ENABLE DIAGNOSTICS<CR>
TRIDER> FILEIN TST<CR>
_.DTA file DATA$DISK:[DTMCREATE.TRIANG]TST_.DTA;1 opened for read
_.NOD file DATA$DISK:[DTMCREATE.TRIANG]TST_.NOD;1 opened for read
_.DER file DATA$DISK:[DTMCREATE.TRIANG]TST_.DER;1 opened for write
TRIDER> GO<CR>
+----------------------------------------------------------------+
| |
| Setting up memory/random file for neighbours |
| |
+----------------------------------------------------------------+
+----------------------------------------------------------------+
| |
| Calculating slope derivatives |
| |
+----------------------------------------------------------------+
Partial derivatives estimated for 774 points
ELAPSED: 0 00:02:05.51 CPU: 0:00:25.60 BUFIO: 13 DIRIO: 25 FAULTS: 332
This example shows TRIDER in use with the default TREND imaginary point
height estimation option selected. TRIDER first reads in all nodes and neighbour
relationships from the matched pair of binary files:
The user has merely specified FILEIN TST, the rest of the input file
specification components are taken from the default SYS$DISK:[]_.DTA
and SYS$DISK:[]_.NOD, i.e. the user's current default device and directory.
The file version number is taken from the actual files.
A binary output file DATA$DISK:[DTMCREATE.TRIANG]TST_.NOD;1
is created and opened to receive the slope derivatives.
After the GO command TRIDER starts by estimating heights for the
imaginary points around the edge of the data area. By default the
imaginary points are relocated by the maximum possible amount away from
the existing edge of the data area. This is to provide TRIDER with
maximum leeway when fitting the quintic surface from which the slope
derivatives are taken. As ZLIMITS were not specified, the heights
estimated for the imaginary points are not constrained in any way.
TRIDER then proceeds to fit quintic surface patches across the data area
wherever possible. Where the nodes are too poorly distributed or simply too few
for a high order surface patch to be fitted, TRIDER will lower the order of
surface to be fitted and try again. As the slope derivatives for each node are
estimated, TRIDER writes them to the derivative file
DATA$DISK:[DTMCREATE.TRIANG]TST_.DER;1.
The run has completed successfully and DCL symbol $STATUS is set to
SS$_NORMAL, i.e. normal successful completion.
$ TRIDER<CR>
DTMCREATE module TRIDER of 15:53:45 26-NOV-87
TRIDER> ENABLE DIAGNOSTICS<CR>
TRIDER> ZLIMITS 80 500<CR>
TRIDER> IMAGINARY SHELLNEIGHBOUR QUADRATIC 0.0<CR>
TRIDER> FILEIN QUARRY5<CR>
_.DTA file DATA$DISK:[DTMCREATE.TRIANG]QUARRY5_.DTA;1 opened for read
_.NOD file DATA$DISK:[DTMCREATE.TRIANG]QUARRY5_.NOD;1 opened for read
_.DER file DATA$DISK:[DTMCREATE.TRIANG]QUARRY5_.DER;1 opened for write
TRIDER> GO<CR>
+----------------------------------------------------------------+
| |
| Setting up memory/random file for neighbours |
| |
+----------------------------------------------------------------+
+----------------------------------------------------------------+
| |
| Imaginary point interpolation - collect star neighbours |
| |
+----------------------------------------------------------------+
446 imaginary point neighbourhoods determined
+----------------------------------------------------------------+
| |
| Starting derivative calculation phase |
| |
+----------------------------------------------------------------+
%TRIDER-W-DERFAIL, derivative estimation failure at X = 2000.02 Y = 70.315
Partial derivatives estimated for 22402 points
+----------------------------------------------------------------+
| |
| Imaginary point interpolation - interpolation phase |
| |
+----------------------------------------------------------------+
446 imaginary points interpolated
+----------------------------------------------------------------+
| |
| Calculating slope derivatives |
| |
+----------------------------------------------------------------+
Partial derivatives estimated for 68820 points
ELAPSED: 0 00:05:58.79 CPU: 0:04:56.19 BUFIO: 317 DIRIO: 236 FAULTS: 1368
_$
This example shows the SHELLNEIGHBOUR imaginary point height estimation
option in use.
After opening the matched pair of binary input files and creating the
binary slope derivative output file, TRIDER estimates heights for the imaginary
points around the edge of the data area. In contrast to the previous example,
which used the default TREND option for imaginary point height estimation, the
imaginary points are left on the edge of the existing data area (i.e. the
imaginary point relocation proportion is zero). Shells of neighbours to each
imaginary point are collected as the basis for the interpolation used to
estimate the imaginary point height. The user has specified that a quadratic
(IMAGINARY SHELLNEIGHBOUR QUADRATIC) surface be fitted through the
imaginary point's neighbours.
The ZLIMITS arguments specify minimum and maximum constraints for
the heights interpolated for imaginary points.
TRIDER then proceeds to fit quintic surface patches across the data area
wherever possible. Where the nodes are too poorly distributed or simply too few
for a high order surface patch to be fitted, TRIDER will lower the order of
surface to be fitted and try again. As the slope derivatives for each node are
estimated, TRIDER writes them to the derivative file
DATA$DISK:[DTMCREATE.TRIANG]QUARRY5_.DER;1.
Attention is drawn to the message warning that derivative estimation has
failed for the node at the specified location. Zero slope derivatives are
assumed for this node and TRIDER processing continues. Such messages should
occur comparatively rarely and reflect instances where the data are too
poorly distributed (in x,y and z) to allow a surface patch to be fitted.
The run has completed successfully and DCL symbol $STATUS is set to
SS$_NORMAL, i.e. normal successful completion.
See tridermsg.html generated from TRIDERMSG.RNO.
Press
TRIDER>
QUIT COMMAND
QUIT
FORMAT: QUIT
Command parameters: None.
Description:
Messages: None.
Examples:
ELAPSED: 00:05:25.84 CPU: 0:00:05.71 BUFIO: 281 DIRIO: 46 FAULTS: 263
_$
RETURN COMMAND
RETURN
FORMAT: RETURN
Command parameters: None.
DESCRIPTION:
Messages:
RETURN command ignored - command input is already from terminal
Examples:
TRIDER> @FLOW2<CR>
TRIDER> ENABLE DIAGNOSTICS
TRIDER> FRT FLOW2
FRT file LSL$FRT:FLOW2.FRT;8 opened for read
TRIDER> SELECT OPEN_CLIFF_FC OUTCROPS,7,COAST
TRIDER> RETURN
TRIDER>
SHOW COMMAND
SHOW
FORMAT: SHOW subject
Command parameters:
ENABLE FILES IMAGINARY ZLIMITS
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SHOW
Available SHOW command qualifiers are:
ENABLE FILES IMAGINARY ZLIMITS
Examples:
$ TRIDER<CR>
DTMCREATE module TRIDER of 17:02:12 23-JAN-89
TRIDER> SHOW<CR>
*** ERROR *** Specifying command SHOW
Available SHOW command qualifiers are:
ENABLE FILES IMAGINARY ZLIMITS
TRIDER> SHOW ENABLE ! examine current option settings<CR>
DIAGNOSTICS ............................................... Off
GRAPHICS .................................................. Off
PME ....................................................... Off
TRIDER>
SHOW ENABLE COMMAND
SHOW ENABLE
FORMAT: SHOW ENABLE
Command parameters: None.
DESCRIPTION:
Messages: None.
Examples:
$ TRIDER<CR>
DTMCREATE module TRIDER of 17:02:12 23-JAN-89
TRIDER> SHOW ENABLE ! examine current option settings<CR>
DIAGNOSTICS ............................................... Off
GRAPHICS .................................................. Off
PME ....................................................... Off
TRIDER>
SHOW FILES COMMAND
SHOW FILES
FORMAT: SHOW FILES
Command parameters: None.
DESCRIPTION:
Messages: None.
Examples:
$ TRIDER<CR>
DTMCREATE module TRIDER of 17:02:12 23-JAN-89
TRIDER> SHOW FILES ! examine input file-specs<CR>
Input filename not yet specified.
TRIDER> FILEIN SW100230 ! get input files<CR>
_.DTA file DUA3:[DEMONSTRATION]SW100230_.DTA;6 opened for read
_.NOD file DUA3:[DEMONSTRATION]SW100230_.NOD;6 opened for read
_.DER file DUA3:[DEMONSTRATION]SW100230_.DER;6 opened for write
TRIDER> SHOW FILES ! examine input file-specs<CR>
_.DTA file: DUA3:[DEMONSTRATION]SW100230_.DTA;6
_.NOD file: DUA3:[DEMONSTRATION]SW100230_.NOD;6
TRIDER>
SHOW IMAGINARY COMMAND
SHOW IMAGINARY
FORMAT: SHOW IMAGINARY
Command parameters: None.
DESCRIPTION:
Messages: None.
Examples:
$ TRIDER<CR>
DTMCREATE module TRIDER of 17:02:12 23-JAN-89
TRIDER> SHOW IMAGINARY ! examine imaginary points settings<CR>
Imaginary point estimation option ......................... TREND
Relocation proportion for imaginary points ................ 1.00
TRIDER>
SHOW ZLIMITS COMMAND
SHOW ZLIMITS
FORMAT: SHOW ZLIMITS
Command parameters: None.
DESCRIPTION:
Messages: None.
Examples:
$ TRIDER<CR>
DTMCREATE module TRIDER of 17:02:12 23-JAN-89
TRIDER> SHOW ZLIMITS ! examine ZLIMITS points settings<CR>
No Z-limits will be applied to imaginary point height estimation
TRIDER> ZLIMITS 0.0 450.0<CR>
TRIDER> SHOW ZLIMITS ! examine ZLIMITS points settings<CR>
Imaginary point height estimation lower z-value limit = 0.0
Imaginary point height estimation upper z-value limit = 450.0
TRIDER>
SPAWN COMMAND
SPAWN
FORMAT: SPAWN command-line
Command parameters:
DESCRIPTION:
Messages:
*** ERROR *** Unable to spawn command, returning to TRIDER
Examples:
TRIDER> SPAWN DIRECTORY *_.DTA;*<CR>
Directory DUA3:[DTMCREATE.ACCEPTANCE_TESTS]
TEST1_.DTA;1 8/8 18-AUG-1987 07:56 [LSL,TIM]
TEST2_.DTA;2 7/8 18-AUG-1987 17:17 [LSL,TIM]
TEST2_.DTA;1 7/8 18-AUG-1987 17:07 [LSL,TIM]
Total of 3 files, 22/24 blocks.
TRIDER>
WAIT COMMAND
WAIT
FORMAT: WAIT seconds
Command parameters:
DESCRIPTION:
Messages:
Examples:
TRIDER> WAIT 4.0<CR>
TRIDER>
ZLIMITS COMMAND
ZLIMITS
FORMAT: ZLIMITS real1 real2
COMMAND PARAMETERS:
Description:
Messages:
Examples:
TRIDER> SHOW ZLIMITS<CR>
No ZLIMITS will be applied to imaginary point height estimation
TRIDER> ZLIMITS 0.0 800.0<CR>
TRIDER> SHOW ZLIMITS<CR>
Imaginary point height estimation lower z-value limit = 0.0
Imaginary point height estimation upper z-value limit = 800.0
TRIDER>
EXAMPLES
_$