void drms_array_fprint ( FILE *  arrfile,
DRMS_Array_t arr,
const char *  colsep,
const char *  rowsep 
)

Prints the values of the data in arr->data in tabular form to file keyfile, with colums separated by the string colsep and rows separated by the string rowsep. One-dimensional arrays are printed as a single row, two-dimansional arrays in column-major i.e. storage order. Arrays of higher dimension are printed as successive tables, each labeled by a header line giving the array index or indices for the corresponding dimension(s) above the 2nd.

Parameters:
keyfile The name of the file to be printed to.
arr The DRMS array struct whose data values are being printed.
colsep A string that will be printed between columns of output.
rowsep A string that will be printed between rows of output.

Definition at line 282 of file drms_array.c.


Generated on Mon Mar 26 07:00:49 2018 for JSOC_Documentation by  doxygen 1.5.7.1