public void ReadTs() { DssPath path = new DssPath("//SACRAMENTO/TEMP-MIN/01Jan1877/1Day/OBS/"); DssReader r = new DssReader(TestUtility.BasePath + "sample7.dss"); var ts = r.GetTimeSeries(path); for (int i = 0; i < ts.Count; i++) { var d = ts.Values[i]; if (DssReader.IsValid(d)) { } } //DateTime //11jul1877 24:00 60 DEG-F DateTime t = new DateTime(1877, 7, 12); // next day because of 24:00 //ts.WriteToConsole(); int idx = ts.IndexOf(t); Assert.IsTrue(idx >= 0); Assert.AreEqual(60, ts.Values[idx], 0.001); Console.WriteLine(ts.Values.Length); }