<?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: Fragstats: Error message when running metrics in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/fragstats-error-message-when-running-metrics/m-p/318428#M18258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Jeffrey!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From your help I was able to figure out what was going on.&amp;nbsp; This was my first time using Fragstats 4, so I was not familiar with the error messages.&amp;nbsp; When I went back to Fragstats 3.4 and tried uploading the raster, I received the message "Cannot load file (Cannot allocate memory)" which I recognized as my data being too large in size.&amp;nbsp; Once I decreased the cell size of my raster, I could successfully load it in Fragstats 3.4 and when I tried again in Fragstats 4 I could run metrics successfully both with the newly generated ESRIGrid and ERDAS Imagine Grid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, Unexpected error encountered:[vector&amp;lt;T&amp;gt; too long] can mean that the data file is to large to be processed in Fragstats 4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Megan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 May 2013 18:51:37 GMT</pubDate>
    <dc:creator>MeganLafferty</dc:creator>
    <dc:date>2013-05-09T18:51:37Z</dc:date>
    <item>
      <title>Fragstats: Error message when running metrics</title>
      <link>https://community.esri.com/t5/data-management-questions/fragstats-error-message-when-running-metrics/m-p/318426#M18256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When trying to run Fragstats metrics (in Fragstats 4) on my ESRI Grid raster, I received the following error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: Unexpected error encountered: [Grid IO error encountered while loading: (my data)]. Model execution halted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After reading though previous threads, I tried converting to an ERDAS Imagine grid (.img) file and importing that way, however when I tried to run metrics I received this error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: Unexpected error encountered: [vector&amp;lt;T&amp;gt; too long]. Model execution halted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also tried converting to a GeoTIFF grid (.tif) and an ESRI header labelled grid (.bil) before adding the raster layer, but for these I also receive the [vector&amp;lt;T&amp;gt; too long] error message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried running metrics on data from a previous project and those have worked fine, so I know that Fragstats is running properly and ArcGRID is enabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help that you could provide would be greatly appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 13:34:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/fragstats-error-message-when-running-metrics/m-p/318426#M18256</guid>
      <dc:creator>MeganLafferty</dc:creator>
      <dc:date>2013-05-09T13:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Fragstats: Error message when running metrics</title>
      <link>https://community.esri.com/t5/data-management-questions/fragstats-error-message-when-running-metrics/m-p/318427#M18257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I doubt that this is the problem but Fragstats only supports certain bit depths (8, 16 and 32 bit). Try exporting you data to an image format with a specific bit depth. You can do this in ArcCatalog by right clicking on the raster and in the context menu selecting Export &amp;gt; Raster to Different Format. There is a dropdown menu that allows you to specify bit type. I would keep it as an "img" format raster. When you add your raster to Fragstats select the "GDAL ERDAS Imagine grid" option.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that they have been having considerable problems with ArcGIS compatibility and the GridIO library. I would recommend running the diagnostic tool available on the download page and then contacting the developers at &lt;/SPAN&gt;&lt;A href="mailto:mcgarigalk@eco.umass.edu"&gt;mcgarigalk@eco.umass.edu&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could also revert versions. The underlying models are exactly the same just some coding overhead has been optimized and everything wrapped in a new GUI. There is also the addition of GDAL as the data engine, which is intended to avoid problems just like this. None of this is necessary to run a valid model.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fragstats download page&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.umass.edu/landeco/research/fragstats/downloads/fragstats_downloads.html"&gt;http://www.umass.edu/landeco/research/fragstats/downloads/fragstats_downloads.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 16:47:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/fragstats-error-message-when-running-metrics/m-p/318427#M18257</guid>
      <dc:creator>JeffreyEvans</dc:creator>
      <dc:date>2013-05-09T16:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Fragstats: Error message when running metrics</title>
      <link>https://community.esri.com/t5/data-management-questions/fragstats-error-message-when-running-metrics/m-p/318428#M18258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Jeffrey!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From your help I was able to figure out what was going on.&amp;nbsp; This was my first time using Fragstats 4, so I was not familiar with the error messages.&amp;nbsp; When I went back to Fragstats 3.4 and tried uploading the raster, I received the message "Cannot load file (Cannot allocate memory)" which I recognized as my data being too large in size.&amp;nbsp; Once I decreased the cell size of my raster, I could successfully load it in Fragstats 3.4 and when I tried again in Fragstats 4 I could run metrics successfully both with the newly generated ESRIGrid and ERDAS Imagine Grid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, Unexpected error encountered:[vector&amp;lt;T&amp;gt; too long] can mean that the data file is to large to be processed in Fragstats 4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Megan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 18:51:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/fragstats-error-message-when-running-metrics/m-p/318428#M18258</guid>
      <dc:creator>MeganLafferty</dc:creator>
      <dc:date>2013-05-09T18:51:37Z</dc:date>
    </item>
  </channel>
</rss>

