Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
From: | Jason Roberts <> |
---|---|
To: | Alexander McVittie <> |
Cc: | "" <> |
Subject: | RE: [mget-help] Issues with Cayula-Cornillon Fronts tool in ArcGIS |
Date: | Wed, 18 Feb 2015 18:45:45 +0000 |
Accept-language: | en-US |
Authentication-results: | gmail.com; dkim=none (message not signed) header.d=none; |
Alex, Thanks for your interest in MGET. I’m sorry you’re hitting these troubles. Regarding the AttributeError, most likely what happened is that MGET called the Describe() method of the ArcGIS geoprocessor object and got back a DescribeData
object as expected, but that DescribeData object did not have PixelType attribute. This would happen, for example, if MGET called Describe() on something other than a raster (e.g. a shapefile) but then assumed it was a raster. All MGET tools have parameter
checks that try to prevent this kind of problem, so by the time the tool got to the code that was checking the PixelType, it should already have verified that the input was a raster. My guess is that either there’s a bug in MGET, there’s a bug in ArcGIS, or
somehow there is a data format that “looks like” a raster to MGET but does not support the PixelType attribute. If it’s not too much trouble, could you please enable verbose logging (instructions
here), reproduce the problem, and send me the complete output from the ArcGIS geoprocessing window? You can highlight it and copy it into an email. Which link is 404ing? I checked
this page and did not find any 404s. Is there somewhere else I should be looking? Thanks, Jason From: Alexander McVittie [mailto:]
Hello, I recently downloaded your MGET pack, and I have come across an issue with the Cayula-Cornillon Fronts in ArcGIS Raster tool. Not sure if this issue exists in the other tools as well. The error in question is: "AttributeError: DescribeData: Method PixelType does not exist" I think that the issue is that the Describe class should have been used instead of the DescribeData class, but I could not locate the source code to test making the amendment. As well, the 2013 tutorial link 404's, and I'd like to try that out. Thank you for your consideration, -Alex |