[webservices] Interactive web tool to view trace data using ws-timeseries
Anthony Lomax
alomax at free.fr
Tue Mar 6 06:35:10 PST 2012
Hello all,
As an experiment in interactive viewing of seismograms on web-enabled,
mobile devices, I have developed a simple tool, SeisGramWeb, to view
trace data using ws-timeseries. SeisGramWeb uses only simple and basic
HTML and Javascript, relying on ws-timeseries for the heavy work of
trace processing and plotting, and the layout of SeisGramWeb is designed
for both large and small screens.
(Note also that at the current time, Java is not available on devices
such as iPhone, iPod and iPad...)
SeisGramWeb can be launched from the Early-est, Event/Pick List page at
http://early-est.alomax.net/warning_list.html (invoked by the "BRB" and
"HF" links in the "stream" column). This is part of the INGV, Early-est
real-time system (http://early-est.alomax.net).
Here is a direct link to a sample trace:
http://alomax.free.fr/webtools/sgweb.html?http://www.iris.edu/ws/timeseries/query?net=GT&sta=CPUP&loc=00&cha=BHZ&start=2012-03-05T07:45:35&dur=257
I would be interested in any feedback about how this approach works on
different devices, or any other comments about this tool or working with
mobile devices.
Thanks very much,
Anthony
PS - In continuing my work with the timeseries ws, I found that changing
the starttime prevents using the cached data.
On 2012/02/28 17:46, Anthony Lomax wrote:
> Hi Bruce,
>
> On 2012/02/28 17:40, Bruce Weertman wrote:
>> Anthony.
>>
>> This is a bug with ws-dataselect. It defaults to using the cached
>> data if it's less than one hour old.
>>
>> I'm not sure how that got left in there. I see that it's supposed to
>> go look at the data and decide if a
>> rebuild of cache is warranted.
> OK. Good to hear that this is a "bug", so that it will eventually go
> away. But no rush for a fix with regards to my application in
> Early-est, it is only an issue of elegance, for the most part!
>
> Thanks,
>
> Ciao,
>
> Anthony
>>
>> Cheers,
>> -Bruce
>>
>>
>> On Feb 28, 2012, at 12:48 AM, Anthony Lomax wrote:
>>
>>> Hello all,
>>>
>>> I am using ws-timeseries to plot trace data in a time window from 5
>>> min before to 20 min after picks made in the Early-est real-time
>>> system (http://early-est.alomax.net)
>>>
>>> If I run ws-timeseries for a channel right after it is picked, then
>>> I get a plot from 5 min before the pick to some small interval T1
>>> after the pick. If I then wait some time and re-run ws-timeseries
>>> for the channel, I would expect to get data from 5 min before the
>>> pick until some interval T2>T1 after the pick. Instead, the plot
>>> always ends at interval T1 after the pick. The plotted time window
>>> remains the same even if I add filtering to the ws-timeseries
>>> request or if I try the same ws-timeseries request in a different
>>> browser, so this behavior seems to originate on the server side.
>>> (you can reproduce this behavior this at
>>> http://early-est.alomax.net/warning_list.html, ws-timeseries is
>>> invoked by the "BRB" and "HF" links in the "stream" column).
>>>
>>> Any suggestions on how to disable this apparent caching?
>>>
>>> Or is this something that is inherent in the web-services back-end?
>>> Perhaps behind the scenes ws-timeseries is caching the data window
>>> found for my first request, and using this data window for all later
>>> requests for the same channel, without recognizing that more of the
>>> requested data has become available. If so, for real-time work it
>>> would be useful that new data is returned as it becomes available.
>>>
>>> Thanks,
>>>
>>> Best regards,
>>>
>>> Anthony
>>>
>>>
>>>
>>> _______________________________________________
>>> webservices mailing list
>>> webservices at iris.washington.edu
>>> http://www.iris.washington.edu/mailman/listinfo/webservices
>>
>>
>> _______________________________________________
>> webservices mailing list
>> webservices at iris.washington.edu
>> http://www.iris.washington.edu/mailman/listinfo/webservices
>>
>
>
> _______________________________________________
> webservices mailing list
> webservices at iris.washington.edu
> http://www.iris.washington.edu/mailman/listinfo/webservices
--
Sent from my iClayTablet
*Anthony Lomax*
161 Allée du Micocoulier, 06370 Mouans-Sartoux, France
tel: +33 (0)4 93 75 25 02 e-mail: anthony at alomax.net
<mailto:anthony at alomax.net> web: http://www.alomax.net
<http://www.alomax.net/>
Science & Special Topics http://www.alomax.net/science
ALomax Scientific http://www.alomax.net/alss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/webservices/attachments/20120306/187ea60d/attachment.htm>
More information about the webservices
mailing list