RSK2CSV outputs channel data and metadata from the RSK structure into one or more CSV files. The CSV file header contains logger metadata, station metadata (see RSKaddmetadata). The data table starts with a row of variable names and units above each column of channel data. If the data has been parsed into profiles, then one file will be written for each profile. Furthermore, an extra column called 'cast_direction' will be included. The column will contain 'd' or 'u' to indicate whether the sample is part of the downcast or upcast, respectively.
Users can customize which channel, profile for outputs, output directory and comments attached to the end of the header.
RSK2CSV as below:
Example of a CSV file created with
The header also includes entries for station metadata. Some of these fields may be filled automatically with Ruskin annotations if they were added by the user. Alternatively, they can be populated with RSKaddmetadata.m.