Rate This Document
Findability
Accuracy
Completeness
Readability

Defining the Variable Storage Mode

Function Syntax

nc_def_var_chunking(int ncid, int varid, int storage, const size *chunksizesp)

Parameters

Parameter

Description

Value Range

Input/Output

ncid

File ID

Non-negative integer

Input

varid

Variable ID

Non-negative integer

Input

storage

Storage mode

[0,4]

Input

chunksizesp

Pointer to the chunk size array

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

NC_EINVAL

Invalid argument

Notes

Currently, Hyper IO does not support the configuration of storage modes. The function does not take effect.