DATALESS Web Service


Description Usage URL Builder Help
Description

The NCEDC DATALESS webservice gives access to instrument response information. The response information is returned in the
dataless SEED format.  The service can return responses for a channel, one or more channels under a location, or one or
more channels under a station.

The service can be easily invoked by using the unix curl and wget commands.

curl $ curl -o BK.CMB.00.BHZ.ds "http://service.ncedc.org/ncedcws/dataless/1/query?net=BK&sta=CMB&loc=00&cha=BHZ" This will send the request to the server and save the results in a file name BK.CMB.00.BHZ.ds
wget $ wget -O BK.CMB.00.BHZ.ds "http://service.ncedc.org/ncedcws/dataless/1/query?net=BK&sta=CMB&loc=00&cha=BHZ" This will send the request to the server and save the results in a file name BK.CMB.00.BHZ.ds Make sure to surround the url with quotes or your unix shell will interpret the & characters as background control characters. With recent versions of wget you can use the content-disposition flag to have the file saved to an automatic name. $ wget --content-disposition "http://service.ncedc.org/ncedcws/dataless/1/query?net=BK&sta=CMB&loc=00&cha=BHZ" $ ls ncedcws-dataless_2013-06-27T23:02:25.mseed ncedcws-dataless_2013-06-27T23:02:25.mseed