Plotting
nctoolkit provides automatic plotting of netCDF data in a similar way to the command line tool ncview.
If you have a dataset, simply use the plot
method to create an
interactive plot that matches the data type.
We can illustate this using a sea surface temperature dataset available here.
Let’s start by calculating mean sea surface temperature for the year 2000 and plotting it:
import nctoolkit as nc
ff = "sst.mon.mean.nc"
ds = nc.open_data(ff)
ds.subset(year = 2000)
ds.plot()