Information Setting
Function Syntax
Parameters
Parameter |
Description |
Value Range |
Input/Output |
|---|---|---|---|
fileId |
File ID |
Non-negative integer |
Input |
*name |
Dimension or variable name |
Non-empty string of less than 256 bytes |
Input |
length |
Dimension length |
Non-negative integer |
Input |
*idPoint |
Destination address for storing the dimension ID handle |
Non-empty |
Input |
dataType |
Variable data type |
Non-empty |
Input |
*dimsArray |
Dimension ID array |
Non-empty |
Input |
dimNumber |
Number of dimensions |
Non-negative integer |
Input |
*idPoint |
Pointer to the variable ID |
Non-empty |
Output |
Return Value
- Success: NC_NOERR
- Failure: An error code is returned.
Error Code
Error Code |
Description |
|---|---|
NC_EBADID |
Invalid ncid |
NC_EBAD_FILE |
Invalid file name |
NC_ENOMEM |
Null pointer or invalid memory |
Parent topic: PnetCDF Bridging Functions