<?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: DescribeData: Method spatialReference does not exist in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/describedata-method-spatialreference-does-not/m-p/304572#M23650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've run into the same issue as described here:&amp;nbsp;&lt;A href="https://community.esri.com/thread/201382"&gt;Describe Data: Method spatialReference Does Not Exist&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Sep 2017 19:24:20 GMT</pubDate>
    <dc:creator>UnsoughtNine</dc:creator>
    <dc:date>2017-09-07T19:24:20Z</dc:date>
    <item>
      <title>DescribeData: Method spatialReference does not exist</title>
      <link>https://community.esri.com/t5/python-questions/describedata-method-spatialreference-does-not/m-p/304569#M23647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I encountered this problem running a Python script and the only related thread states the solution is running 'Describe' rather than 'DescibeData'.&amp;nbsp; The problem is then resolved but as a work around rather than a solution.&amp;nbsp; However it is stated specifically that 'Describe' was being used in the first place.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/search.php?searchid=654992"&gt;http://forums.arcgis.com/search.php?searchid=654992&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am encountering the same problem and am definitely using 'Describe' also.&amp;nbsp; Specifically&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;desc = arcpy.Describe('C:\\image.ers\\Band_1')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;datum = desc.spatialReference.datumName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cellSizeVal = desc.meanCellWidth&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason I am using Band_1 is that the Mean Cell Width method only works on some of the data when I specify this.&amp;nbsp; Otherwise the error "DescribeData: Method meanCellWidth does not exist" occurs.&amp;nbsp; Once again this is a reference to 'DescribeData' when using 'Describe'.&amp;nbsp; On the other hand sometimes 'Band_1' does not exist for DEM files.&amp;nbsp; I would have thought this referenced only a single band with a default of Band_1 for us people out here in user land.&amp;nbsp; Should I remove 'Band_1' from the Describe input then I get the same "DescribeData: Method spatialReference does not exist" error again. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition to this I also get nothing as a value in some cases when I run the 'desc.spatialReference.datumName' method and it does not produce an IOError.&amp;nbsp; While this is a legitimate failure of a user to assign a coordinate system in some cases in others the data is found easily in ArcCatalog.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 03:13:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/describedata-method-spatialreference-does-not/m-p/304569#M23647</guid>
      <dc:creator>HenryColgate</dc:creator>
      <dc:date>2011-09-06T03:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: DescribeData: Method spatialReference does not exist</title>
      <link>https://community.esri.com/t5/python-questions/describedata-method-spatialreference-does-not/m-p/304570#M23648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm encountering the same problem as described above, any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been using 10.1 sp1 for a while and the script tool which started throwing this error recently (it has worked without problems several times in the recent past)...DescribeData Method spatialReference does not exist&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't use DescribeData anywhere, just spatial_ref=arcpy.Describe(ras).spatialReference&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for any help/suggestions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 20:39:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/describedata-method-spatialreference-does-not/m-p/304570#M23648</guid>
      <dc:creator>MichaelNesius</dc:creator>
      <dc:date>2014-05-14T20:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: DescribeData: Method spatialReference does not exist</title>
      <link>https://community.esri.com/t5/python-questions/describedata-method-spatialreference-does-not/m-p/304571#M23649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just ended all of my arcmap processes in task manager, then reopened and ran the script and now it works fine again...perhaps some strange locking behavior effecting arcpy?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 21:02:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/describedata-method-spatialreference-does-not/m-p/304571#M23649</guid>
      <dc:creator>MichaelNesius</dc:creator>
      <dc:date>2014-05-14T21:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: DescribeData: Method spatialReference does not exist</title>
      <link>https://community.esri.com/t5/python-questions/describedata-method-spatialreference-does-not/m-p/304572#M23650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've run into the same issue as described here:&amp;nbsp;&lt;A href="https://community.esri.com/thread/201382"&gt;Describe Data: Method spatialReference Does Not Exist&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 19:24:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/describedata-method-spatialreference-does-not/m-p/304572#M23650</guid>
      <dc:creator>UnsoughtNine</dc:creator>
      <dc:date>2017-09-07T19:24:20Z</dc:date>
    </item>
  </channel>
</rss>

