The LAYER structure defines a single spherical layer of a triangular grid. Each layer has its own list of triangles and nodes.
Field | Type | Units | Description |
---|---|---|---|
.id | number | - | layer ID. this may be used to uniquely identify the layer |
.radius | number | km | layer Radius: each layer consists of a number of points located on a sphere with this radius |
.times | struct array | (dependent of field) | This field specifies the origin time intervals in
which the maximum quality measure for each node is
reached. It is a sub-structure with the following
fields: .id: (number) Node ID, the ID of the node for which the entries are valid origin times. .starts: (numeric array) [sec] start times of origin time intervals .ends: (numeric array) [sec] end times of origin time intervals. The j-th acceptable origin time interval for the i-th node starts at .times(i).starts(j) and ends at .times(i).ends(j). Upon initialization, the starts and ends fields are empty. |
.tri | array structure | (dependent of field) | triangle list structure as returned by MKLSGRIDNEWTRILIST. See there for a description. The triangle iteration counter will be initialized as zero. All triangles will be active upon intialization. |
.nodes | numeric array | [ID degree degree] | three column array containing the longitude and
latituide coordinates of all nodes used by this
layer. nodes(i,1) is the ID of the i-th node in the list nodes(i,2) is the longitude of the i-th node [deg] nodes(i,3) is the latitude of the i-th node [deg] |
.fit | numeric array | [ID QualityMeasure] | Array containing the maximum quality measure for each node, which is reached in the origin time
intervals defined in the .times field.
This is a 2D array consisting
of an ID that points to the corresponding node in
space and the maximum quality values that corresponds
to the origin times given in the .TIMES field. fit(i,1) is the ID of the node for which the quality values in fit(i,2) is valid. fit(i,2) is the quality value of the node with ID fit(i,1) at origin time .times(j) Upon initialization, all quality values are set to 0. |
.tested | numeric array | [ID counter] | Two column array showing with how many of the
available data values a node has been tested for
compatibility. .tested(i,1) is the ID of th i-th node in the list .tested(i,2) is the number of tests applied to the node with ID tested(i,1). Since this is a counter, elements for new nodes are initialized with 0, and new noes may be identified by searching for .tested(:,2)==0. |