Interface IWaterLevelSeries
- Namespace
- EncDotNet.S100.Navigation
- Assembly
- EncDotNet.S100.Navigation.dll
The water-level time series at one place: a grid cell or a station.
public interface IWaterLevelSeries
Properties
End
The last time step (UTC).
DateTime End { get; }
Property Value
Source
Where the series comes from.
WaterLevelSourceInfo Source { get; }
Property Value
Start
The first time step (UTC).
DateTime Start { get; }
Property Value
Methods
StepsWithin(DateTime, DateTime)
The series' own time steps that fall within
[start, end], in order.
WaterLevelPeriodMinimum reads the series at each of them.
IReadOnlyList<DateTime> StepsWithin(DateTime start, DateTime end)
Parameters
startDateTimeThe start of the period (UTC), inclusive.
endDateTimeThe end of the period (UTC), inclusive.
Returns
- IReadOnlyList<DateTime>
The step times, ascending.
ValueAt(DateTime)
The water level at utc, interpolated linearly
between the bracketing steps, or null when the value is NoData
(a masked cell). Times outside Start…End
are the caller's to reject; implementations may clamp.
WaterLevelReading? ValueAt(DateTime utc)
Parameters
utcDateTimeThe time (UTC).
Returns
- WaterLevelReading?
The reading, or
null.