Perform a sync-to-disk flush if the netcdf_file object is in write mode.
See also
scipy.io.netcdf_file.createVariable
scipy.io.netcdf_file.sync