public class CompareNetcdf2 extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CompareNetcdf2.Netcdf4ObjectFilter |
static interface |
CompareNetcdf2.ObjFilter |
| Modifier and Type | Field and Description |
|---|---|
static CompareNetcdf2.ObjFilter |
IDENTITY_FILTER |
| Constructor and Description |
|---|
CompareNetcdf2() |
CompareNetcdf2(Formatter f) |
CompareNetcdf2(Formatter f,
boolean showCompare,
boolean showEach,
boolean compareData) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkContains(String what,
List<Object> container,
List<Object> wantList,
Formatter f) |
boolean |
compare(NetcdfFile org,
NetcdfFile copy) |
boolean |
compare(NetcdfFile org,
NetcdfFile copy,
boolean showCompare,
boolean showEach,
boolean compareData)
Deprecated.
use constructor to set options, then compare(NetcdfFile org, NetcdfFile copy)
|
boolean |
compare(NetcdfFile org,
NetcdfFile copy,
CompareNetcdf2.ObjFilter filter) |
boolean |
compare(NetcdfFile org,
NetcdfFile copy,
CompareNetcdf2.ObjFilter objFilter,
boolean showCompare,
boolean showEach,
boolean compareData)
Deprecated.
use constructor to set options, then compare(NetcdfFile org, NetcdfFile copy, ObjFilter filter)
|
static boolean |
compareData(String name,
Array data1,
Array data2) |
boolean |
compareData(String name,
Array data1,
Array data2,
boolean justOne) |
static boolean |
compareData(String name,
Array data1,
double[] data2) |
boolean |
compareData(String name,
double[] data1,
double[] data2) |
static boolean |
compareFiles(NetcdfFile org,
NetcdfFile copy,
Formatter f) |
static boolean |
compareFiles(NetcdfFile org,
NetcdfFile copy,
Formatter f,
boolean _compareData,
boolean _showCompare,
boolean _showEach) |
static boolean |
compareLists(List org,
List copy,
Formatter f) |
boolean |
compareStructureData(StructureData sdata1,
StructureData sdata2,
boolean justOne) |
boolean |
compareVariable(Variable org,
Variable copy,
CompareNetcdf2.ObjFilter filter) |
boolean |
compareVariables(NetcdfFile org,
NetcdfFile copy) |
Dimension |
findDimension(Group g,
Dimension dim,
CompareNetcdf2.ObjFilter filter) |
EnumTypedef |
findEnum(Group g,
EnumTypedef typedef,
CompareNetcdf2.ObjFilter filter) |
static void |
main(String[] arg) |
public static final CompareNetcdf2.ObjFilter IDENTITY_FILTER
public CompareNetcdf2()
public CompareNetcdf2(Formatter f)
public CompareNetcdf2(Formatter f, boolean showCompare, boolean showEach, boolean compareData)
public static boolean compareFiles(NetcdfFile org, NetcdfFile copy, Formatter f)
public static boolean compareFiles(NetcdfFile org, NetcdfFile copy, Formatter f, boolean _compareData, boolean _showCompare, boolean _showEach)
public static boolean checkContains(String what, List<Object> container, List<Object> wantList, Formatter f)
public boolean compare(NetcdfFile org, NetcdfFile copy)
public boolean compare(NetcdfFile org, NetcdfFile copy, @Nullable CompareNetcdf2.ObjFilter filter)
@Deprecated public boolean compare(NetcdfFile org, NetcdfFile copy, boolean showCompare, boolean showEach, boolean compareData)
@Deprecated public boolean compare(NetcdfFile org, NetcdfFile copy, @Nullable CompareNetcdf2.ObjFilter objFilter, boolean showCompare, boolean showEach, boolean compareData)
public boolean compareVariables(NetcdfFile org, NetcdfFile copy)
public boolean compareVariable(Variable org, Variable copy, CompareNetcdf2.ObjFilter filter)
public Dimension findDimension(Group g, Dimension dim, CompareNetcdf2.ObjFilter filter)
public EnumTypedef findEnum(Group g, EnumTypedef typedef, CompareNetcdf2.ObjFilter filter)
public boolean compareData(String name, double[] data1, double[] data2)
public boolean compareStructureData(StructureData sdata1, StructureData sdata2, boolean justOne)
public static void main(String[] arg) throws IOException
IOException