M11FfBlockReaderTimeDescriptor Structure |
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);
Namespace: DHI.Mike1D.ResultDataAccess
The M11FfBlockReaderTimeDescriptor type exposes the following members.
Name | Description | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Name | Description | |
---|---|---|
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 |