wiki:ShFetch

Version 4 (modified by MarcusWalther, 6 years ago) (diff)

--

Return to command index

Fetch seismograms from arclink servers

command: FETCH <stations> <start> <length>

Load waveform data from remote arclink servers. The downloaded data is cached by default.

parameters

  • <station> parameter type: string
    Denotes the data to be downloaded. The notation in SEED-Format style is mandantory, e.g. GR.GRA..BHZ (network GR, station GRA1, location empty, BH stream, Z component). The parameter may contain wildcards (asterisk and question mark).
  • <start> parameter type: time
    Beginning of the data window.
  • <duration> parameter type: float
    Duration of the data window in seconds.

qualifiers

  • /host
    Use other arclink server than specified in configuration file.
  • /nocache
    Don't use cache, always download data. As default SHX requests data remotely if the local cache does not contain data for start time and of given length. There's no method to check whether a in-between gap results from missing local or original data without remote request (this would make the cache irrelevant). Therefore you should only save "final" data to cache (see next parameter).
  • /save
    Save downloaded data into local cache. SHX builds an SDS structure in $HOME/.shx/sds/.
  • /user
    Set username for request (override "user" value in section [arclink] of configuration file)
  • /password
    Set password for request (override "login" value in configuration file)

example

fetch gr.gra1..bhz 1-jan-12_1:44:44 600 /save /nocache
Download without using cache and save data into cache for station GRA1 in given time-range.