Getting Started

Requirements

  • At least 8 GB RAM

  • Python >= v3.10

Installation

Install via pip (easy way)

python3 pip install seed-vault

NB:

  1. If you get an “error: externally-managed-environment” error, you will need to install and activate a new Python environment

    e.g.

python3 -m venv ./venv
. ./venv/bin/activate
  1. Assumes python & ‘pip’, ‘venv’ packages are installed

    e.g. for Ubuntu, as root:

apt update
apt install -y python3 python3-dev python3-pip python3-venv

Install from source (if you insist!)

Step 1: Clone repository

git clone https://github.com/AuScope/seed-vault.git

Step 2: Setup and run

Then can build via pip:

python3 -m pip install ./seed-vault

Or,

Linux/MacOS

cd seed-vault
source setup.sh
source run.sh

Windows

Open a powershell and run following commands:

cd seed-vault
.\setup-win.ps1
.\run-win.ps1

NOTES:

  1. May require python3 venv software package

    e.g. for Ubuntu you may need to install (as root):

apt update
apt install -y git sudo
apt install -y python3 python3-dev python3-pip python3-venv

Starting the Application

seed-vault

Getting to the Opening Page

You’ll get a message like this:

Collecting usage statistics. To deactivate, set browser.gatherUsageStats to false.


You can now view your Streamlit app in your browser.

Local URL: http://localhost:8501
Network URL: http://222.111.001.002:8501
External URL: http://222.111.001.002:8501

Enter a URL into your brower, and you should see the opening page:

_images/startup-page.png

From here you can select one of three options, then hit the “Start” button:

    1. Event based

    1. Station based

    1. Continuous Data

i. Event Based Workflow

“Step 1: Search & Select Events” Page

_images/step1-select-events.png
  1. Hit the “Load Events” button (circled in green)

  2. Select events from the map and/or directly in the table

  3. Hit the “Next” button (circled in orange)

“Step 2: Search & Select Stations” Page

_images/step2-select-stations.png
  1. Hit the “Load Stations” button (circled in orange)

  2. Select stations from the map and/or directly in the table

  3. Hit the “Next” button (circled in green)

“Step 3: Waveforms” Page

_images/waveform-analysis.png
  1. Click on the “Get Waveforms” button (circled in pink)

ii. Station Based

“Step 1: Search & Select Stations” Page

_images/step1-select-stations.png
  1. Hit the “Load Stations” button (circled in yellow)

  2. Select stations from the map and/or directly in the table

  3. Hit the “Next” button (circled in pink)

“Step 2: Search & Select Events” Page

_images/step2-select-events.png
  1. Hit the “Load Events” button (circled in purple)

  2. Select events from the map and/or directly in the table

  3. Hit the “Next” button (circled in green)

“Step 3: Waveforms” Page

_images/waveform-analysis.png
  1. Click on the “Get Waveforms” button (circled in pink)

iii. Continuous Downloads

“Step 1: Search & Select Stations” Page

_images/step1-select-stations.png
  1. Hit the “Load Stations” button (circled in yellow)

  2. Select stations from the map or directly in the table

  3. Hit the “Next” button (circled in pink)

“Step 2: Get Waveforms” Page

_images/continuous-waveform.png

Hit the “Download Waveforms” button, wait for download to complete