<div dir="ltr"><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#38761d">Hi Carl,</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#38761d"><br></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#38761d">There is a tool distributed with cesm called cprnc that does something similar and which you may find useful. </div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#38761d"><a href="https://github.com/ESMCI/cime/tree/master/tools/cprnc">https://github.com/ESMCI/cime/tree/master/tools/cprnc</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 12, 2019 at 11:09 AM Carl Ponder via parallel-netcdf <<a href="mailto:parallel-netcdf@lists.mcs.anl.gov">parallel-netcdf@lists.mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<div class="gmail-m_-4150080657171824412moz-cite-prefix"><font size="-1"><b>On 6/11/19 1:05 PM,
Wei-keng Liao wrote:</b></font><br>
</div>
<blockquote type="cite">
<blockquote><font color="#003333">
I have implemented a serial version of ncmpidiff, named
"cdfdiff”.
It is available in PnetCDF repo and will be added to the next
release.<br>
</font>
<blockquote><font color="#003333"><tt><a class="gmail-m_-4150080657171824412moz-txt-link-freetext" href="https://github.com/Parallel-NetCDF/PnetCDF/tree/master/src/utils/ncmpidiff" target="_blank">https://github.com/Parallel-NetCDF/PnetCDF/tree/master/src/utils/ncmpidiff</a></tt></font></blockquote>
<font color="#003333">Command “make” or “make cdfdiff” will
create it.
Note it only compares the classic NetCDF files.</font><br>
</blockquote>
</blockquote>
Wei-Keng -- do you have some explanation of the tool output?<br>
I have this, for example:<br>
<blockquote><tt>DIFF: global attribute "history" length (31) != (30)<br>
DIFF: global attribute "config_run_duration" of type "NC_CHAR"
(3)<br>
DIFF: global attribute "file_id" of type "NC_CHAR" (3)<br>
DIFF: variable "ru" of type "NC_FLOAT" (158)<br>
DIFF: variable "ru_save" of type "NC_FLOAT" (-185)<br>
DIFF: variable "rw" of type "NC_FLOAT" (-91)<br>
DIFF: variable "rw_save" of type "NC_FLOAT" (101)<br>
DIFF: variable "rtheta_p" of type "NC_FLOAT" (77)<br>
DIFF: variable "rtheta_p_save" of type "NC_FLOAT" (-47)<br>
DIFF: variable "rho_p" of type "NC_FLOAT" (42)<br>
DIFF: variable "rho_p_save" of type "NC_FLOAT" (-35)<br>
DIFF: variable "rho_zz_old_split" of type "NC_FLOAT" (83)<br>
DIFF: variable "ruAvg" of type "NC_FLOAT" (-151)<br>
DIFF: variable "ruAvg_split" of type "NC_FLOAT" (15)<br>
DIFF: variable "wwAvg" of type "NC_FLOAT" (-93)<br>
DIFF: variable "wwAvg_split" of type "NC_FLOAT" (-70)<br>
Number of differences in header 3<br>
Number of differences in variables 13</tt><br>
</blockquote>
Most of these are arrays, is this reporting the largest absolute
difference across all the elements?<br>
<br>
-- Carl<br>
<br>
<br>
<div>
<hr>
</div>
<div>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. </div>
<div>
<hr>
</div>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div><div>Jim Edwards<br><br></div><font size="1">CESM Software Engineer<br></font></div><font size="1">National Center for Atmospheric Research<br></font></div><font size="1">Boulder, CO</font> <br></div></div>