Skip to main content

Fast and easy analysis of netCDF data in Python

Reason this release was yanked:

This contains a bug

Project description

nctoolkit is a comprehensive Python (3.6 and above) package for analyzing netCDF data on Linux and macOS.

Core abilities of nctoolkit include:

  • Clipping to spatial regions

  • Calculating climatologies

  • Subsetting to specific time periods

  • Calculating spatial statistics

  • Creating new variables using arithmetic operations

  • Calculating anomalies

  • Calculating rolling and cumulative statistics

  • Horizontally and vertically remapping data

  • Calculating time averages

  • Interactive plotting of data

  • Calculating the correlations between variables

  • Calculating vertical statistics for the likes of oceanic data

  • Calculating ensemble statistics

  • Calculating phenological metrics

Operation of the package requires the installation of Climate Data Operators (CDO). This is the computational backend for most of the methods used. No knowledge of CDO is required to use nctoolkit. A couple of methods provide users with the option of using netCDF Operators (NCO) as a backend. Guidance for how to install the backends are available here.

The package is designed for both intensive bulk processing of NetCDF files and interactive Jupyter notebook analysis. It features an interactive plotting feature which allows users to view the contents of NetCDF files either within Jupyter notebooks or a web browser.

Plotting requires the use of cartopy, which has some additional system dependencies. Follow the instructions here to install them.

Documentation and a user guide are available here.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

nctoolkit-0.7.0.tar.gz (921.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nctoolkit-0.7.0-py3-none-any.whl (129.2 kB view details)

Uploaded Python 3

File details

Details for the file nctoolkit-0.7.0.tar.gz.

File metadata

  • Download URL: nctoolkit-0.7.0.tar.gz
  • Upload date:
  • Size: 921.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for nctoolkit-0.7.0.tar.gz
Algorithm Hash digest
SHA256 5f5d0b9a47ab108b2b05f2cf6e855461ccbe9d67458e528c9fd1f9a496c1fc9c
MD5 1772ab62d1aa68ccea39836c5fc2ffd5
BLAKE2b-256 9e76b3f639383ca8db3a7b4de21d8c8e8a61f74a9ba44c03c030bfdafd19532c

See more details on using hashes here.

File details

Details for the file nctoolkit-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: nctoolkit-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 129.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for nctoolkit-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b06a0c45ffdbb36fc5aa7f8be60486aedc4b83a550ce7c7d353a70bb4018520
MD5 a2618387a50a2f74017483d4d15321a3
BLAKE2b-256 d721922d978725ab9e2cf0185d772227b5c8dc796c6858cf20c4c635f67f119f

See more details on using hashes here.

Supported by

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