<div dir="ltr">Hello,<div><br></div><div>One of our servers had an error processing information for that event, leading to the inconsistent feed results.  I've corrected the problem and you should see consistent results when accessing feeds.</div><div><br></div><div><br></div><div>A couple comments about polling feeds to detect changes:</div><div><br></div><div>- Events usually don't reappear after being removed from feeds, but this does happen.  More commonly, and existing event will change ids as information is received from a preferred contributor.  You can check if you've already processed an event by inspecting its "ids" property, which is a comma separate list of event ids associated to an event.</div><div><br></div><div>- Deleted events do not appear in feeds.</div><div><br></div><div><br></div><div>Another option for triggering in response to changes is our java-based data distribution system, which is used to populate the database behind the feeds:</div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><a href="https://github.com/usgs/pdl">https://github.com/usgs/pdl</a></div></blockquote><div><br></div><div>An example configuration that calls an external python script in response to events being added/updated/deleted is available in this github branch:</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><a href="https://github.com/jmfee-usgs/pdl-client-examples/tree/indexer">https://github.com/jmfee-usgs/pdl-client-examples/tree/indexer</a><br></div></blockquote><br></div><div><br></div><div>Thanks,</div><div><br></div><div>Jeremy</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 14, 2016 at 11:58 PM, James Richards <span dir="ltr"><<a href="mailto:james@artisanglobal.com" target="_blank">james@artisanglobal.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Hi,</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Tonight I’m noticing that there are 2 earthquakes in Alaska that appear and disappear every few minutes from the 1-Day M 1.0+ geojson feed. These are:</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="margin:0px">ak12977218 - a mag 2.1 located 11km SE of Y, Alaska</div><div style="margin:0px"><br></div><div style="margin:0px">and </div><div style="margin:0px"><br></div><div style="margin:0px">ak12977218 - a mag 1.6 located <span style="white-space:pre-wrap">93km WSW of Cantwell, Alaska</span></div><div style="margin:0px"><span style="white-space:pre-wrap"><br></span></div><div style="margin:0px"><span style="white-space:pre-wrap">This is causing our script (fortunately still in beta) that polls the geojson feed to resend an alert about these quakes every few minutes.</span></div><div style="margin:0px"><span style="white-space:pre-wrap"><br></span></div><div style="margin:0px"><span><span style="white-space:pre-wrap">Of course we can and will rewrite the script to be more resilient to this kind of error - but I’d like to know what caused this? Is it an anomaly or can we expect this kind of thing to happen again?</span></span></div><div><br></div>Thank you,<div><div>James<span class="HOEnZb"><font color="#888888"><br><div><div style="font-family:helvetica,arial;font-size:13px"><br><div>James Richards<br>Artisan Global LLC</div><div><a href="mailto:james@artisanglobal.com" target="_blank">james@artisanglobal.com</a></div><div><br></div></div></div></font></span></div></div></div><br>_______________________________________________<br>
Realtime-feed-users mailing list<br>
<a href="mailto:Realtime-feed-users@geohazards.usgs.gov">Realtime-feed-users@geohazards.usgs.gov</a><br>
<a href="https://geohazards.usgs.gov/mailman/listinfo/realtime-feed-users" rel="noreferrer" target="_blank">https://geohazards.usgs.gov/mailman/listinfo/realtime-feed-users</a><br>
<br></blockquote></div><br></div>