#include "statio.h"
FUNCTION c_stnode (fd, ic, is, id, data_type, shape)
long *fd; long *ic; long *is; long *id; char *data_type; long shape[9];
File descriptor of an opened statistics file. The file descriptor is set by stopen and should not be altered.
The class index of the node. See c_stget() for description of parameter ic.
The site index of the node. See c_stget() for description of parameter is.
The index of the data item.
The data type of the data found. See c_stget() for a description on parameter data_type.
The shape vector of data found. See c_stget() for a description on parameter shape.
The c_stnode() routine is typically called repetitively to get all the data types at a given node. Put the call to c_stnode() in a loop incrementing id after each call. This will get all the data types at a particular node. The parameter id should start out with the value 1.
c_stnode() returns
E_SUCC (0) --> successful read E_NODT (4) --> no more data items in node (no message) E_NOCL (2) --> class ic not found (no message) E_NOSI (3) --> site is not found (no message) E_GNLIO (1) --> general I/O error (no message)