[parallel-netcdf] #42: MPI-agnostic "ncmpidiff" tool?
Carl Ponder
cponder at nvidia.com
Fri Jul 5 21:45:22 CDT 2019
*On 6/12/19 12:09 PM, Carl Ponder via parallel-netcdf wrote:*
>
> Wei-Keng -- do you have some explanation of the tool output?
>
*On 6/12/19 5:08 PM, Wei-keng Liao wrote:*
>
> cdfdiff and ncmpidiff were designed to be more like unix command “diff”.
> It reports whether the 2 NetCDF files are different and the “locations”
> of differences.
>
> ....
>
> FYI. I updated cdfdiff to report the array indices of first
> array element that is found different
>
> ....
>
> Command line option -b is for verbose mode, which also reports
> what objects are the same.
>
Wei-keng -- I'm still trying to work with the sources that I ported
before you made more of the "diff" changes.
This output here, is it only telling me that the arrays are not identical?
DIFF: variable "ru" of type "NC_FLOAT" (-1)
DIFF: variable "ru_save" of type "NC_FLOAT" (-1)
DIFF: variable "rw" of type "NC_FLOAT" (1)
DIFF: variable "rw_save" of type "NC_FLOAT" (-1)
DIFF: variable "rtheta_p" of type "NC_FLOAT" (-1)
DIFF: variable "rtheta_p_save" of type "NC_FLOAT" (1)
DIFF: variable "rho_p" of type "NC_FLOAT" (1)
DIFF: variable "rho_p_save" of type "NC_FLOAT" (-1)
DIFF: variable "rho_zz_old_split" of type "NC_FLOAT" (1)
DIFF: variable "ruAvg" of type "NC_FLOAT" (-1)
DIFF: variable "ruAvg_split" of type "NC_FLOAT" (-1)
DIFF: variable "wwAvg" of type "NC_FLOAT" (1)
*DIFF: variable "wwAvg_split" of type "NC_FLOAT" (-1)*
I'm trying to figure out "how different" the two files are.
Can you tell me what the (1) & (-1) refer to?
If I use the "-b" option, I get the extra output about the sizings of
the arrays, for example
Variable "wwAvg_split":
SAME: data type (float)
SAME: number of dimensions (3)
dimension 0:
SAME: name (Time)
SAME: length (2)
dimension 1:
SAME: name (nCells)
SAME: length (40962)
dimension 2:
SAME: name (nVertLevelsP1)
SAME: length (57)
SAME: number of attributes (2)
attribute "units":
SAME: data type (char)
SAME: length (16)
SAME: attribute contents
attribute "long_name":
SAME: data type (char)
SAME: length (51)
SAME: attribute contents
but the difference in the content is still reported the same as above.
Thanks,
Carl
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20190705/521b992f/attachment.html>
More information about the parallel-netcdf
mailing list