How to download your data¶
From the Raspberry Shake¶
General Comments¶
Each daily miniSEED file is generally about 15 Mb in size, though the files can be bigger or smaller depending on the actual amplitudes recorded which affect the compression.
By default 7 days of continuous data are saved to disk. This is, however, configurable at in the Raspberry Shake’s webpage at http://rs.local/ Settings icon >> DATA >> Waveform Data Saving.
Warning
Be careful when configuring this parameter! You risk filling up the disk space. If this happens, you will not longer be able to access your Raspberry Shake. By default we ship Raspberry Shakes with an 8 Gb micro SD card. We estimate the that OS and software consume ~3 Gb of disk space, leaving you with ~5 Gb for data. At 15 Mb/ day/ channel, that is ~330 days MAX for the RS1D or RBOOM and much less for the RS3D, RS4D or RS&BOOM.
Via internal web front end¶
Open rs.local/ >> Actions icon >> DOWNLOADS >> DATA. This will open an FTP connection for individual file download.
Directly from the Raspberry Shake using sftp from the command-line¶
To download all files in one go using sftp from a command-line, use the following command to recursive copy your Raspberry Shake’s data to the local /tmp directory: (please note that ftp is not supported, all connections must be sftp)
$ sftp -r myshake@_ip_address_:/opt/data/archive /tmp
See here for additional methods that employ ftp GUIs (e.g., FileZilla, which we describe in detail below).
Via FileZilla¶
Some users may find it easier to use a graphical data transfer client like FileZilla (https://filezilla-project.org). FileZilla is essentially a wrapper around the ssh
and scp
commands, which means that logging in works basically the same way, but it’s all in a simple user interface.
Once you have FileZilla downloaded and installed, you’ll need to input these parameters into the Connect bar of FZ, which tells it to connect to your Shake as a remote server:
- Host:
rs.local
(or the IP you get from Fing) - Username:
myshake
- Password: [your Shake’s password]
- Port:
22
Then, hit the Connect button. When connected, you will see the Shake appear in the righthand column of the FZ interface. Use that interface to navigate to /opt/data/archive
, and then above that, the data will be in folders that are dynamically named in the following way: YEAR/NETWORK/STATION/CHANNEL/<DAILY MINISEED FILES>
.
Download the daily miniSEED files you want from that directory to your machine (your local machine will always be in the left column of the interface).
Note
Raspberry Shake is not responsible for the content of FileZilla.
Directly from the Raspberry Shake using scp from the command-line or WinSCP¶
On the Raspberry Shake, continuous waveform data, as that seen with Swarm, are saved in miniSEED format to:
/opt/data/archive
The archive structure is: YEAR/NETWORK/STATION/CHANNEL/<DAILY MINISEED FILES>
Directly from the microSD using a built-in/external card reader¶
As per the previous section, on the Raspberry Shake, continuous waveform data, as that seen with Swarm, are saved in miniSEED format to:
/opt/data/archive
The archive structure is: YEAR/NETWORK/STATION/CHANNEL/<DAILY MINISEED FILES>
Note
when accessed from Windows, the only visible partition will be the /boot one, which is FAT32 formatted. To see the EXT4 formatted partition instead, which contains the Shake OS and the recorded data, please install some EXT4 drivers for Windows.