Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
- From: Jason Roberts <>
- To: Bryce Davenport <>
- Cc: "" <>
- Subject: RE: [mget-help] error when running Predict Random Forest From Rasters
- Date: Tue, 31 May 2016 15:06:07 +0000
- Accept-language: en-US
- Authentication-results: culturalsite.com; dkim=none (message not signed) header.d=none;culturalsite.com; dmarc=none action=none header.from=duke.edu;
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:23
Hi Bryce,
Glad to know you got it working. A classic paper on the application of random forests to ecology problems is:
Cutler DR, Edwards TC Jr, Beard KH, Cutler A, Hess KT, Gibson J, Lawler JJ (2007) Random forests for classification in ecology. Ecology 88: 2783–2792.
Hope that helps,
Jason From: Bryce Davenport [mailto:]
Dear Jason, Thank you for the quick reply! Converting the files to .grd did the trick. I don't suppose you could point me in the direction of literature about interpreting the results?
Best,
Bryce
Bryce,
This is an unusual error. CopyRaster_management is the Copy Raster tool that is part of ArcGIS itself. The message “Failed to read a pixel block” suggests the tool is having a problem reading the raster. I’m not sure why that would be the case.
Try copying the raster yourself with Copy Raster from within your ArcMap session. Run the Copy Raster tool, select the problem raster, and store it someplace else. For the output, make sure there is no file extension (e.g. .tif). The raster will be stored as an ArcInfo Binary Grid. This duplicates what MGET does. (This is an old ESRI-specific format that historically has been reliable with ArcGIS, which is why the MGET tool uses it internally.) If you can get Copy Raster to fail yourself, then we know that it is not something that is specific to MGET. Let me know what happens. Note that ArcInfo Binary Grid format requires the raster name to be 13 characters or less, and it cannot start with a number, and it can only contain letters, numbers, and the underscore. (There might be some other characters allowed, but I don’t recall which.)
Then, here are some workarounds to try:
1. Rather than picking the rasters from the drop-down box in the MGET tool, instead click the folder icon and select them through the file system. Perhaps Arc will be better able to read them when accessing them this way, rather than as layers loaded in ArcMap.
2. Copy the problem raster from .tif format to .img format and then try MGET on the .img instead. Perhaps Arc is having a problem reading the .tif file. (This would be odd, since I presume it can display the .tif in ArcMap). If it fails with .img, try copying it to a raster without an extension—ArcInfo Binary Grid format.
3. Try closing ArcMap and running the MGET tool from a stand-alone ArcCatalog session. Perhaps when the raster is loaded into ArcMap it is preventing geoprocessing tools from reading it. (This would be very unusual and likely a bug in ArcGIS.)
4. Make sure you have sufficient disk space on the C: partition to hold a copy of the raster. Although the error did not complain about disk space, this is something that would cause it to fail and perhaps the error message is incorrect. (I doubt it, though.)
Best, Jason From:
[mailto:]
On Behalf Of Bryce Davenport
Dear MGET Help, This is the error I get when trying to use the Predict Random Forest From Rasters tool. I've changed the configuration of rasters to see if there was an invalid dataset, but it always hangs on the CopyRaster_management tool. Is this a recognized issue or something peculiar to my install?
Best,
Bryce
-- Bryce Davenport
2113 St Paul St. www.culturalsite.com See titles in the ICAHM Springer Press Archaeological Heritage Management Series at http://www.springer.com/series/10186?detailsPage=titles To unsubscribe from this list, visit: https://lists.nicholas.duke.edu/sympa/ca/initiate_unsubscribe/mget-help/jason.roberts%40duke.edu |
- [mget-help] error when running Predict Random Forest From Rasters, Bryce Davenport, 05/27/2016
- RE: [mget-help] error when running Predict Random Forest From Rasters, Jason Roberts, 05/27/2016
- Re: [mget-help] error when running Predict Random Forest From Rasters, Bryce Davenport, 05/27/2016
- RE: [mget-help] error when running Predict Random Forest From Rasters, Jason Roberts, 05/31/2016
- Re: [mget-help] error when running Predict Random Forest From Rasters, Bryce Davenport, 05/27/2016
- RE: [mget-help] error when running Predict Random Forest From Rasters, Jason Roberts, 05/27/2016
Archive powered by MHonArc 2.6.19.