Cheat Sheet

Print it off | Put it on your desk

nctoolkit_cheatsheet.pdf — 2 pages Download PDF

Preview not showing? Open the PDF directly instead — some mobile browsers don't render embedded PDFs.

How to

Common tasks, one line of code each. Every example assumes import nctoolkit as nc and a dataset ds opened with nc.open_data(). The tag on each card links to the method's full entry in the API reference.

Opening data

Checking what is in a dataset

Subsetting

Statistics over time

Statistics over space

Depth

Regridding & interpolation

Arithmetic & new variables

Editing variables & metadata

Ensembles & merging

Plotting

Exporting

Diagnostics & file management

Evaluation & settings