When trying to run Fragstats metrics (in Fragstats 4) on my ESRI Grid raster, I received the following error message:
Error: Unexpected error encountered: [Grid IO error encountered while loading: (my data)]. Model execution halted.
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:
Error: Unexpected error encountered: [vector<T> too long]. Model execution halted.
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<T> too long] error message.
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.
Any help that you could provide would be greatly appreciated!