Changing the Filling Mode
Function Syntax
Change the filling mode to improve write performance.
nc_set_fill(int ncid, int fillmode, int *old_modep)
Parameters
Parameter |
Description |
Value Range |
Input/Output |
|---|---|---|---|
ncid |
File ID |
Non-negative integer |
Input |
fillmode |
Filling mode |
0 or 0x100 |
Input |
*old_modep |
Pointer to the previous filling mode |
Non-empty |
Output |
Return Value
- Success: NC_NOERR
- Failure: An error code is returned.
Error Code
Error Code |
Description |
|---|---|
NC_EBADID |
Invalid ncid |
NC_EINVAL |
Invalid argument |
NC_ENOMEM |
Insufficient memory |
Parent topic: Information Setting