Skip to main content

The NetCDF Climate Forcast Conventions compliance checker

Project description

===================================
README - CF Checker version 2.0.0
===================================

To run the CF file conformance checker you must have the following
installed on your system:

- Python 2.5
- UDUNITS2
- CDMS (part of CDAT-5.x)


Notes on CDMS install
---------------------

The CDMS module is part of the CDAT distribution available from the
PCMDI software portal (http://www2-pcmdi.llnl.gov/cdat/).

You can either install the entire CDAT distribution or alternatively
use the CDAT-lite_ package.

.. _CDAT-lite: http://pypi.python.org/pypi/cdat-lite


Notes on UDUNITS-2 install
--------------------------
The UDUNITS-2 package can be obtained from the unidata website
(http://www.unidata.ucar.edu/software/udunits)


To run the CF checker
---------------------

Once you have both UDUNITS-2 and CDMS installed you need to complete the
following steps in order to run the CF Checker.

1. Make sure that the location of the cdms library is in your PYTHONPATH

E.g. export PYTHONPATH=/home/rsh/software/CDAT-5.2-cdms/lib/python2.5/site-packages

2. Make sure that the path to the udunits libraries are in the system
library path or alternatively set the environment variable LD_LIBRARY_PATH

E.g. export LD_LIBRARY_PATH=$PREFIX/lib

where $PREFIX is the --prefix option you passed to the configure script
when installing udunits.

3. Depending on the platform you are installing on, you may need to edit
the name of the udunits2 library in the cfchecks.py script. If the name
of the library is anything other than libudunits2.so then you will need to
modify, as appropriate, the line

udunits=CDLL("libudunits2.so")

4. You may also need to modify the path to the python interpreter at the top
of the cfchecks.py script.

5. Run the checker by typing:
cfchecks.py <netCDF_file.nc>


If you have any problems or comments please contact Rosalyn Hatcher
(r.s.hatcher@reading.ac.uk)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

cfchecker-2.0.3.tar.gz (1.3 MB view details)

Uploaded Source

cfchecker-2.0.2.tar.gz (24.4 kB view details)

Uploaded Source

File details

Details for the file cfchecker-2.0.3.tar.gz.

File metadata

  • Download URL: cfchecker-2.0.3.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cfchecker-2.0.3.tar.gz
Algorithm Hash digest
SHA256 27c5c822307a600c3c1a8c5d6fc1d9c93b217bd31fffd360e28c0e7603c738ef
MD5 54e780e8688ac743d1e21448a3901061
BLAKE2b-256 e173c1df388bf4f4208c271769bd5eae54bf3bf99d7d545c6faa9f91793d99b4

See more details on using hashes here.

File details

Details for the file cfchecker-2.0.2.tar.gz.

File metadata

  • Download URL: cfchecker-2.0.2.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cfchecker-2.0.2.tar.gz
Algorithm Hash digest
SHA256 d176a791ca11130954c602be596c49b25acfd9b58e7162672bc42cb7d522f9c4
MD5 3aebcd8461d544c2349629cb909f301d
BLAKE2b-256 ae9b9ef2374d9bc301f86839c5a5614b3af72758ad6c83500ea7f6c691ca9f72

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page