Skip to main content

A Python package for netCDF analysis and post-processing

Project description



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

Core abilities of nctoolkit include:

- Clipping to spatial region
- 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

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 <https://nctoolkit.readthedocs.io/en/stable/installing.html>`__.

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 <https://scitools.org.uk/cartopy/docs/latest/installing.html>`__ to install them.

Documentation and a user guide are available `here <https://nctoolkit.readthedocs.io/en/stable>`__.

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-1.2.7.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

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

nctoolkit-1.2.7-py3-none-any.whl (147.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nctoolkit-1.2.7.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for nctoolkit-1.2.7.tar.gz
Algorithm Hash digest
SHA256 d8ce371069a09b6ad295b75539369037d14ceb0ff7007a2e267930382a181e39
MD5 2b92d3c6bfcf8ad82bfea5ccac262318
BLAKE2b-256 db04347ecf017f8e6abf8204f07a909e776c00e744e851756f2776142c01a823

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nctoolkit-1.2.7-py3-none-any.whl
  • Upload date:
  • Size: 147.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for nctoolkit-1.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7cd1fb0abbfe220919738a7e7792a5ef5fbf744efa11bdc8c386b5307a657cfa
MD5 03097625238bb5d43d10fc20ae7f7c8b
BLAKE2b-256 d44f6147cc0a1e87a7c0641f172efc1c70e133cb95d7025dd6ddcd8f0a1cfc62

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