nc_setfillΒΆ

nc_setfill determines whether or not variable prefilling will be done.

ncold = nc_setfill(ncid, fillmode)

Return Value

If the function succeeds, the return value is the old fillmode (see fillmode). If the function fails, the return value is -1.

Parameters

fillmode

fillmode is one of the following values:

Value

Meaning

NC_FILL

(default value) Enables prefilling.

NC_NOFILL

Disables prefilling.

Example

ncold = nc_setfill(ncid, NC_NOFILL);

id-1389986