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

Uploaded Source

Built Distribution

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

nctoolkit-0.9.4-py3-none-any.whl (139.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nctoolkit-0.9.4.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for nctoolkit-0.9.4.tar.gz
Algorithm Hash digest
SHA256 c54533cb86ba439351d1d17703a0b36524ff3f1d7422b6c6ce02581f0ff2c3b1
MD5 be07751b4ff73721c9882d52da190524
BLAKE2b-256 f9bb974458a8540836041106f43d8970860ca579cf818ac11cab8aeeabfb6482

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nctoolkit-0.9.4-py3-none-any.whl
  • Upload date:
  • Size: 139.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for nctoolkit-0.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1ee68eb26cc525630cb84002fe91f6fd591cb44655a1c6ca46e018e24a517993
MD5 a76b38e48f6fa2522094b25c986c0425
BLAKE2b-256 9b8f7af9330c8edb0b18c22e15b5dbfacac753a3408e80348c0d8cb5415aacf5

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