Click or drag to resize

TargetDataGetTargetData Method

Loads data from a time series (dfs0) file, only including data that are strictly within a start-end time interval

It also works for relative type time axis, in which case it is assumed that the time series start at startTime.

Namespace:  DHI.Mike1D.Generic.TimeSeries
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public static bool GetTargetData(
	string filePath,
	int itemNo,
	DateTime startTime,
	DateTime endTime,
	out DateTime[] obsTime,
	out double[] obsValues
)

Parameters

filePath
Type: SystemString
itemNo
Type: SystemInt32
startTime
Type: SystemDateTime
endTime
Type: SystemDateTime
obsTime
Type: SystemDateTime
obsValues
Type: SystemDouble

Return Value

Type: Boolean
See Also