Solutions for Swarm download issue in v0.18

Hi all,

Version 0.18 of our OS suffers a problem in which Swarm is not correctly downloaded from the USGS site. This is due to the fact that they released a new version and removed the old version’s download link, which is against the protocol of what they’ve done in the past, and therefore breaks our download link.

However not to worry, there are several solutions to this.

  1. Download or copy Richard’s script (12.2 KB) to the Shake, and run it. This will have the effect of replacing the SWARM.zip file on the Shake’s webserver with the USGS’s newer version, which will solve the issue.

    You can copy the script to the /tmp folder on the Shake using scp or FileZilla or a similar ftp or filesharing software.
    Then, while logged into the Shake, move it to the /usr/local/bin folder, make it executable, and execute it like this:

    sudo mv /tmp/swarm-fetch /usr/local/bin
    sudo chmod a+x /usr/local/bin/swarm-fetch
    swarm-fetch 3.1.0
    
  2. Download the latest version of Swarm from the USGS Swarm site and configure it yourself. Once you have unzipped the files, you can do this by either:

    a. Copying the following two lines to Swarm.config

    server=rs;wws:rs.local:16032:15000:1
    server=RS Community;wws:caps.raspberryshakedata.com:16022:15000:1
    

    or

    b. Manually adding the sources from Swarm itself.

    1. First click the “New data source” button
      image
    2. Enter the following parameters:
      Data source name: Local Shake
      IP address or host name: rs.local
      Port: 16032
      image
    3. Press OK. Your source table should look like this now:
      image
    4. Double click on “Local Shake” to make sure it connects. Press the + sign to expand the source. It should now look like this (the number of channels may be different, this is for a Shake 4D):
      image
    5. Now add the Community server, the same way. The credentials you will need are:
      Data source name: RS Community
      IP address or host name: caps.raspberryshakedata.com
      Port: 16022
      image
    6. When you connect to the RS Community source, the data sources should include a long list of stations, and the map will be populated with dots representing their locations.

If you have any issues with any of these steps, let us know.
Hope you are enjoying your quarrantines and social distancing practices by browsing some interesting seismic data.
Cheers, stay safe.
Ian

It worked! Thank you!! (I was actually receiving emergency notifications on my phone to shelter-in-place for the pandemic as we were going through this process, so setting this up was a nice distraction to that stressful situation. Thank you, too, for that.)

2 Likes

Solution 1 work for AM.RA14E, Thank you, Paolo (Messina - Italy)

2 Likes