nc_syncΒΆ

nc_sync writes all buffered data to the file.

r = nc_sync(ncid)

Return Value

If the function succeeds, the return value is not equal to -1. If the function fails, the return value is -1.

Parameters

ncid

Identifies the nc file.

Comment

For UniPlot datafiles (updf-nc) all data since are buffered since the file was opened or since the last call of nc_sync. nc_abort can be used to discard all since the file was opened or since the last call of nc_sync.

History

Version Description
5.6.0 New.

id-1926637