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,
CompareNetcdf2.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 |
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(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 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)
public boolean compareData(String name, double[] data1, double[] data2)
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 boolean compareVariable(Variable org, Variable copy, CompareNetcdf2.ObjFilter filter)
public boolean compareVariables(NetcdfFile org, NetcdfFile copy)
public boolean enumsAreEqual(EnumTypedef enum1, EnumTypedef enum2)
public EnumTypedef findEnum(Group g, EnumTypedef typedef, CompareNetcdf2.ObjFilter filter)
public static void main(String[] arg) throws IOException
IOException