nc_setfill determines whether or not variable prefilling will be done.
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 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);
See also
id-1389986