<?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 Creating a Raster Surface and updating this in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/creating-a-raster-surface-and-updating-this/m-p/213174#M12300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to use some of the functionality of the PSCOP which allows download of dynamic weather data, this works really well, and updates every 15 mins via a python script, I am then trying to use this data to build a raster surface (Temperature) in an SDE database, which also works (Model Maker which I will convert to a python script later), the issue is, it will not overwrite the raster, but appends a sequential number and creates further raster�??s. I need it to overwrite as I want to serve the raster in ArcGIS Server, just can�??t seem to find the solution, and don�??t want to over complicate this by then creating a vector, but may have to do that, Any ideas and assistance would be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Mar 2013 06:05:48 GMT</pubDate>
    <dc:creator>DilipWagh</dc:creator>
    <dc:date>2013-03-29T06:05:48Z</dc:date>
    <item>
      <title>Creating a Raster Surface and updating this</title>
      <link>https://community.esri.com/t5/data-management-questions/creating-a-raster-surface-and-updating-this/m-p/213174#M12300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to use some of the functionality of the PSCOP which allows download of dynamic weather data, this works really well, and updates every 15 mins via a python script, I am then trying to use this data to build a raster surface (Temperature) in an SDE database, which also works (Model Maker which I will convert to a python script later), the issue is, it will not overwrite the raster, but appends a sequential number and creates further raster�??s. I need it to overwrite as I want to serve the raster in ArcGIS Server, just can�??t seem to find the solution, and don�??t want to over complicate this by then creating a vector, but may have to do that, Any ideas and assistance would be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 06:05:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/creating-a-raster-surface-and-updating-this/m-p/213174#M12300</guid>
      <dc:creator>DilipWagh</dc:creator>
      <dc:date>2013-03-29T06:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Raster Surface and updating this</title>
      <link>https://community.esri.com/t5/data-management-questions/creating-a-raster-surface-and-updating-this/m-p/213175#M12301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe you could delete any existing rasters in that workspace first?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

## you need to set the worspace first!
## for each Raster in the workspace, delete it
rasters = arcpy.ListRasters()
for r in rasters:
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Delete_management(r)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:28:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/creating-a-raster-surface-and-updating-this/m-p/213175#M12301</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2021-12-11T10:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Raster Surface and updating this</title>
      <link>https://community.esri.com/t5/data-management-questions/creating-a-raster-surface-and-updating-this/m-p/213176#M12302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Maybe you could delete any existing rasters in that workspace first?&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

## you need to set the worspace first!
## for each Raster in the workspace, delete it
rasters = arcpy.ListRasters()
for r in rasters:
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Delete_management(r)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks James, but would this work if the file is being served in ArcGIS Server at the same time&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:28:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/creating-a-raster-surface-and-updating-this/m-p/213176#M12302</guid>
      <dc:creator>DilipWagh</dc:creator>
      <dc:date>2021-12-11T10:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Raster Surface and updating this</title>
      <link>https://community.esri.com/t5/data-management-questions/creating-a-raster-surface-and-updating-this/m-p/213177#M12303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks James, but would this work if the file is being served in ArcGIS Server at the same time&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not completely certain of the answer.&amp;nbsp; I suppose if you are creating and publishing a mapservice from an .mxd with the raster loaded, then I'd take a guess you would need to re-publish.&amp;nbsp; I think at 10.1, the REST cache is automatically refreshed when a service/folder is updated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So... hope that I helps but I think you will likely have to just work through this one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;j&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 19:05:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/creating-a-raster-surface-and-updating-this/m-p/213177#M12303</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2013-03-29T19:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Raster Surface and updating this</title>
      <link>https://community.esri.com/t5/data-management-questions/creating-a-raster-surface-and-updating-this/m-p/213178#M12304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;All,&lt;BR /&gt;&lt;BR /&gt;I am trying to use some of the functionality of the PSCOP which allows download of dynamic weather data, this works really well, and updates every 15 mins via a python script, I am then trying to use this data to build a raster surface (Temperature) in an SDE database, which also works (Model Maker which I will convert to a python script later), the issue is, it will not overwrite the raster, but appends a sequential number and creates further raster�??s. I need it to overwrite as I want to serve the raster in ArcGIS Server, just can�??t seem to find the solution, and don�??t want to over complicate this by then creating a vector, but may have to do that, Any ideas and assistance would be greatly appreciated.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the workflow you are using to create the raster surface in your SDE geodatabase?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 11:58:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/creating-a-raster-surface-and-updating-this/m-p/213178#M12304</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2013-04-01T11:58:29Z</dc:date>
    </item>
  </channel>
</rss>

