PIO  2.5.4
Functions
Set the Record Number

Set the record number for a future call to PIOc_write_darray() or PIOc_read_darray() in C. More...

Functions

int PIOc_advanceframe (int ncid, int varid)
 Increment the unlimited dimension of the given variable. More...
 
int PIOc_setframe (int ncid, int varid, int frame)
 Set the unlimited dimension of the given variable. More...
 

Detailed Description

Set the record number for a future call to PIOc_write_darray() or PIOc_read_darray() in C.

Function Documentation

◆ PIOc_advanceframe()

int PIOc_advanceframe ( int  ncid,
int  varid 
)

Increment the unlimited dimension of the given variable.

Parameters
ncidthe ncid of the open file
varidthe 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
ncidthe ncid of the file.
varidthe varid of the variable
framethe 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