logo ipgp_petit2
   eost h   cnrs h   resif

Some examples using arclink_fetch:

Principle : the user submit the request in a text file to an ArcLink server.

Get an inventory

With the following example you get an inventory of the data available on the arclink server.

The file (request1.txt), covered the period from 1990 to 2012, for all the networks, stations, channels:

1990,1,1,0,0,0 2012,12,31,0,0,0 * * * *

Run the command line :

$ arclink_fetch ­-a eida.ipgp.fr:18001 ­-k inv ­-v ­-u This email address is being protected from spambots. You need JavaScript enabled to view it. ­-o inventaire.xml request1.txt

arclink_fetch send the file « inventory.xml ». This file contains all the networks, stations and channels available.

You can limited the inventory to a single network. Here is an example for the G network:

1990,1,1,0,0,0 2012,12,31,0,0,0 G * * *

 

Get data

With the request file (request2.txt) you can get data in miniseed format for the BHZ channel of the TAM station of the G network:

2011,01,01,00,00,00 2011,01,04,00,00,00 G TAM BHZ *

$ arclink_fetch ­-a eida.ipgp.fr:18001 ­-k mseed ­-v ­-u This email address is being protected from spambots. You need JavaScript enabled to view it. -­o tam.mseed request2.txt

The file tam.mseed will be created on your computer.

Get metadata

In the following example you will get a dataless file for the TAM station of the G network::

$ arclink_fetch ­-a eida.ipgp.fr:18001 -­k dseed ­-v ­-u This email address is being protected from spambots. You need JavaScript enabled to view it. ­-o tam.dataless request2.txt

You can read the dataless file with the rdseed software:

$ rdseed ­sf ./cgpb.dataless