String value = param.getAttributeValue("value"); if (name != null && value != null) { setOption(name, value);
@Ignore("B: not visible on spock") @Test public void testGsdHrrSurface() throws IOException { Grib.setDebugFlags(new DebugFlagsImpl("Grib/debugGbxIndexOnly")); FeatureCollectionConfig config = new FeatureCollectionConfig("GSD_HRRR_CONUS_3km_surface", "test/GSD_HRRR_CONUS_3km_surface", FeatureCollectionType.GRIB2, "B:/idd/GSD_HRRR_CONUS_3km_surface/.*gbx9", null, null, null, "file", null); config.gribConfig.setOption("timeUnit", "1 minute"); boolean changed = GribCdmIndex.updateGribCollection(config, CollectionUpdateType.always, logger); System.out.printf("changed = %s%n", changed); Grib.setDebugFlags(new DebugFlagsImpl()); }
@Ignore("B: not visible on spock") @Test public void testRadarNWS() throws IOException { Grib.setDebugFlags(new DebugFlagsImpl("Grib/debugGbxIndexOnly")); FeatureCollectionConfig config = new FeatureCollectionConfig("radarNWS", "test/radarNWS", FeatureCollectionType.GRIB1, // TestDir.cdmUnitTestDir + "gribCollections/www/.*grib2", "B:/lead/radar/**/.*gbx9", null, null, null, "directory", null); config.gribConfig.setOption("timeUnit", "1 minute"); boolean changed = GribCdmIndex.updateGribCollection(config, CollectionUpdateType.always, logger); System.out.printf("changed = %s%n", changed); Grib.setDebugFlags(new DebugFlagsImpl("")); }