Select to view content in your preferred language

Time of Concentration - Not working

1672
3
09-15-2011 09:24 AM
Labels (1)
PrasadDaggupati
New Contributor
Dear all,

I am trying to run the time of concentration tool in Archydro 1.4 in ArcGIS 9.3 and I get the below error. I am using ArcHydro tutuorial data and calculated the slope myself as it was not given in the tutorial data.

Executing: ComputeTimeofConcentration Catchment TR55zone fdr Divide_slope1 yr2hr24prec manningsn paved D:\deleteme\Ttgrid D:\deleteme\Longestflowpath1 HydroEdge
Start Time: Thu Sep 15 12:06:26 2011
Executing: CreateFeatureclass D:\deleteme Longestflowpath1 POLYLINE # DISABLED DISABLED # # 0 0 0 D:\deleteme\Longestflowpath1.shp
Start Time: Thu Sep 15 12:06:27 2011
Executed (CreateFeatureclass) successfully.
End Time: Thu Sep 15 12:06:27 2011 (Elapsed Time: 0.00 seconds)

System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at ESRI.ArcGIS.Geoprocessing.GPUtilitiesClass.OpenFeatureClassFromString(String catalogPath)
at ESRI.APWR.ApHydro.GDBHelper.CreateFeatureClassGP(String path, String layerName, esriGeometryType geomType, String& exMessage, String templateName, String hasZ, String hasM, ISpatialReference spatialRef, Boolean addtoMap)
Failed to execute (ComputeTimeofConcentration).
End Time: Thu Sep 15 12:06:27 2011 (Elapsed Time: 1.00 seconds)

I also tried it in ArcGIS10 with ArcHydro 2 and still I have similar error. Anybodys help on this error and how to fix it would be greatly appreciated.

Thanks,
Prasad.
Tags (2)
0 Kudos
3 Replies
NischithaV
Emerging Contributor
Dear Prasad,

I am also getting the same error when I am running the longest flow path tool in Hec-GeoHMS V5.

Executing: LongestFlowpath cartodem_tb fdr_tb Subbasin1 D:\TEST\long
Start Time: Thu Oct 24 20:45:39 2013
Executing: CreateFeatureclass D:\TEST long POLYLINE # DISABLED DISABLED # # 0 0 0 D:\TEST\long.shp
Start Time: Thu Oct 24 20:45:39 2013
Executed (CreateFeatureclass) successfully.
End Time: Thu Oct 24 20:45:39 2013 (Elapsed Time: 0.00 seconds)

System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at ESRI.ArcGIS.Geoprocessing.GPUtilitiesClass.OpenFeatureClassFromString(String catalogPath)
   at ESRI.APWR.ApHydro.GDBHelper.CreateFeatureClassGP(String path, String layerName, esriGeometryType geomType, String& exMessage, String templateName, String hasZ, String hasM, ISpatialReference spatialRef, Boolean addtoMap)
Failed to execute (LongestFlowpath).
End Time: Thu Oct 24 20:45:39 2013 (Elapsed Time: 0.00 seconds)


Did you able to fix that error?
0 Kudos
ketakiagarwal
Emerging Contributor
Hi,

Usually, for errors of this type, you need to check the path of your file location, as in if it matches with the path set in APUtilities
Location.
0 Kudos
ChristineDartiguenave
Esri Contributor
Your output cannot be a shape file (Longestflowpath1.shp). It needs to be feature class stored in a geodatabase.

Christine Dartiguenave
Esri Water Resources Team
0 Kudos