Skip to main content

A Python package for netCDF analysis and post-processing

Project description



**nctoolkit** is a comprehensive Python (3.8 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


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

Uploaded Source

Built Distribution

nctoolkit-1.1.11-py3-none-any.whl (146.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nctoolkit-1.1.11.tar.gz
Algorithm Hash digest
SHA256 8940d87ecb31d16944924aad5a35df8a6df469bce081f0a15761ca93924d3a32
MD5 0aa8614b1c4029cbd82f6198166338fb
BLAKE2b-256 6e2dc715194b0296b26943a2662009bd586dcfacd841594f4909aca109783628

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nctoolkit-1.1.11-py3-none-any.whl
  • Upload date:
  • Size: 146.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for nctoolkit-1.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 47799ed536989eaa32dc8ce92626d17a09647a6dfadb66b45f4b4a5afbaa5af8
MD5 f8b046a1bddb96d37c9fe3042f66d5a7
BLAKE2b-256 f3e63a805ee08468215e6546e888e9ed8de8000a71904d215933ef152395a3a8

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