|
POST
|
Don't edit the registry directly... Instead, use the "AdvancedArcMapSettings.exe" registry editor - typically stored in the C:\Program Files\ArcGIS\Desktop10.0\Utilities folder. I followed your instructions yesterday (quoted above). Today I got back on a large rawdem project using ArcHydro. Still had the stream definition and stream link "fail".** I ran AdvancedArcMapSettings.exe and found that the setting was back to 65536 instead of 1000000 like I had set it. Does this need to be reset every time? By the way, I've been running the same tools in Model Builder on a smaller watershed and its been working like a charm. **(The model stops after the str and strlnk grids, but they are created without projections. When I add projections and put them in the MXD, then put them in the model and link them to the next steps, i.e. two manual tasks, the rest of model finished to adjoincatchments).
... View more
05-10-2012
10:01 AM
|
0
|
0
|
1506
|
|
POST
|
Chris, Thanks for the reply. I'll look into getting a SSD. I tried to find the HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\Raster\Preferences\grid.max_table_range in Registry Editor, but it was not there. The document "Comprehensive Terrain Preprocessing Using Arc Hydro Tools" was written for 9.3. Is there a different registry setting for 10.0? I'm using Windows 7, ArcGIS 10, the latest version of ArcHydro, 64-bit machine.
... View more
05-09-2012
10:49 AM
|
0
|
0
|
1506
|
|
POST
|
Maybe I'm not telling anything new Fernando This is new to me. Thanks for replying to the post and for reference material! I found it at http://support.esri.com/en/downloads/datamodel/detail/15. Cheers! Mark
... View more
05-09-2012
10:14 AM
|
0
|
0
|
1506
|
|
POST
|
The code below is a combination of a Model Builder Export and my attempt to revise it. I've done rudimetary python programing, but not much arcpy until now. Any help you toss my way would be helpful... The aim is to extract part of a DEM by mask a then call ArcHydro tools to do in arcpy what seems to crash in Model Builder. Code below extracts the DEM (rawdem) and adds it to the mxd. I'm happy to get this far. The image at the bottom shows the Toolbox "tree". The code fails to complete DEM Reconditioning. My gut tells me I just don't understand how to use the Import command, etc. I get the following messages: [PHP]Executing: MakeRawdem Start Time: Thu May 03 13:28:59 2012 Running script MakeRawdem...Extracting rawdem using mask DEM Reconditioning<type 'exceptions.AttributeError'>: 'module' object has no attribute 'Terrain_Processing' Failed to execute (MakeRawdem). Failed at Thu May 03 13:40:56 2012 (Elapsed Time: 11 minutes 57 seconds)[/PHP]
# ---------------------------------------------------------------------------
# Make_rawdem.py
# Created on: 2012-05-01 14:50:42.00000
# (generated by ArcGIS/ModelBuilder)
# Description:
# ---------------------------------------------------------------------------
# Import arcpy module
import arcpy
# Check out any necessary licenses
arcpy.CheckOutExtension("spatial")
#Set some settings
arcpy.env.overwriteOutput = True
arcpy.env.extent = "Mask"
# Define Directories
mxdDir = r"P:/ArcHydro/Z3B_SR_at_SR/"
rastDir = r"P:/ArcHydro/Z3B_SR_at_SR/UpperSR/"
vectDir = r"P:/ArcHydro/Z3B_SR_at_SR/UpperSR.gdb/UpperSR/"
# Local variables:
cc_ac_dem = r"P:/GIS USERS - Development/FC/Hydrology/Watershed GIS/DEMs/CC_AC_DEM/cc_ac_dem"
agreestream = r"P:/GIS USERS - Development/FC/Hydrology/Projects/Drainage Inventory for AgreeStream/agreestream.shp"
Innerwalls = r"P:/GIS USERS - Development/FC/Hydrology/Projects/Drainage Inventory for AgreeStream/innerwalls.shp"
# More Local variables:
Mask = "Mask"
rawdem = mxdDir + "rawdem"
agreedem = rastDir + "agreedem"
WalledDEM = rastDir + "WalledDEM"
fil = rastDir + "fil"
stop = 0
The Code below
## Process: Extract by Mask
if stop == 1:
arcpy.AddMessage("Skip Extracting rawdem using mask")
if stop == 0:
arcpy.AddMessage("Extracting rawdem using mask")
arcpy.env.extent = "Mask"
arcpy.gp.ExtractByMask_sa(cc_ac_dem, Mask, rawdem)
# Add layer to mxd - Change next line
putin = rawdem
mxd = arcpy.mapping.MapDocument("CURRENT")
df = arcpy.mapping.ListDataFrames(mxd,'*')[0]
print "mxd"
addLayer = arcpy.mapping.Layer(putin)
arcpy.mapping.AddLayer(df, addLayer)
arcpy.RefreshActiveView()
arcpy.RefreshTOC()
del mxd, addLayer
# Process: DEM Reconditioning
arcpy.AddMessage("DEM Reconditioning")
arcpy.ImportToolbox("C:\Program Files (x86)\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Arc Hydro Tools.tbx", "archydrotools")
arcpy.Terrain_Processing.DEMReconditioning(rawdem, agreestream, "5", "10", "1000", agreedem, "NEGATIVE_NO")
# Process: Build Walls
arcpy.AddMessage("Build Walls")
arcpy.BuildWalls(agreedem, "500", "0", "0", WalledDEM, "", Innerwalls, agreestream)
# Process: Fill Sinks
arcpy.AddMessage("Fill Sinks")
arcpy.FillSinks(WalledDEM, fil, "", "", "ISSINK_NO")
... View more
05-03-2012
12:58 PM
|
0
|
0
|
1366
|
|
POST
|
but there are discontinuities along the main course within the lake area. The discontinuities will appear to be there when zoomed out, but you could possibly see them when zoomed in closer. Its a screen resolution thing.
... View more
05-02-2012
09:45 AM
|
0
|
0
|
3443
|
|
POST
|
I agree with Lorna. It could be that the black areas drain away from the catchment outlet. Try the flow direction tool to see if the black areas actually drain via the watershed.
... View more
05-01-2012
12:44 PM
|
0
|
0
|
3443
|
|
POST
|
what I get are catchments delineated in some places and empty patches in other places. Fai, The empty patches could mean you didn't do the fill sinks step. Did you? Mark
... View more
05-01-2012
06:22 AM
|
0
|
0
|
3443
|
|
POST
|
I'm very tempted to take a shot at Python for GIS. BTW. I was just asked to determine the watershed on a very small area. Model Builder worked flawlessly. Seems to me that size matters.
... View more
04-26-2012
03:07 PM
|
0
|
0
|
1958
|
|
POST
|
Tip: Ditch model builder and learn Python scripting. That was going through my mind even this AM. I've use Python for minor data transformations, but am not well versed in it; and I haven't used it for ArcGIS at all. Has anyone already developed a Python Script for Basic Dendritic Terrain Processing? I guess I could try exporting the one the comes with the ArcHydro tools...
... View more
04-26-2012
10:43 AM
|
0
|
0
|
1958
|
|
POST
|
What issues are you having in particular? Just general slowness or crashes? Issues I'm having have to do with certain tools not working consistently, especially when I try to use Model Builder. I tend to iterate. I have an agree streams layer that comes from various sources. I have to process from rawdem to fill to find locations where agreestream and innerwalls layers need to be edited. After that I move on to completing the terrain processing and looking for other anomalies where I might need to modify these layers again; and then I iterate again. Then I have to start at the beginning again. Model Builder would help immensely if it would work all the time, but it crashes at stream segmentation and stream link and sometimes when creating the cat layer. When processing the stream segmentation and stream link using the menus, these rasters are created, but not without getting an error. After each step they show up when I refresh the catalog, but they don't have a projection. I add a projection and drag them into the mxd and move on with little problems. This sometimes happens when creating the cat layer. My first thought was that memory was being eaten up during the Model Builder runs since the processes are "continuous" in the Model run. Recently, I've been doing different parts of the processing using several Models and that seems to be working "OK-ish". Still not satisfied though.
... View more
04-26-2012
07:31 AM
|
0
|
0
|
1958
|
|
POST
|
See responses at http://forums.arcgis.com/threads/55419-CPU-speed-and-Memory-requirements-for-ArcHydro-and-Geoprocessing?p=193193&posted=1#post193193.
... View more
04-26-2012
07:16 AM
|
0
|
0
|
537
|
|
POST
|
Thanks for the response. I'd love to get the latest and greatest, but as with most government orgs., getting "special attention" on my machine would be difficu
... View more
04-26-2012
07:15 AM
|
0
|
0
|
1958
|
|
POST
|
I recall having to use ArcInfo for the multi-ring buffer tool... maybe?
... View more
04-23-2012
04:15 PM
|
0
|
0
|
3978
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-13-2025 08:15 AM | |
| 1 | 08-30-2024 03:07 PM | |
| 1 | 03-20-2012 07:18 AM | |
| 1 | 02-13-2025 06:07 AM | |
| 1 | 08-22-2024 04:03 PM |
| Online Status |
Offline
|
| Date Last Visited |
08-19-2025
07:42 AM
|