Setting the Variable Filling Value
Function Syntax
nc_def_var_fill(int ncid, int varid, int no_fill, const void* fill_value)
Parameters
Parameter |
Description |
Value Range |
Input/Output |
|---|---|---|---|
ncid |
File ID |
Non-negative integer |
Input |
varid |
Variable ID |
Non-empty |
Input |
no_fill |
Whether to pad |
NC_NOFILL or NC_FILL |
Input |
*fill_value |
Pointer to the filling value |
Non-empty |
Input |
Return Value
- Success: NC_NOERR
- Failure: An error code is returned.
Error Code
Error Code |
Description |
|---|---|
NC_EBADID |
Invalid ncid |
NC_ENOTVAR |
Invalid variable ID |
Notes
Currently, Hyper IO does not support variable value filling. The function does not take effect.
Parent topic: Information Setting