<div dir="ltr">Hey Jed, <div><br></div><div>Thanks for reaching out to them. Looks like we have another rate-limiting error to handle:<div><div><br></div><div><font face="monospace, monospace">usgs.USGSError: RATE_LIMIT: Rate limit exceeded - cannot support simultaneous requests.</font><br></div><div><font face="monospace, monospace"><br></font></div><div>According to the changelog of the USGS inventory service:<font face="monospace, monospace"><br></font></div><div><br></div><div><div>August 2015</div><div><br></div><div> * Implemented single-stream rate limiting</div><div> * Added FGDC Metadata URL to search and metadata responses</div><div> * API Key is now required for all requests</div></div><div><br></div><div>Despite the change being made in August, we're only now starting to see this error. Previously, we were allowed 2 simultaneous downloads per machine. This has been cut in half. To keep up with the flow of Landsat scenes, we need simultaneous requests. This error is cropping up periodically in our re-ingestion of the ~53,000 scenes, as well as our daily ingestion.</div><div><br></div><div>Enforcing single-stream per machine is a terrible waste of computing resources.</div><div><br></div><div>Also note, the need of an API key for all requests. Previously, anyone was able to programmatically access metadata. This is no longer possible.</div></div><div><br></div><div>Any help would be appreciated.</div><div><br></div><div>Cheers,</div><div>Amit</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 28, 2015 at 3:38 PM, Sundwall, Jed <span dir="ltr"><<a href="mailto:jed@amazon.com" target="_blank">jed@amazon.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">
I’ve reached out to USGS to ask if we can increase the limit. 
<div><br>
</div>
<div>Thanks for the update, Amit!<div><div class="h5"><br>
<div></div>
<br>
<div>
<blockquote type="cite">
<div>On Sep 28, 2015, at 12:16 PM, Amit Kapadia <<a href="mailto:amit@planet.com" target="_blank">amit@planet.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Another update on the reingestion of these ~53,000 scenes. We've moving along faster than the initial few weeks. Currently we have ~28,500 scenes left to reprocess. This is taking a bit of time, mostly because USGS rate limits the number
 of scenes that can be simultaneously downloaded.
<div><br>
</div>
<div>Jed - we often hit an error of this sort:</div>
<div><br>
</div>
<div><font face="monospace, monospace">DOWNLOAD_RATE_LIMIT: User currently has more than 10 downloads that have not been attempted in the past 10 minutes.</font><br>
</div>
<div><font face="monospace, monospace"><br>
</font></div>
<div>If there's a way we can work with USGS on getting this type of rate-limiting lifted, I'll be able to spin up additional workers, breaking through this 10 scene limit. No big deal if that's not possible.<br>
</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Amit</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Sep 15, 2015 at 10:58 AM, Amit Kapadia <span dir="ltr">
<<a href="mailto:amit@planet.com" target="_blank">amit@planet.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>We're ingesting about 1.35 scenes per minute (~2000 scenes per day). With 44,200 scenes remaining, this work should be complete in 22 - 23 days.
<div><br>
</div>
<div>The additional worker has kicked up the rate. I'm learning more about the rate-limiting that USGS imposes, and it seems that a single machine is limited to 2 concurrent downloads (we already knew this). However, we have 3 machines running, so
 the rate-limiting appears to be a combination between IP address and EROS account.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Amit</div>
<div><br>
</div>
</div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Sep 14, 2015 at 3:58 PM, Sundwall, Jed <span dir="ltr">
<<a href="mailto:jed@amazon.com" target="_blank">jed@amazon.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">Thanks for the update, Amit. Could you please let us know if you see that the extra workers have upped our rate? Also, if you can estimate when this would be done?
<div><br>
</div>
<div>Thank you very much for your work on this!</div>
<span><font color="#888888">
<div><br>
</div>
<div>Jed.</div>
</font></span>
<div>
<div>
<div><br>
<div>
<blockquote type="cite">
<div>On Sep 14, 2015, at 2:16 PM, Amit Kapadia <<a href="mailto:amit@planet.com" target="_blank">amit@planet.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Hi all - an update to the ingestion of these reprocessed Landsat scenes. Using the additional bandwidth that Jed locked down, we've ingested ~8,000 of the 52,877 scenes. This has been moving a little slow, so I've bumped up the number
 of workers.
<div><br>
</div>
<div>In the past we've been restricted to 2 concurrent downloads from USGS servers, but it now seems that we're able to get 4 concurrent downloads. I'll try our luck with one more worker (2 more downloads) to see if we're allowed this luxury.</div>
<div><br>
</div>
<div>Ingestion of new Landsat scenes continues as normal.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Amit</div>
<div> </div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Aug 26, 2015 at 12:08 PM, Sundwall, Jed <span dir="ltr">
<<a href="mailto:jed@amazon.com" target="_blank">jed@amazon.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">Quick update:
<div><br>
</div>
<div>We have been granted additional bandwidth to acquire Landsat data from EROS and will use it to reacquire 53,206 scenes that have been reprocessed with updated TIRS data as described at <a href="http://landsat.usgs.gov/calibration_notices.php" target="_blank">http://landsat.usgs.gov/calibration_notices.php</a> </div>
<div><br>
</div>
<div>We will also use this opportunity to check for any scenes that we may have failed to acquire throughout 2015. Another user of the data recently pointed out that "USGS states that there are 149307 scenes so far in 2015, but AWS claims to host only
 145746 of them. As a percentage, that is 97.6% - IOW 2.4% are missing.” These scenes may be missing from the bucket or they may merely be missing from the scene_list.gz file. </div>
<div><br>
</div>
<div>I’ll update the list once the reacquisition is complete.</div>
<div><br>
</div>
<div>Thanks, </div>
<br>
<div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
Jed Sundwall – Open Data – Amazon Web Services<br>
<br>
cell: <a href="tel:801-949-1482" value="+18019491482" target="_blank">801-949-1482</a><br>
office: <a href="tel:206-435-3104" value="+12064353104" target="_blank">
206-435-3104</a></div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<br>
</div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<a href="https://aws.amazon.com/opendata/" target="_blank">https://aws.amazon.com/opendata/</a></div>
</div>
</div>
</div>
<br>
</div>
<br>
_______________________________________________<br>
Landsat-pds mailing list<br>
<a href="mailto:Landsat-pds@lists.osgeo.org" target="_blank">Landsat-pds@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/landsat-pds" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/landsat-pds</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div></div></div>
</div>

</blockquote></div><br></div>