geodat.nc.savefile

geodat.nc.savefile(filename, listofvar, overwrite=False, recordax=-1, appendall=False)[source]
filename - a string that specifies the filename,
if it is not suffixed with .nc, .nc will be added
list of variable - a list of geodat.nc.Variable objects, can be a single
geodat.nc.Variable
overwrite - a boolean. Overwrite existing file if True.
default=False
recordax - an integer. Specify the axis that will be the
record axis, default = -1 (no record axis)
appendall - a boolean. Append to existing file if True.
default = False

This function, however different from other functions in the module, uses NetCDF4 Dataset to write data

Fork me on GitHub