Added function GSDF.ncdf.write for writing fields to netCDF files.