<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Ros, I think this package will be very widely used...<div>Luca</div><div><br><div><div>On Nov 19, 2010, at 4:48 AM, Rosalyn Hatcher wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div text="#000000" bgcolor="#ffffff">
    As Stephen says the checker currently only validates versions 1.0 to
    1.4 of the CF convention.<br>
    <br>
    I was unaware that CF-1.5 had been officially released.&nbsp; I now see
    that the CF-1.5 document was added a couple of weeks ago. Guess I
    must have missed that announcement somehow. <span class="moz-smiley-s2"><span> :-( </span></span><br>
    <br>
    Once I have a list of all the differences, I will implement them in
    the checker as soon as I can and announce the update on the
    cf-metadata mailing list.<br>
    <br>
    Cheers,<br>
    Ros.<br>
    <br>
    <br>
    On 19/11/10 09:49, <a class="moz-txt-link-abbreviated" href="mailto:stephen.pascoe@stfc.ac.uk">stephen.pascoe@stfc.ac.uk</a> wrote:
    <blockquote cite="mid:EB1E7CB92F5B35459E0B926D2A614DB60D5ECC39@EXCHANGE19.fed.cclrc.ac.uk" type="cite">
      
      
      
      <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.apple-tab-span
        {mso-style-name:apple-tab-span;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
      <div class="Section1"><p class="MsoNormal"><span style="font-size: 11pt; font-family:
            &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31,
            73, 125);">It's good to receive some prompt feedback on the
            CF-checker
            download.&nbsp; I have limited knowledge of how the tool really
            works so I'm
            going to forward general questions to cf-metadata and Ros
            Hatcher.&nbsp; To
            answer Luca's question below -- The checker expects the
            version option to be
            between "1.0" and "1.4".&nbsp; I'm not sure what features would
            need adding to support 1.5.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family:
            &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31,
            73, 125);"><o:p>&nbsp;</o:p></span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family:
            &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31,
            73, 125);">Also something that came up is that the "-u"
            option
            expects to be given the location of the udunits2.xml file
            installed as part of
            udunits-2 and not udunits.dat.&nbsp; It's usual location is
            &lt;UDUNITS-HOME&gt;/share/udunits/udunits2.xml.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family:
            &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31,
            73, 125);"><o:p>&nbsp;</o:p></span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family:
            &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31,
            73, 125);">Cheers,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family:
            &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31,
            73, 125);">Stephen.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family:
            &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31,
            73, 125);"><o:p>&nbsp;</o:p></span></p>
        <div>
          <div style="border-right: medium none; border-width: 1pt
            medium medium; border-style: solid none none; border-color:
            rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color;
            padding: 3pt 0cm 0cm;"><p class="MsoNormal"><b><span style="font-size: 10pt;
                  font-family:
                  &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">From:</span></b><span style="font-size:
                10pt; font-family:
                &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">
                Cinquini, Luca (3880)
                [<a class="moz-txt-link-freetext" href="mailto:Luca.Cinquini@jpl.nasa.gov">mailto:Luca.Cinquini@jpl.nasa.gov</a>] <br>
                <b>Sent:</b> 19 November 2010 00:33<br>
                <b>To:</b> Pascoe, Stephen (STFC,RAL,SSTD)<br>
                <b>Cc:</b> Cinquini, Luca (3880)<br>
                <b>Subject:</b> Re: [Go-essp-tech] NetCDF-CF compliance
                checker available for
                download<o:p></o:p></span></p>
          </div>
        </div><p class="MsoNormal"><o:p>&nbsp;</o:p></p><p class="MsoNormal">Hi Stephen,<o:p></o:p></p>
        <div><p class="MsoNormal"><span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </span>our
            SA installed the package, and I gave it a try, and it worked
            really nicely...
            got a couple of warning on a few files that seemed like the
            correct thing to
            have.<o:p></o:p></p>
        </div>
        <div><p class="MsoNormal">One question I have is that the package
            seems to think the
            latest version of CF is 1.4, while it is indeed 1.5 - is
            that correct ?<o:p></o:p></p>
        </div>
        <div><p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        </div>
        <div>
          <div><p class="MsoNormal">-bash-3.2$ cfchecks -v 1.5
pcmdi.ipcc4.miroc3_2_hires.amip.run1.monthly.hus_A1_1979_2002.nc<o:p></o:p></p>
          </div>
          <div><p class="MsoNormal">WARNING: CF-1.5 is not a valid CF
              version.<o:p></o:p></p>
          </div>
          <div><p class="MsoNormal">Performing check against newest version
              CF-1.4<o:p></o:p></p>
          </div>
          <div><p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          </div>
          <div><p class="MsoNormal">CHECKING NetCDF FILE:
              pcmdi.ipcc4.miroc3_2_hires.amip.run1.monthly.hus_A1_1979_2002.nc<o:p></o:p></p>
          </div>
        </div>
        <div><p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        </div>
        <div><p class="MsoNormal">Anyway this is great - as soon as we have
            a wiki up for this
            NASA-PCMDI effort, I will advertise the package to the other
            data providers...<o:p></o:p></p>
        </div>
        <div><p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        </div>
        <div><p class="MsoNormal">thanks again!<o:p></o:p></p>
        </div>
        <div><p class="MsoNormal">Luca<o:p></o:p></p>
        </div>
        <div><p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <div>
            <div><p class="MsoNormal">On Nov 17, 2010, at 7:24 AM, &lt;<a moz-do-not-send="true" href="mailto:stephen.pascoe@stfc.ac.uk">stephen.pascoe@stfc.ac.uk</a>&gt;
                &lt;<a moz-do-not-send="true" href="mailto:stephen.pascoe@stfc.ac.uk">stephen.pascoe@stfc.ac.uk</a>&gt;
                wrote:<o:p></o:p></p>
            </div><p class="MsoNormal"><br>
              <br>
              <o:p></o:p></p>
            <div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">Hi
                    all,<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">With
                    the permission of Rosalyn Hatcher I have packaged
                    the NetCDF-CF compliance
                    checker as a downloadable tarball.&nbsp; This is
                    available on the Python
                    Package Index.&nbsp; This tool provides the best
                    available verification of
                    NetCDF-CF compliance.<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">The
                    cf-checker has 2 dependencies: cdms &nbsp;and udunits-2.&nbsp;
                    If you are
                    managing an ESGF datanode you already have CDAT in
                    /usr/local/cdat.&nbsp;
                    Alternatively you can use cdat_lite. &nbsp;Udunits2 will
                    need installing
                    separately and the udunits dynamic library must be
                    in your ld library path
                    (e.g. set LD_LIBRARY_PATH).<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">[cfchecker]<span class="apple-converted-space">&nbsp;</span><a moz-do-not-send="true" href="http://pypi.python.org/pypi/cfchecker">http://pypi.python.org/pypi/cfchecker</a><o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">[CDAT-lite]<span class="apple-converted-space">&nbsp;</span><a moz-do-not-send="true" href="http://pypi.python.org/pypi/cdat-lite">http://pypi.python.org/pypi/cdat-lite</a><o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">[UDUNITS-2]<span class="apple-converted-space">&nbsp;</span><a moz-do-not-send="true" href="http://www.unidata.ucar.edu/software/udunits">http://www.unidata.ucar.edu/software/udunits</a><o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">Once
                    you have these dependencies either download the
                    tarball, unpack and run
                    "python setup.py install" or use the easy_install
                    tool to download
                    and install automatically with &nbsp;"easy_install
                    cfchecker" (for
                    instance /usr/local/cdat/bin/easy_install cfchecker)<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">This
                    makes the script "cfchecks" available.&nbsp; The help
                    page
                    follows.&nbsp; Please feed back any installation issues
                    to me and usage issues
                    to Ros and/or myself.<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">Cheers,<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">Stephen.<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">$
                    cfchecks --help<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;cfchecker
[-a|--area_types
                    area_types.xml] [-s|--cf_standard_names
                    standard_names.xml]
                    [-u|--udunits udunits.dat] [-v|--version CFVersion]
                    file1 [file2...]<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">Description:<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;The
                    cfchecker checks NetCDF files for compliance to the
                    CF standard.<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">Options:<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;-a
                    or --area_types:<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    the location of the CF area types table (xml)<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;-s
                    or --cf_standard_names:<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    the location of the CF standard name table (xml)<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;-u
                    or --udunits:<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    the location of the udunits.dat file<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;-h
                    or --help: Prints this help text.<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;-v
                    or --version: CF version to check against.<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 10.5pt;
                    font-family: Consolas;">---</span><span style="font-size: 11pt; font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;"><o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 10.5pt;
                    font-family: Consolas;">Stephen
                    Pascoe&nbsp; +44 (0)1235 445980</span><span style="font-size: 11pt; font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;"><o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 10.5pt;
                    font-family: Consolas;">Centre
                    of Environmental Data Archival</span><span style="font-size: 11pt; font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;"><o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 10.5pt;
                    font-family: Consolas;">Rutherford
                    Appleton Laboratory, Chilton, Didcot OX11 0QX, UK</span><span style="font-size: 11pt; font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;"><o:p></o:p></span></p>
              </div>
              <div><p class="MsoNormal"><span style="font-size: 11pt;
                    font-family:
                    &quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;<o:p></o:p></span></p>
              </div><p class="MsoNormal"><o:p>&nbsp;</o:p></p><p>--<span class="apple-converted-space">&nbsp;</span><br>
                Scanned by iCritical.<o:p></o:p></p><p class="MsoNormal"><br>
                &lt;ATT00001..txt&gt;<o:p></o:p></p>
            </div>
          </div><p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        </div>
      </div>
      <br><p>-- <br>
        Scanned by iCritical.
      </p>
      <br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Rosalyn Hatcher
NCAS Computational Modelling Services
Dept. of Meteorology, University of Reading, 
Earley Gate, Reading. RG6 6BB
Email: <a class="moz-txt-link-abbreviated" href="mailto:r.s.hatcher@reading.ac.uk">r.s.hatcher@reading.ac.uk</a>     Tel: +44 (0) 118 378 6016
</pre>
  </div>

<span>&lt;ATT00001..txt&gt;</span></blockquote></div><br></div></body></html>