Set the record number for a future call to PIOc_write_darray() or PIOc_read_darray() in C.
More...
Set the record number for a future call to PIOc_write_darray() or PIOc_read_darray() in C.
◆ PIOc_advanceframe()
int PIOc_advanceframe |
( |
int |
ncid, |
|
|
int |
varid |
|
) |
| |
Increment the unlimited dimension of the given variable.
- Parameters
-
ncid | the ncid of the open file |
varid | the variable ID |
- Returns
- 0 on success, error code otherwise
- Author
- Jim Edwards, Ed Hartnett
◆ PIOc_setframe()
int PIOc_setframe |
( |
int |
ncid, |
|
|
int |
varid, |
|
|
int |
frame |
|
) |
| |
Set the unlimited dimension of the given variable.
- Parameters
-
ncid | the ncid of the file. |
varid | the varid of the variable |
frame | the value of the unlimited dimension. In c 0 for the first record, 1 for the second |
- Returns
- PIO_NOERR for no error, or error code.
- Author
- Jim Edwards, Ed Hartnett