Skip to main content

Fast and easy analysis of netCDF data in Python

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.4.3.tar.gz (678.1 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.4.3-py3-none-any.whl (112.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nctoolkit-0.4.3.tar.gz
  • Upload date:
  • Size: 678.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for nctoolkit-0.4.3.tar.gz
Algorithm Hash digest
SHA256 097ac8814fcac217cd0a3794c5394b3fd7e8d39ea42c5752a018c4cbd04df6fb
MD5 e0e639aa51125a9196387edaf80192f9
BLAKE2b-256 23ef305123cc4f26aea945397dc3d90e2dea1ca79c8d1683907a428b4d629f57

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nctoolkit-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 112.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for nctoolkit-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 60319ba45051b33f2e14b0c6ada3f52a561196355f2a815728a2ab6f6cfd5572
MD5 3a7c854c3d605a56a55e990c7cbd2aef
BLAKE2b-256 30a1d3b7b7a36a79a71cee4c5634941cfece79a0221d925a52cbe2e4ac43cc9d

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