String targetDatasetID = "NCEP/GFS/Alaska_191km/GFS_Alaska_191km_20051011_1800.grib1";
File inFile = new File( filePath, inFileName );
InvCatalogFactory fac = InvCatalogFactory.getDefaultFactory( false );
InvCatalogImpl cat = fac.readXML( inFile.toURI() );
StringBuilder validationLog = new StringBuilder();
boolean valid = cat.check( validationLog );
assertTrue( validationLog.toString(), valid );
InvCatalog subsetCat = DeepCopyUtils.subsetCatalogOnDataset( cat, targetDatasetID );