Examples

This tutorial runs through a number of example work flows.

Global sea surface temperature since 1850

This example analyzes a global sea surface temperature dataset, covering the years since 1850. The data is available from the National Oceanic and Atmospheric Administration (NOAA) here.

We are looking at global sea surface temperature since 1850, so an obvious question is how much the oceans have warmed over this time period. We can use nctoolkit’s spatial_mean method to calculate this:

Once the file is downloaded, we should set it to ff:

[1]:
import nctoolkit as nc
ff = "sst.mon.mean.nc"
nctoolkit is using CDO version 1.9.9
[2]:
ds = nc.open_data(ff)
ds.spatial_mean()
ds.plot()