[Go-essp-tech] NetCDF-CF compliance checker available for download

stephen.pascoe at stfc.ac.uk stephen.pascoe at stfc.ac.uk
Wed Nov 17 07:24:24 MST 2010


Hi all,

 

With the permission of Rosalyn Hatcher I have packaged the NetCDF-CF
compliance checker as a downloadable tarball.  This is available on the
Python Package Index.  This tool provides the best available
verification of NetCDF-CF compliance.

 

The cf-checker has 2 dependencies: cdms  and udunits-2.  If you are
managing an ESGF datanode you already have CDAT in /usr/local/cdat.
Alternatively you can use cdat_lite.  Udunits2 will need installing
separately and the udunits dynamic library must be in your ld library
path (e.g. set LD_LIBRARY_PATH).

 

[cfchecker] http://pypi.python.org/pypi/cfchecker

[CDAT-lite] http://pypi.python.org/pypi/cdat-lite

[UDUNITS-2] http://www.unidata.ucar.edu/software/udunits

 

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  "easy_install cfchecker" (for instance
/usr/local/cdat/bin/easy_install cfchecker)

 

This makes the script "cfchecks" available.  The help page follows.
Please feed back any installation issues to me and usage issues to Ros
and/or myself.

 

Cheers,

Stephen.

 

 

 

$ cfchecks --help

 cfchecker [-a|--area_types area_types.xml] [-s|--cf_standard_names
standard_names.xml] [-u|--udunits udunits.dat] [-v|--version CFVersion]
file1 [file2...]

 

Description:

 The cfchecker checks NetCDF files for compliance to the CF standard.

 

Options:

 -a or --area_types:

       the location of the CF area types table (xml)

       

 -s or --cf_standard_names:

       the location of the CF standard name table (xml)

       

 -u or --udunits:

       the location of the udunits.dat file

 

 -h or --help: Prints this help text.

 

 -v or --version: CF version to check against.

 

 

 

---

Stephen Pascoe  +44 (0)1235 445980

Centre of Environmental Data Archival

Rutherford Appleton Laboratory, Chilton, Didcot OX11 0QX, UK

 


-- 
Scanned by iCritical.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/go-essp-tech/attachments/20101117/accdf550/attachment.html 


More information about the GO-ESSP-TECH mailing list