The RSK format that all Logger2 instruments (RBRsolo, RBRvirtuoso, RBRduo, RBRconcerto, RBRmaestro) generate is not just another proprietary file format. We use a widely-used single file database called SQLite that allows us to have very large files with high-speed access to any part of the dataset. As a result, you can read RSKs from any programming language that supports SQLite. All you need to know is the schema of our table structure.
RSKtools for MATLAB
As an example to get you started, we are happy to provide a set of M files for MATLAB that handle opening, extracting subsets of data, and plotting the results from RSK files. Download the package, unzip and type “help RSKtools” in MATLAB for more. Now with support for both 32 bit and 64 bit Windows, OS X, and Linux.
To get started, do something like:
RSK = RSKopen('sample.rsk'); RSK = RSKreaddata(RSK); RSKplotdata(RSK);
This is a work in progress, but we hope it will be useful. Please send us feedback with things you’d like to see added – or contribute to it yourself! Development of the latest version of RSKtools happens on our BitBucket page – please download, clone, or fork the repo! For a quick introduction, check out the included vignette:
RSK files in R
More advanced users who wish to follow the development version can see the Installation page for more details.
To get started reading RSK files, use either the
read.rsk() functions, like:
library(oce) RSK <- read.oce('sample.rsk')
rsk-class object can then be plotted by doing:
or for “CTD”-type loggers, converted to a
ctd <- as.ctd(RSK)
For any issues or requests to the oce package, see the Github Issues page.