public class CompareNetcdf2
extends java.lang.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(java.util.Formatter f) |
CompareNetcdf2(java.util.Formatter f,
boolean showCompare,
boolean showEach,
boolean compareData) |
CompareNetcdf2(java.util.Formatter f,
boolean showCompare,
boolean showEach,
boolean compareData,
boolean ignoreattrcase) |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkContains(java.lang.String what,
java.util.List<java.lang.Object> container,
java.util.List<java.lang.Object> wantList,
java.util.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(java.lang.String name,
Array data1,
Array data2) |
boolean |
compareData(java.lang.String name,
Array data1,
Array data2,
boolean justOne) |
static boolean |
compareData(java.lang.String name,
Array data1,
double[] data2) |
boolean |
compareData(java.lang.String name,
double[] data1,
double[] data2) |
static boolean |
compareFiles(NetcdfFile org,
NetcdfFile copy,
java.util.Formatter f) |
static boolean |
compareFiles(NetcdfFile org,
NetcdfFile copy,
java.util.Formatter f,
boolean _compareData,
boolean _showCompare,
boolean _showEach) |
static boolean |
compareLists(java.util.List org,
java.util.List copy,
java.util.Formatter f) |
boolean |
compareVariable(Variable org,
Variable copy,
CompareNetcdf2.ObjFilter filter) |
boolean |
compareVariables(NetcdfFile org,
NetcdfFile copy) |
boolean |
enumsAreEqual(EnumTypedef enum1,
EnumTypedef enum2) |
Dimension |
findDimension(Group g,
Dimension dim) |
EnumTypedef |
findEnum(Group g,
EnumTypedef typedef,
CompareNetcdf2.ObjFilter filter) |
static void |
main(java.lang.String[] arg) |
public static final CompareNetcdf2.ObjFilter IDENTITY_FILTER
public CompareNetcdf2()
public CompareNetcdf2(java.util.Formatter f)
public CompareNetcdf2(java.util.Formatter f, boolean showCompare, boolean showEach, boolean compareData)
public CompareNetcdf2(java.util.Formatter f, boolean showCompare, boolean showEach, boolean compareData, boolean ignoreattrcase)
public boolean enumsAreEqual(EnumTypedef enum1, EnumTypedef enum2)
public static boolean compareData(java.lang.String name, Array data1, double[] data2)
public static boolean compareFiles(NetcdfFile org, NetcdfFile copy, java.util.Formatter f)
public static boolean compareFiles(NetcdfFile org, NetcdfFile copy, java.util.Formatter f, boolean _compareData, boolean _showCompare, boolean _showEach)
public static boolean compareLists(java.util.List org, java.util.List copy, java.util.Formatter f)
public static boolean checkContains(java.lang.String what, java.util.List<java.lang.Object> container, java.util.List<java.lang.Object> wantList, java.util.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 EnumTypedef findEnum(Group g, EnumTypedef typedef, CompareNetcdf2.ObjFilter filter)
public boolean compareData(java.lang.String name, double[] data1, double[] data2)
public boolean compareData(java.lang.String name, Array data1, Array data2, boolean justOne)
public static void main(java.lang.String[] arg) throws java.io.IOException
java.io.IOException