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 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-1.1.5.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.1.5-py3-none-any.whl (144.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nctoolkit-1.1.5.tar.gz
Algorithm Hash digest
SHA256 840f6701c47bfac410d323334644ca24e794e3e659e4a9f35cfaf73b6ae7e74c
MD5 3ee7f607b4d4fdf9c331514bd7b29c95
BLAKE2b-256 1e3f33872b6a04b99ea82554f885cae9ce43c0cb10f78b09a5e18b378f3e840e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nctoolkit-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 45c1f1c3c5d8e1f9c775c7c0d031e02aa87cc08e718f21f45924755b0db63ca0
MD5 0157eb12564c95cc197448078705129e
BLAKE2b-256 2067a8c4c37474daca186347eb2a5e36d21da0c24a7802cf65d2b593ba14ca18

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