### Question:
LUT1 { public static LUT1 read(File file) throws IOException { final NetcdfFile netcdfFile = NetcdfFile.open("file:" + file.getPath().replace("\\", "/")); try { final GridDef gridDef = GridDef.createGlobal(5.0); final Grid magnitudeGrid = NcTools.readGrid(netcdfFile, "MAGNITUDE", gridDef); final Grid exponentGrid = NcTools.readGrid(netcdfFile, "EXPONENT", gridDef); return new LUT1(XSwap.create(YFlip.create(magnitudeGrid)), XSwap.create(YFlip.create(exponentGrid))); } finally { netcdfFile.close(); } } private  LUT1(Grid magnitudeGrid, Grid exponentGrid); static LUT1 read(File file); Grid getMagnitudeGrid5(); Grid getExponentGrid5();  }### Answer:
@Test public void testRead() { assertNotNull(lut1.getMagnitudeGrid5()); assertNotNull(lut1.getExponentGrid5()); }