sync scipy.io.netcdf_file. netcdf_file.sync() Perform a sync-to-disk flush if the netcdf_file object is in write mode.