Time-handling functionality from netcdf4-python
11/8/2016: cftime
was split out of the netcdf4-python package.
-
Clone GitHub repository (
git clone https://github.com/Unidata/cftime.git
), or get source tarball from PyPI. Links to Windows and OS X precompiled binary packages are also available on PyPI. -
Make sure numpy and Cython are installed and you have Python 2.7 or newer.
-
Run
python setup.py build
, thenpython setup.py install
(withsudo
if necessary). -
To run all the tests, execute
py.test
.
See the online docs for more details.