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.6.tar.gz (684.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.6-py3-none-any.whl (119.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nctoolkit-0.4.6.tar.gz
Algorithm Hash digest
SHA256 41c80b9c178d2c47b00a9154e06e2b52bbff38287e80b609c0ca4d753bb1ca2e
MD5 01ea8bb43dd5d94b2c8eac7ba1c8e3f3
BLAKE2b-256 3a480ef92f23dbe863ccaae3eb0bfd200f9f3d56eb332b7a34159dbd4bb832ff

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nctoolkit-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 eb7f6acdf21e08fe54ae7758be863ae1a6457601271a710e7ae57eb3fec2dda4
MD5 51b4182efd34c6cdf2a6fe8606b6584b
BLAKE2b-256 8743ed127d2df0eceadeea8444d74f77f897e9441a11f22e0d4c5a506dfeaae3

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