Source: https://www.lmd.jussieu.fr/~lguez/Teaching/NetCDF.pdf