Solved! Go to Solution.
I've started a practice that seems to make many errors/crashes go away.
Layers/rasters needed for Arc Hydro are:
*I do work all over my County and so have county-wide "master" geodatabase for these that I use on all my Arc Hydro Projects.
If I have these layers, I can recreate the hydrologically correct DEM (HC DEM) anytime I want and re-delineate the watersheds.
So my practice is this: As I'm developing my HC DEM, and have to modify the agreedem, innerwalls, outerwalls layers, I can save the BatchPoints to my project folder and then delete the geodatabase and folder with rasters in it (Target Locations). This starts everything fresh and new. Then I can use model builder to reprocess the watersheds. When I'm ready to re-delineate the watersheds, I copy the BatchPoints into the geodatabase and set the BatchDone value to "0".
I run the watershed delineation, etc. via the Arc Hydro menus though I could possibly do this via Model Builder also. Since I've started doing this (and following solutions in the postings above on this thread), my crashes and errors have all gone away! Here is the ModelBuilder model for my latest project. I don't use outerwalls on this project, but that could be added.
201201251045 0 1 0mboucher P:\GIS USERS - Projects\Arc Hydro\Research\Project2\Fdr = FLOWDIRECTION(P:\GIS USERS - Projects\Arc Hydro\Research\Project2\Fil
201201251050 0 1 0mboucher P:\GIS USERS - Projects\Arc Hydro\Research\Project2\Fac = FLOWACCUMULATION(P:\GIS USERS - Projects\Arc Hydro\Research\Project2\f
201201251407 0 0 0mboucher P:\ArcHydro\Test\Project4\Fdr = FLOWDIRECTION(P:\ArcHydro\Test\Project4\Fil, #, NORMAL)201201251407 0 1 0mboucher P:\ArcHydro\Test\Project4\Fac = FLOWACCUMULATION(P:\ArcHydro\Test\Project4\Fdr, #, FLOAT)
201201251407 0 0 0mboucher P:\ArcHydro\Test\Project4\str = CON(C:\Users\mboucher\AppData\Local\Temp\AH20120125140707\condgeo, C:\Users\mboucher\AppData\Local\Temp\AH20120125140707\condgeo)
201201251407 0 1 0mboucher P:\ArcHydro\Test\Project4\StrLnk = STREAMLINK(P:\ArcHydro\Test\Project4\str, P:\ArcHydro\Test\Project4\Fdr)
I recently had a problem using the Stream Definition tool while delineating catchments. This problem started out of the blue, and I'd been using the same process I've used repeatedly in the past (with success).
I followed all of the recommended actions (clear temp folder, set target locations, new mxd, restart the computer, even updated to version 10.3.0.6), but was still getting the following error when running Stream Definition:
Failed to execute. Parameters are not valid.
ERROR 000860: Input true raster or constant value: is not the type of Composite Geodataset, or does not exist.
Failed to execute (Con).
Failed at Tue Apr 14 09:16:34 2015 (Elapsed Time: 0.02 seconds)
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at ESRI.ArcGIS.Geoprocessing.GeoProcessorClass.Execute(String Name, IVariantArray ipValues, ITrackCancel pTrackCancel)
at ESRI.APWR.ApHydro.ArcHydroOp.StreamDefinition(ApLayers& aplayers, Double numCells, ITrackCancel trackCancel, IGPMessage messages, String& exMessage) in C:\Builds\HydroSolutions\10.3_ArcHydro\Sources\ArcHydroTools\src\ApHydro\ArcHydroOp.vb:line 63795
Failed to execute (StreamDefinition).
Failed at Tue Apr 14 09:16:34 2015 (Elapsed Time: 0.12 seconds)
I turned background geoprocessing ON, and the Stream Definition tool worked correctly. HOWEVER, this worked with a FAC grid that was created with background geoprocessing OFF. I tried the process from the beginning with BGGP OFF, and the resulting FDR grid contained more than the normal 9 values.
At least for me, it seems I need to turn BGGP OFF in general, and turn it ON when running Stream Definition. Also unsure why this problem started out of the blue, but wanted to put the information out there in case anyone else is having the same issues.