nc_last_errorΒΆ

nc_last_error returns the last error that occurred of UniPlot data files. If the last invoked nc_-function returned without an error the function will return 0.

ncerr = nc_last_error(ncid)

Return Value

Parameters

ncid

Identifies the netCDF file. See nc_create or nc_open.

Comment

The function can only be used for netCDF-up files. See nc_create. For netCDF files (NC_FORMAT_CLASSIC and NC_FORMAT_PC) the function always returns -1.

History

Version Description
5.6.0 New.

id-1228882