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