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.3.9.tar.gz (666.7 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.3.9-py3-none-any.whl (99.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nctoolkit-0.3.9.tar.gz
  • Upload date:
  • Size: 666.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for nctoolkit-0.3.9.tar.gz
Algorithm Hash digest
SHA256 fd8d24455caee7cae82b27554f071c46ded64a48351fc45e9a3ec343d7910cbc
MD5 e2310222edc4d656c179bcdc5157967d
BLAKE2b-256 6141c61d4f1c4209d7c7130fd5deae6c4b6f64ab40b661123e0bde84ffa476c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nctoolkit-0.3.9-py3-none-any.whl
  • Upload date:
  • Size: 99.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for nctoolkit-0.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 c692b68a72163d296dc624129bd64fdfc57c5efab67487cc188e2abf257af5b1
MD5 4b29693402d0d7f437576030bc7d6654
BLAKE2b-256 2eca8357d72b3f85d029ac686a63263aecabed087959d1f109d846f3372f670b

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