public void TestSteographic() { using (GribFile file = new GribFile(Settings.STEREO)) { GribMessage msg = file.First(); Assert.Greater(msg.ValuesCount, 1); foreach (GeoSpatialValue gs in msg.GeoSpatialValues) { Assert.Greater(gs.Latitude, 15); } } }
public void TestBits() { var bytes = File.ReadAllBytes(".\\TestData\\constant_field.grib2"); var msg = GribMessage.Create(bytes); Assert.Greater(msg.ValuesCount, 1); foreach (GridCoordinateValue gs in msg.GridCoordinateValues) { Assert.Greater(gs.Latitude, 15); } msg.Dispose(); }