Skip to content

Commit 8325b21

Browse files
committed
Ignore NcML file meant for modificaiton testing
modifyNestedGroups.xml is intended to apply to an already existing NetcdfDataset object using NcmlReader.wrapNcml, and isn't appropriate for use by the TestNcmlReadersComnpare test, which expects the NcML to fully define a dataset or reference one directly in the document.
1 parent dd197b8 commit 8325b21

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cdm/core/src/test/java/ucar/nc2/ncml/TestNcmlReadersCompare.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ public boolean accept(File pathname) {
7878
// NcMLReader does not change variable to type int, so fails.
7979
if (name.contains("aggSynthetic.xml"))
8080
return false;
81+
// Simulates a TDS datasetScan using NcML and does not fully define a dataset.
82+
if (name.contains("modifyNestedGroups.xml"))
83+
return false;
8184
// Bug in old reader
8285
if (name.contains("testStandaloneNoEnhance.ncml"))
8386
return false;

0 commit comments

Comments
 (0)