Home

Awesome

pynco

Python bindings for NCO. A fork from Ralf Mueller's cdo-bindings.

This package contains the python module nco, which implements a python style access to the NetCDF Operators (NCO). NCO is a command line tool for processing netCDF data. Its main focus is climate data, but it can by used for other purposes too.

Documentation

Read the documentation at pynco.readthedocs.org

Installation

Conda Installation (recommended)

This will install all required and optional dependencies and is the quickest and easiest way to a working pynco installation.

conda install -c conda-forge pynco

PyPI Installation

Please see the requirements before installing

pip install nco

Example

from nco import Nco
nco = Nco()
temperatures = nco.ncra(input='input.nc', returnCdf=True).variables['T'][:]

Support, issues, bugs, ...

Please use the github page to report issues, bugs, and features: https://github.com/nco/pynco.

For usage questions, please use Stack Overflow.

License

pynco makes use of the MIT License, see LICENSE.txt.