[webservices] continuous data with dataselect service

Alex Hutko alex at iris.washington.edu
Mon Jun 30 18:41:57 PDT 2014


Hi John,

I’m not sure if these are the answers you’re looking for, but: 

If there exists a gap in the day boundary, then you’ll get back two traces instead of one.  Gaps can be 1ms small.

The data downloading that you describe can easily be addressed with our FetchData perl script, a user-client that POSTs.

https://seiscode.iris.washington.edu/projects/ws-fetch-scripts/wiki/Running_the_scripts_and_examples

set day2 = 1
foreach day1 ( 1 2 3 4 )
   @ day2++
   FetchData -C "LH?" -N TA -S M52A -s 2014,01,$day1,00,00,00 -e 2014,01,$day2,00,00,00 -o jday.$day1.M53A.mseed
   mseed2sac jday.$day1.M53A.mseed

   #permutations to get more than one station, leave fields blank to wildcard:
   #FetchData -C "LH?" -N TA -radius 41.44:-80.67:5 -s 2014,01,$day1,00,00,00 -e 2014,01,$day2,00,00,00 -msl 86399 -o jday.$day1.allTA_5deg_from_M53A.mseed
   #FetchData -C "LH?" -N TA -s 2014,01,$day1,00,00,00 -e 2014,01,$day2,00,00,00 -msl 86399 -o jday.$day1.allTA.mseed
end

If you still are noticing problems, can you please forward us examples so someone can address this better.
Thanks,
Alex


On Jun 30, 2014, at 4:34 PM, John D. West <john.d.west at asu.edu> wrote:

> Hi.
> 
> I'm requesting continuous broadband data from (mostly) TA stations using the POST usage of the dataselect web service.
> 
> When I request multiple successive one-day blocks in the same POST request, I sometimes get the data back in 1-day blocks and sometimes it is combined into longer multi-day blocks. 
> 
> What controls this behavior? Is it possible to force the data to be returned in single-day traces without resorting to sending multiple individual requests, one per day?
> 
> Thanks!
>      -- John
> _______________________________________________
> webservices mailing list
> webservices at iris.washington.edu
> http://www.iris.washington.edu/mailman/listinfo/webservices




More information about the webservices mailing list