Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
Fix failing test due to name change.
Browse files Browse the repository at this point in the history
  • Loading branch information
lesserwhirls committed Feb 23, 2021
1 parent e29613d commit 2faa85b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public void testTimeUnitOption() throws Exception {

String dataset = TestDir.cdmUnitTestDir + "gribCollections/hrrr/DewpointTempFromGsdHrrrrConus3surface.grib2";
try (NetcdfDataset ds = NetcdfDataset.openDataset(dataset)) {
Variable v = ds.findVariable("DPT_height_above_ground");
Assert.assertNotNull("DPT_height_above_ground", v);
Variable v = ds.findVariable("DPT_P0_L103_GLC0_height_above_ground");
Assert.assertNotNull("DPT_P0_L103_GLC0_height_above_ground", v);
Dimension d = v.getDimension(0);
Assert.assertEquals(57, d.getLength());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void testRapNative() throws Exception {
Assert.assertEquals(36.0, projVar.findAttribute("grid_north_pole_latitude").getNumericValue().doubleValue(),
DELTA);
// check data variable
Variable dataVar = nc.findVariable("TMP_surface");
Variable dataVar = nc.findVariable("TMP_P0_L100_GLC0_surface");
Assert.assertNotNull(dataVar);
Assert.assertEquals("RotatedLatLon32769_Projection", dataVar.findAttribute("grid_mapping").getStringValue());
Assert.assertEquals("K", dataVar.findAttribute("units").getStringValue());
Expand Down

0 comments on commit 2faa85b

Please sign in to comment.