public class CompareNetcdf2
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CompareNetcdf2.Netcdf4ObjectFilter |
static interface |
CompareNetcdf2.ObjFilter |
Constructor and Description |
---|
CompareNetcdf2() |
CompareNetcdf2(java.util.Formatter f) |
CompareNetcdf2(java.util.Formatter f,
boolean showCompare,
boolean showEach,
boolean compareData) |
Modifier and Type | Method and Description |
---|---|
boolean |
compare(NetcdfFile org,
NetcdfFile copy) |
boolean |
compare(NetcdfFile org,
NetcdfFile copy,
boolean showCompare,
boolean showEach,
boolean compareData) |
boolean |
compare(NetcdfFile org,
NetcdfFile copy,
CompareNetcdf2.ObjFilter filter,
boolean showCompare,
boolean showEach,
boolean compareData) |
boolean |
compareData(java.lang.String name,
Array data1,
Array data2) |
boolean |
compareData(java.lang.String name,
Array data1,
Array data2,
boolean justOne) |
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 |
compareStructureData(StructureData sdata1,
StructureData sdata2,
double tol,
boolean justOne) |
boolean |
compareVariable(Variable org,
Variable copy) |
boolean |
compareVariables(NetcdfFile org,
NetcdfFile copy) |
static double |
diff(double d1,
double d2) |
static void |
main(java.lang.String[] arg) |
static double |
pdiff(double d1,
double d2) |
public CompareNetcdf2()
public CompareNetcdf2(java.util.Formatter f)
public CompareNetcdf2(java.util.Formatter f, boolean showCompare, boolean showEach, boolean compareData)
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 boolean compare(NetcdfFile org, NetcdfFile copy)
public boolean compare(NetcdfFile org, NetcdfFile copy, boolean showCompare, boolean showEach, boolean compareData)
public boolean compare(NetcdfFile org, NetcdfFile copy, CompareNetcdf2.ObjFilter filter, boolean showCompare, boolean showEach, boolean compareData)
public boolean compareVariables(NetcdfFile org, NetcdfFile copy)
public boolean compareData(java.lang.String name, Array data1, double[] data2)
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 boolean compareStructureData(StructureData sdata1, StructureData sdata2, double tol, boolean justOne)
public static double diff(double d1, double d2)
public static double pdiff(double d1, double d2)
public static void main(java.lang.String[] arg) throws java.io.IOException
java.io.IOException