public class CompareNetcdf2 extends Object
| Constructor and Description |
|---|
CompareNetcdf2() |
CompareNetcdf2(Formatter f,
boolean showCompare,
boolean showEach,
boolean compareData) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
closeEnough(double d1,
double d2) |
static boolean |
closeEnough(double d1,
double d2,
double tol) |
static boolean |
closeEnough(float d1,
float d2) |
static boolean |
closeEnoughP(double d1,
double d2) |
static boolean |
closeEnoughP(double d1,
double d2,
double tol) |
static boolean |
closeEnoughP(float d1,
float d2) |
boolean |
compare(NetcdfFile org,
NetcdfFile copy) |
boolean |
compare(NetcdfFile org,
NetcdfFile copy,
boolean showCompare,
boolean showEach,
boolean compareData) |
boolean |
compareData(String name,
Array data1,
Array data2,
boolean justOne) |
static void |
compareFiles(NetcdfFile org,
NetcdfFile copy,
Formatter f) |
static boolean |
compareFiles(NetcdfFile org,
NetcdfFile copy,
Formatter f,
boolean _compareData,
boolean _showCompare,
boolean _showEach) |
boolean |
compareStructureData(StructureData sdata1,
StructureData sdata2,
double tol,
boolean justOne) |
boolean |
compareVariable(Variable org,
Variable copy) |
boolean |
compareVariables(NetcdfFile org,
NetcdfFile copy) |
boolean |
compareVariables(Variable org,
Variable copy,
boolean compareData,
boolean justOne) |
static double |
diff(double d1,
double d2) |
static void |
main(String[] arg) |
static double |
pdiff(double d1,
double d2) |
public CompareNetcdf2()
public CompareNetcdf2(Formatter f, boolean showCompare, boolean showEach, boolean compareData)
public static void 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 compare(NetcdfFile org, NetcdfFile copy)
public boolean compare(NetcdfFile org, NetcdfFile copy, boolean showCompare, boolean showEach, boolean compareData)
public boolean compareVariables(NetcdfFile org, NetcdfFile copy)
public boolean compareVariables(Variable org, Variable copy, boolean compareData, boolean justOne)
public boolean compareStructureData(StructureData sdata1, StructureData sdata2, double tol, boolean justOne)
public static boolean closeEnoughP(double d1,
double d2)
public static boolean closeEnough(double d1,
double d2)
public static boolean closeEnough(double d1,
double d2,
double tol)
public static boolean closeEnoughP(double d1,
double d2,
double tol)
public static double diff(double d1,
double d2)
public static double pdiff(double d1,
double d2)
public static boolean closeEnough(float d1,
float d2)
public static boolean closeEnoughP(float d1,
float d2)
public static void main(String[] arg) throws IOException
IOExceptionCopyright © 1999-2012 UCAR/Unidata. All Rights Reserved.