Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
From: | Angela Strecker <> |
---|---|
To: | |
Subject: | [mget-help] problems with HDF script |
Date: | Thu, 30 Apr 2009 11:16:42 -0400 |
Hi there,
I'm looking for help with the script that converts an HDF SDS to ArcGIS raster. I have followed along with the wiki help, as I am working with both the Pathfinder and Modis satellite data, so I think that I have the inputs correct. I read through the installation guide for the GeoEco Python program, installed the proper version of pywin32, and have tried running the script with both Python 2.4.1 and 2.4.4. I have also tried it with ArcGIS 9.2 and 9.3. The same error message comes up every time (below is an example from the NOAA Pathfinder satellite). Admittedly, my knowledge of ArcGIS is fairly basic and my knowledge of Python is non-existent, so I might be missing something fairly obvious. Any help with this would be greatly appreciated.
Thanks,
Angela
Executing (HDFSDSToArcGISRaster_1): HDFSDSToArcGISRaster C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434.s04w2pfv50-sst.hdf C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434 sst -180 -90 0.0439453125 0 false false false false # # # # # # # # false
Start Time: Wed Apr 29 17:07:42 2009
Running script HDFSDSToArcGISRaster...
Converting SDS "sst" in HDF file C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434.s04w2pfv50-sst.hdf to ArcGIS raster C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434...
Error in executing function
Failed to execute (CopyRaster).
ArcGISError: An ArcGIS geoprocessing function failed. This usually results from a problem with your inputs. Please check them and try again. Also review any preceding error messages and the detailed error information that appears at the end of this message. If you suspect the failure is due to a programming mistake in this tool or ArcGIS, please contact the author of this tool for assistance. Detailed error information: ArcGIS Geoprocessor object 0x00A4E1B0: Invocation of CopyRaster_Management(*args=('C:\\Temp\\GeoEcoTemp_Angela Strecker\\tmppwayvx\\output', 'C:\\Angela\\Post_doc\\temp_ice_data\\NOAA_SST\\200434')) raised RuntimeError:
Error in executing function
Failed to execute (CopyRaster).
The following consequences resulted from the original error:
Could not copy ArcGIS raster C:\Temp\GeoEcoTemp_Angela Strecker\tmppwayvx\output to C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434
Could not convert SDS "sst" in HDF file C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434.s04w2pfv50-sst.hdf to ArcGIS raster C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434
Error in script HDFSDSToArcGISRaster.
Error in executing: cmd.exe /C C:\PROGRA~1\GeoEco\ARCGIS~1\Scripts\HDFSDS~1.PY "C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434.s04w2pfv50-sst.hdf" "C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434" "sst" "-180" "-90" "0.0439453125" "0" "false" "false" "false" "false" "#" "#" "#" "#" "#" "#" "#" "#" "false"
Failed to execute (HDFSDSToArcGISRaster_1).
I'm looking for help with the script that converts an HDF SDS to ArcGIS raster. I have followed along with the wiki help, as I am working with both the Pathfinder and Modis satellite data, so I think that I have the inputs correct. I read through the installation guide for the GeoEco Python program, installed the proper version of pywin32, and have tried running the script with both Python 2.4.1 and 2.4.4. I have also tried it with ArcGIS 9.2 and 9.3. The same error message comes up every time (below is an example from the NOAA Pathfinder satellite). Admittedly, my knowledge of ArcGIS is fairly basic and my knowledge of Python is non-existent, so I might be missing something fairly obvious. Any help with this would be greatly appreciated.
Thanks,
Angela
Executing (HDFSDSToArcGISRaster_1): HDFSDSToArcGISRaster C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434.s04w2pfv50-sst.hdf C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434 sst -180 -90 0.0439453125 0 false false false false # # # # # # # # false
Start Time: Wed Apr 29 17:07:42 2009
Running script HDFSDSToArcGISRaster...
Converting SDS "sst" in HDF file C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434.s04w2pfv50-sst.hdf to ArcGIS raster C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434...
Error in executing function
Failed to execute (CopyRaster).
ArcGISError: An ArcGIS geoprocessing function failed. This usually results from a problem with your inputs. Please check them and try again. Also review any preceding error messages and the detailed error information that appears at the end of this message. If you suspect the failure is due to a programming mistake in this tool or ArcGIS, please contact the author of this tool for assistance. Detailed error information: ArcGIS Geoprocessor object 0x00A4E1B0: Invocation of CopyRaster_Management(*args=('C:\\Temp\\GeoEcoTemp_Angela Strecker\\tmppwayvx\\output', 'C:\\Angela\\Post_doc\\temp_ice_data\\NOAA_SST\\200434')) raised RuntimeError:
Error in executing function
Failed to execute (CopyRaster).
The following consequences resulted from the original error:
Could not copy ArcGIS raster C:\Temp\GeoEcoTemp_Angela Strecker\tmppwayvx\output to C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434
Could not convert SDS "sst" in HDF file C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434.s04w2pfv50-sst.hdf to ArcGIS raster C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434
Error in script HDFSDSToArcGISRaster.
Error in executing: cmd.exe /C C:\PROGRA~1\GeoEco\ARCGIS~1\Scripts\HDFSDS~1.PY "C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434.s04w2pfv50-sst.hdf" "C:\Angela\Post_doc\temp_ice_data\NOAA_SST\200434" "sst" "-180" "-90" "0.0439453125" "0" "false" "false" "false" "false" "#" "#" "#" "#" "#" "#" "#" "#" "false"
Failed to execute (HDFSDSToArcGISRaster_1).
Archives powered by MHonArc.