Пример #1
0
        private static void ReadWithRange(string fn)
        {
            string path = "/CHARITON RIVER/PRAIRIE HILL, MO/FLOW//15MIN/USGS/";

            DssReader r = new DssReader(TestUtility.BasePath + fn);

            var p = new DssPath(path);

            Assert.IsTrue(r.PathExists(p));

            DateTime t1 = new DateTime(2008, 9, 2);
            DateTime t2 = new DateTime(2008, 10, 12);

            var ts = r.GetTimeSeries(p, t1, t2);

            Assert.IsTrue(ts.Count > 100);

            Console.WriteLine(ts.Count);
        }