@Test public void testExtractEndTime_NoTimeInfo() throws Exception { final URL resource = getClass().getResource("test_without_time_info.nc"); final NetcdfFile netcdfFile = NetcdfFile.openInMemory(resource.toURI()); ProductData.UTC endTime = BinnedProductReader.extractEndTime(netcdfFile); assertNull(endTime); }
static ProductData.UTC extractEndTime(NetcdfFile netcdfFile) { return extractTime(netcdfFile, "time_coverage_end"); }
BinnedProductReader extends AbstractProductReader { static ProductData.UTC extractEndTime(NetcdfFile netcdfFile) { return extractTime(netcdfFile, "time_coverage_end"); } }
BinnedProductReader extends AbstractProductReader { static ProductData.UTC extractEndTime(NetcdfFile netcdfFile) { return extractTime(netcdfFile, "time_coverage_end"); } BinnedProductReader(BinnedProductReaderPlugin readerPlugIn); }
BinnedProductReader extends AbstractProductReader { static ProductData.UTC extractEndTime(NetcdfFile netcdfFile) { return extractTime(netcdfFile, "time_coverage_end"); } BinnedProductReader(BinnedProductReaderPlugin readerPlugIn); @Override void close(); }
BinnedProductReader extends AbstractProductReader { static ProductData.UTC extractEndTime(NetcdfFile netcdfFile) { return extractTime(netcdfFile, "time_coverage_end"); } BinnedProductReader(BinnedProductReaderPlugin readerPlugIn); @Override void close();  }