<?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 Re: Aggregate Rasters with Python? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/aggregate-rasters-with-python/m-p/428431#M14393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use timedelta to calculate the date based on the daynumber in a year as explained here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://stackoverflow.com/questions/17216169/convert-julian-day-into-date" title="http://stackoverflow.com/questions/17216169/convert-julian-day-into-date"&gt;python - Convert julian day into date - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2016 17:17:01 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2016-09-14T17:17:01Z</dc:date>
    <item>
      <title>Aggregate Rasters with Python?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/aggregate-rasters-with-python/m-p/428430#M14392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to aggregate daily rasters into monthly rasters. I wanted to use a wildcard, however, the date values of these rasters are in Day of Julian Calendar Year.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually, I do two for loops:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for year in range(2000, 2016): &amp;nbsp;#years of models 2000-2015&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;for month in range(1,13): #calendar months 1-12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: ModelV3_2014001, ModelV3_2014002&lt;/P&gt;&lt;P&gt;However, since the file names have the DOY instead of the month, how would I address this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions or help would be greatly appreciated!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 16:52:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/aggregate-rasters-with-python/m-p/428430#M14392</guid>
      <dc:creator>NMWater</dc:creator>
      <dc:date>2016-09-14T16:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate Rasters with Python?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/aggregate-rasters-with-python/m-p/428431#M14393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use timedelta to calculate the date based on the daynumber in a year as explained here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://stackoverflow.com/questions/17216169/convert-julian-day-into-date" title="http://stackoverflow.com/questions/17216169/convert-julian-day-into-date"&gt;python - Convert julian day into date - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 17:17:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/aggregate-rasters-with-python/m-p/428431#M14393</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-09-14T17:17:01Z</dc:date>
    </item>
  </channel>
</rss>

