public void ReadConnecticutGrids() { // This path doesn't have a E part..... DssPath path = new DssPath("/SHG/CONNECTICUT/AIRTEMP/07MAY2019:1400//GAGEINTERP/"); string fn = TestUtility.BasePath + "ConnecticutGrids.dss"; DssReader r = new DssReader(fn); var catalog = r.GetCatalog(); for (int i = 0; i < catalog.Count; i++) { var p = catalog[i].FullPath; if (p.IndexOf("GAGEINTERP") > 0) { Console.WriteLine(p); } } Assert.IsTrue(r.ExactPathExists(path)); Grid g1 = r.GetGrid(path, false); Grid g2 = r.GetGrid(path, true); Assert.IsNotNull(g1); Assert.IsNotNull(g2); string expected = Hec.Dss.Native.DSS.AlbersSRS(); Console.WriteLine("expected:\n" + expected); Console.WriteLine(g2.SRSDefinition); Assert.IsTrue(expected.ToLower() == g2.SRSDefinition.ToLower()); // Assert.IsTrue(g1.SRSDefinitionType == 1); }