Some basic netCDF data reading, creating and saving are covered in this chapter of the CDAT tutorial series.
This is the start of a CDAT tutorial series. We will be installing a "lite" version of the CDAT in Linux via conda.
In this post we create a *DiskCacher* class that can be used as a *with* context manager, a function wrapper and as the pie-syntax decorator. It modifies a given computation function, and tries to use the cached data if possible, and only do the re-computation if the cache is not found or the user forces an overwrite.
On top of netcdf4, there are some more advanced packages in Python that could make the manipulation of NetCDF data, and your life a lot easier.