M11FfBlockReaderTimeDescriptor Structure

Time descriptor block

The TIME descripter part must start with one and only one TIME descripter record. This record contains information about the type of time data in the file. The type of time data ranges from information about an offset time and a constant time step which applies for all data channels, to individual time data for each data value in each data channel.

The individual information is added in a number of extra records after the TIME descripter record. The number of extra records must be specified in the TIME descripter record in variable NR_XREC. If there are no extra records, NR_XREC is defined as zero.

For rectype 1 and 2, the following values are present DivReal[0] : Number of time steps/values in each data channel DivReal[1] : Time between first and last value, time span of file

For constant time steps, the time step size can be calculated by: double timestepSize = DivReal[1] / (DivReal[0]-1.0);

Definition

Namespace: DHI.Mike1D.ResultDataAccess
Assembly: DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public struct TimeDescriptor
Inheritance
Object    ValueType    M11FfBlockReaderTimeDescriptor

Methods

EqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
GetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)

Fields

CreationTime Time the file was created
DivInts Misc integers. [0] =
DivReal Misc reals. [0] = number of time steps. [1] = Simulation time span in hours.
ExtraBlocks Extra blocks, belonging to the Channel Descriptor
NrXRec Number of extra blocks belonging to the time descroptor block
RecType Type of time definition. 1 = constant time step. 2 = one time channel stored in the file
StartTime Start time of channel data

See Also