<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Staggering Geoprocessing in Model Builder in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/staggering-geoprocessing-in-model-builder/m-p/1163407#M390</link>
    <description>&lt;P&gt;I have a dataset with ~ 2000 rows which I would like to iterate over, create subsets and then stagger geoprocessing at one minute intervals as the tool I'm using involves requests to an external API which are limited to 30 features per minute.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2022 10:28:15 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2022-04-12T10:28:15Z</dc:date>
    <item>
      <title>Staggering Geoprocessing in Model Builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/staggering-geoprocessing-in-model-builder/m-p/1163407#M390</link>
      <description>&lt;P&gt;I have a dataset with ~ 2000 rows which I would like to iterate over, create subsets and then stagger geoprocessing at one minute intervals as the tool I'm using involves requests to an external API which are limited to 30 features per minute.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 10:28:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/staggering-geoprocessing-in-model-builder/m-p/1163407#M390</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-04-12T10:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Staggering Geoprocessing in Model Builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/staggering-geoprocessing-in-model-builder/m-p/1163436#M391</link>
      <description>&lt;P&gt;You could try executing a simple python script with time.sleep() within your model.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.python.org/3/library/time.html#time.sleep" target="_blank"&gt;time — Time access and conversions — Python 3.10.4 documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 12:56:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/staggering-geoprocessing-in-model-builder/m-p/1163436#M391</guid>
      <dc:creator>tigerwoulds</dc:creator>
      <dc:date>2022-04-12T12:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Staggering Geoprocessing in Model Builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/staggering-geoprocessing-in-model-builder/m-p/1163441#M392</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 13:04:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/staggering-geoprocessing-in-model-builder/m-p/1163441#M392</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-04-12T13:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Staggering Geoprocessing in Model Builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/staggering-geoprocessing-in-model-builder/m-p/1163453#M393</link>
      <description>&lt;P&gt;BTW - this question should be posted in the Geoprocessing community. Just noticed it's posted in the Member Introductions.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 13:26:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/staggering-geoprocessing-in-model-builder/m-p/1163453#M393</guid>
      <dc:creator>tigerwoulds</dc:creator>
      <dc:date>2022-04-12T13:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Staggering Geoprocessing in Model Builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/staggering-geoprocessing-in-model-builder/m-p/1163455#M394</link>
      <description>&lt;P&gt;First time I've posted,&amp;nbsp;Please and thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 13:29:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/staggering-geoprocessing-in-model-builder/m-p/1163455#M394</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-04-12T13:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Staggering Geoprocessing in Model Builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/staggering-geoprocessing-in-model-builder/m-p/1164079#M395</link>
      <description>&lt;P&gt;The question was specifically for ModelBuilder so I think this is exactly the right place!&lt;/P&gt;&lt;P&gt;You can use python modules in ModelBuilder using a python function inside the Calculate Value tool. So time.sleep() is probably your go-to here. Connect this Calculate Value output as a precondition to your tool call so it will have to run before your tool that gets the data runs.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;wait(60)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code block:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import time
def wait(sec):
    time.sleep(sec)
    return 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 19:02:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/staggering-geoprocessing-in-model-builder/m-p/1164079#M395</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2022-04-13T19:02:59Z</dc:date>
    </item>
  </channel>
</rss>

