Skip to main content

Time-handling functionality from netcdf4-python

Project description

cftime

Time-handling functionality from netcdf4-python

Linux Build Status Windows Build Status PyPI package Coverage Status Tag Status Release Status Commits Status

News

12/05/2018: version 1.0.3.4 released (just to fix a problem with the source tarball on pypi).

12/05/2018: version 1.0.3.1 released. Bugfix release (fixed issue with installation when cython not installed, regression on 32-bit platforms, workaround for pandas compatibility).

12/01/2018: version 1.0.3 released. Test coverage with coveralls.io, improved round-tripping accuracy for non-real world calendars (like 360_day).

10/27/2018: version 1.0.2 released. Improved accuracy (from approximately 1000 microseconds to 10 microseconds on x86 platforms). Refactored calendar calculations now allow for negative reference years. num2date function now more than an order of magnitude faster. months since units now allowed, but only for 360_day calendar.

08/15/2018: version 1.0.1 released.

11/8/2016: cftime was split out of the netcdf4-python package.

Quick Start

  • 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, then python setup.py install (with sudo if necessary).

  • To run all the tests, execute py.test.

Documentation

See the online docs for more details.

Project details


Download files

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

Files for cftime, version 1.0.3.4
Filename, size & hash File type Python version Upload date
cftime-1.0.3.4-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (526.5 kB) View hashes Wheel cp27
cftime-1.0.3.4-cp27-cp27m-manylinux1_i686.whl (235.5 kB) View hashes Wheel cp27
cftime-1.0.3.4-cp27-cp27m-manylinux1_x86_64.whl (283.2 kB) View hashes Wheel cp27
cftime-1.0.3.4-cp27-cp27mu-manylinux1_i686.whl (235.5 kB) View hashes Wheel cp27
cftime-1.0.3.4-cp27-cp27mu-manylinux1_x86_64.whl (283.2 kB) View hashes Wheel cp27
cftime-1.0.3.4-cp27-none-win32.whl (167.3 kB) View hashes Wheel cp27
cftime-1.0.3.4-cp27-none-win_amd64.whl (210.8 kB) View hashes Wheel cp27
cftime-1.0.3.4-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (518.9 kB) View hashes Wheel cp34
cftime-1.0.3.4-cp34-cp34m-manylinux1_i686.whl (234.6 kB) View hashes Wheel cp34
cftime-1.0.3.4-cp34-cp34m-manylinux1_x86_64.whl (282.6 kB) View hashes Wheel cp34
cftime-1.0.3.4-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (522.0 kB) View hashes Wheel cp35
cftime-1.0.3.4-cp35-cp35m-manylinux1_i686.whl (238.2 kB) View hashes Wheel cp35
cftime-1.0.3.4-cp35-cp35m-manylinux1_x86_64.whl (284.7 kB) View hashes Wheel cp35
cftime-1.0.3.4-cp35-none-win32.whl (157.1 kB) View hashes Wheel cp35
cftime-1.0.3.4-cp35-none-win_amd64.whl (191.0 kB) View hashes Wheel cp35
cftime-1.0.3.4-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (576.9 kB) View hashes Wheel cp36
cftime-1.0.3.4-cp36-cp36m-manylinux1_i686.whl (254.2 kB) View hashes Wheel cp36
cftime-1.0.3.4-cp36-cp36m-manylinux1_x86_64.whl (305.2 kB) View hashes Wheel cp36
cftime-1.0.3.4-cp36-none-win32.whl (170.5 kB) View hashes Wheel cp36
cftime-1.0.3.4-cp36-none-win_amd64.whl (205.9 kB) View hashes Wheel cp36
cftime-1.0.3.4-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (553.0 kB) View hashes Wheel cp37
cftime-1.0.3.4-cp37-cp37m-manylinux1_i686.whl (253.2 kB) View hashes Wheel cp37
cftime-1.0.3.4-cp37-cp37m-manylinux1_x86_64.whl (303.3 kB) View hashes Wheel cp37
cftime-1.0.3.4-cp37-none-win32.whl (170.4 kB) View hashes Wheel cp37
cftime-1.0.3.4-cp37-none-win_amd64.whl (206.1 kB) View hashes Wheel cp37
cftime-1.0.3.4.tar.gz (46.4 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page