Quantcast
Channel: Forums - Arc Hydro
Viewing all 187 articles
Browse latest View live

ArcHydro: 2.1.0.98: Doesn't Acknowledge Environment Settings

$
0
0
I've set the Processing Extent and well as Snap Raster under Environment Settings and Arc Hydro Fil Tool still processes the entire extent. Has anyone else come accross this?

Regards

Catchment polygon processing error

$
0
0
Attachment 16133

When I try to process my catchment GRID to polygons i am getting the following error. Does anyone have any solutions?

Thanks in advance.
Attached Thumbnails
Click image for larger version

Name:	archydro1.JPG‎
Views:	N/A
Size:	19.9 KB
ID:	16133  

From flow path tracing graphic line to raster (or polyline)

$
0
0
Dear collegues,

I am working with the path tracing tool delineating the streams until the top of the hills (extremly useful tool) but I have a problem as the results of such a tool are graphic lines and I would like to convert them into raster format or polyline..

Any idea?

Thank you very much in advance,

Guillem

DrainageLine Layer - Multipart?

$
0
0
I have found that when I select a polyline in the DrainageLine layer that all of the features are selected. A test with the MultiPart to SinglePart tool creates a new layer that is single part. Anyone know why the DrainageLine layer is multipart? Can't find any explanation anywhere.

Equal area catchment delineation

$
0
0
Hello,

Does anyone know how I might be able to generate a catchment grid/polygons such that each catchment is equal in area?

Typically, a flow accumulation threshold is set to initiate a stream grid and all other catchments are delineated based on stream junctions. This results in different sized catchments.

Might there be a method to generate a new catchment for equal drainage area intervals?

Todd

Input bathymetry layer with correct cell size

$
0
0
Hi all,

I am trying to input an XYZ bathymetry file (.mbd or .asc) into ArcMap 10. The file just lists lat, lon, and depth in three columns, and has about 790,000 rows. Right now, I am adding the table, displaying XY data, then converting the resulting feature into a raster (Conversion - Feature - Raster). This creates an appropriate looking raster. My problem is getting the correct cell size. The original file is in GCS WGS 1984, and I need to project to WGS UTM N16. When projected, the cell size should be 5 m exactly. I cannot seem to get the right cell size. I have tried playing around with the output cell size in the Raster-Feature tool, but A) I am not sure what cell size to use here to ensure that when projected, it is 5 and B) when I set lower cell sizes than the default, I often get diagonal stripes of no data across the entire raster.

Is there a better way to do this whole process? All I really need is to convert my XYZ ascii to a projected raster with a cell size of 5. Any advice is greatly appreciated...

Sam

Fill Sinks of GeoHMS doesn't work

$
0
0
Hi,
I am working with ArcGIS 10.0 sp5, ArcHydro Tools 2.1.0.103 and HEC-GeoHMS 10.0.0.95, in a 64 bit system with Windows 7.

If I run Preprocessing|Fill Sinks from the GeoHMS toolbar I receive the following error:

"System.Runtime.InteropServices.COMException (0x80041098): ERROR 010007: Too many arguments.
ERROR 010299: Incorrect # of arguments.
ERROR 010067: Error in executing grid expression.
em ESRI.ArcGIS.SpatialAnalyst.RasterHydrologyOpClass.Fill(IGeoDataset surfaceRaster, Object& zLimit)
em ESRI.APWR.ApHydro.ArcHydroOp.FillSinks(ApLayers& aplayers, Boolean useIsSink, Boolean fillAll, Double fillLimit, ITrackCancel trackCancel, IGPMessage messages, String& exMessage)
Failed to execute (FillSinks)
."

But if I run Terrain Preprocessing|DEM Manipulation|Fill Sinks from the ArcHydro toolbar everything works fine!
Can someone please tell me what's wrong? Thank you.

Paulo

Next DownID won't assign

$
0
0
Hi! I'm using ArcH 1.4 and trying to assign the next downstream ID/Junction. When the dialog box opens, it will not allow me to choose the HydroID field to assign from. It only shows the Enabled field. I created the HydroID field as a Long Integer and have been able to build a relationship class with it. It's pretty frustrating bc I've been able to do this before and not sure what I missed this time.

Thanks for any help,
Michelle

Delineating Watershed Area to Polygon

$
0
0
I am trying to figure out how to use archydro to identify the contributing water area of an endorheric basin (i.e. lake). I have identified the lowland region by a simple gradient threshold and I want to find the area of water flow direction that contributes to that area. While identifying the watersheds would be ideal I do not have the feasibility to manually locate all the drainage points (or sink localities) but I like the idea of using the delineated catchments and drainage line.

So this morning I have looked at the possibility to intersect these basins (predefined polygons) with the drainage line and have the contributing catchment to that drainage line then be associated with the basin. Now I have an inital script that is working but before I waste too much time on it I just want to make sure that there is not a better approach to my problem within archydro.

Hopefully the pictures I provide will explain this better than my question above.
Attachment 17122 Attachment 17123

Red Lines = Drainage Line
Blue Polygons = Catchment
Yellow Polygon = Basin

J
Attached Thumbnails
Click image for larger version

Name:	Orig.jpg‎
Views:	N/A
Size:	283.7 KB
ID:	17122   Click image for larger version

Name:	Catchments.jpg‎
Views:	N/A
Size:	379.9 KB
ID:	17123  

Using ArcHydro 2.0 in a python script

$
0
0
Hi all -

I've used ArcHydro quite a bit over the years, done a lot of python geoprocessing too, but this is the first time I've tried to script ArcHydro in python. I just don't seem to be able to run any ArcHydro tools from my python script, there's no explicit error as to why, just a generic script failure. If I do ListToolboxes within the script, ArcHydro is there, if I do ListTools, the ArcHydro tools that I'm calling are there. But when I try to run any of the tools, the script just fails. This is with ArcGIS 10 and ArcHydro 2.0.

Since it looks like Arc already knows about ArcHydro (from being able to list the toolbox and tools), I'd think that I wouldn't need to use ImportToolbox (and would rather not have to, since I'm making a tool to provide to others so don't want to hard-code or ask for paths), but I tried that anyway and the script just hangs on this command:

arcpy.ImportToolbox("C:\Program Files (x86)\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Arc Hydro Tools.tbx")

If I don't try to import, the first thing the script was doing is a Flow Direction:

workspace = arcpy.GetParameterAsText(0)
DEM = arcpy.GetParameterAsText(1)

interws = workspace + os.sep + "Intermediate" + os.sep
sshed_gdb = interws + "ssheds.gdb"
flow_dir = interws + "flow_dir"

arcpy.FlowDirection_archydro(DEM, flow_dir)

Maybe it doesn't like the flow_dir setting the whole path, since AH has its own default locations set, so try this:
arcpy.FlowDirection_archydro(DEM, "flow_dir")

Doesn't work. Maybe it doesn't have its own default locations set, so try setting them:
arcpy.SetTargetLocations_archydro("HydroConfig", "Layers", interws, sshed_gdb)

Doesn't work, still no explicit error. Try creating the gdb first, doesn't help. Checked the XML Vector Location Type, it's set to 1 (gdb), Raster to 2 (can't find doc on that, but the RasterLocation is set to a folder by default, so I'm hoping 2 means folder.) All of this works fine using these folders, file names and file types when I run the ArcToolbox tools manually outside of the script.

Put this through a debugger and get this error message:
AttributeError: 'module' object has no attribute 'FlowDirection_archydro'

I must be missing something basic. Any clues as to what are greatly appreciated...

~ Stacie

Sink Evaluation Problems with ArcHydro

$
0
0
Hey,

for my master thesis I have to work with Arc Hydro and therefore I'm doing the Tutorial to get into the program. I don't get very far, only up to Sink Evaluation and then I stops with an Error message, that i have attached as well. It's the Error 0x80004005 and sais that the HRESULT E_FAIL - Error has been given. The 2 Features don't get added by the program but exist in the gdb but when i add them, the fields for FillDepth, FillVolume, BottomElev, FillElev stay empty (<Null>). and also the IsSink field is 0 every where

I've got ArcMap 10.0 with Service Pack 4 and i tried already all available ArcHydro version that can be found in the internet:
2.0.1.133_2.0_Final
2.1.0.114
2.0

The first 2 from the Esri server ftp://ftp.esri.com/ArcHydro/Setup10/ and the last one from the blog: http://blogs.esri.com/esri/arcgis/20...now-available/

Ich also repaired ArcGis but didn't help as well.

Are there other Versions available or how can i change this error?

Thanks a lot for your help, Joe
Attached Thumbnails
Click image for larger version

Name:	Sink Evaluation.JPG‎
Views:	N/A
Size:	44.3 KB
ID:	17331  

Drainage Boundary and Hydro Network Issues

$
0
0
I'm having issues creating a Hydro Network under the Network Tools (Using ArcMap 10.0). I have a Drainage Line, Catchment Polygons, and Drainage Points, but struggling to accomplish the Terrain morphology steps.

I performed all the Terrain preprocessing steps successfully.
In the Terrain Morphology, I receive an error when creating Drainage Boundary Definition.
Attachment 17347

Not sure what this error message means and how to correct it??
Thanks for the help
Attached Thumbnails
Click image for larger version

Name:	ErrorMessage.png‎
Views:	N/A
Size:	33.3 KB
ID:	17347  

HEC-GeoRAS: Export RAS Data Failure

$
0
0
I am trying to export HEC-GeoRAS data for HEC-RAS. When I attempt to export the RAS data, the process begins and once it gets to "Creating export workspace" I get the following error message: "Failed to create intermediate ESRI XML file!". The last message before the "Creating export workspace" states "Intermediate XML file name is: C:\Users\michael hross\Desktop\GIS2RASTmpFile1.xml" and the GIS2RASTmpFile1 is created in whatever destination I choose; however, the file size is 0kb.

I have tried emptying my Temp file and running the process, moving the folder it is typically saved under to different drives, quitting and reloading, and nothing has worked so far. A coworker thinks that perhaps the fact that our user names have spaces between first and last name might be causing the error, and she is trying to get hers changed. However, I also know that she has used HEC-GeoRAS successfully before.

If anyone has any insight, it would be greatly appreciated.

Spill Modelling on a Stream using Arc Hydro

$
0
0
Hello all,

I am trying to model a potential spill in a creek from an underwater pipeline using ESRI ArcGIS 10 and Arc Hydro 10.
I currently have LiDAR data for the area, the stream polyline, flow rate, shore type, shore width, and substance thickness.

What other datasets do I need in order to model this using Arc Hydro 10 tools?
What are the steps involved?

Any help with this is appreciated!

Thanks,
Tenzin

Get inflection points from polylines

$
0
0
Hi there,

Has anyone seen a script--or know of a Python function or class--that gets the inflection points along a polyline? (Inflection is the point at which the line changes direction.) I saw an "iPoint" in a VB script but I don't know VB, and I'm using ArcGIS 10 so I'd need to do this in Python anyway. There is an AddIn, called "Curves and Lines," which grabs the inflection points but goes on to grab all points where the polyline bends and then splits up the line, which I don't want. If it were written in Python I'd just look at that part of the code, but it's an AddIn so I can't look at the coding.

Here's the link to Curves and Lines, just for fun:

http://www.arcgis.com/home/item.html...f8c45332d7cfdf


Thanks for any suggestions!
Heather

Adjoint Catchment Symbolization

$
0
0
Hi,
Can someone explain to me how ArcGIS deals with the symbolization of the adjoint catchment polygons. For example I have an area of interest that I have run Arc Hydro tools over to portray the catchment areas as polygons. The adjoint catchment output has 7 large catchments when symbolized, although, in the attribute table, there are 86 polygons. Arc seems to show the largest on top, but all the others are still underneath. Consequently when you symbolize with unique values all 86 polygons show up, not good for legends when you only want the largest. Is there any way to just have a dataset of the largest catchments, without having to manually export them?

Thanks
Rob

Arc Hydro Longest Flow Path

$
0
0
Hello,

I was wondering if any one can help me with an error that has a lot of us here wondering what to do.

We are using arc Hydro to do some watershed analysis and have set up a model using model builder to automate the tasks.

The longest flow path tool is where the problem arises. It is unable to read the Raster ( the flow direction) and crashes at this point. The raster seems fine and other tools are able to read it.

The strangest thing is that the error is reproducable on all computers, except the laptop. We have different versions of arc hydro running on the desktop and changed to the laptop version , still the same error.

Even stranger is that a second model , exactly identical and built in the same way refuses to function on the laptop. We have tried to uninstall both arc hydro and ArcGIS but this does not help.

We have also tried the longest flow path tool out of the model and on it's own. It still refuses to work.

Details .... All computers on arc 10, desktops are on Arc Hydro (version 2.0, April 28 2011)
Laptop ( the only computer where the tool works) is on version (2.0, Oct 10 2011). We have tried this version on other computers. No luck.


Also unable to find this folder , C:\Projects\10_Final\ArcHydroTools\src\ApHydro\ArcHydroOp.vb:line 56579


Any Assistance is appreciated.

Thanks

Raoul

Error is

System.Runtime.InteropServices.COMException (0x80041018): Failed to open raster dataset
at ESRI.ArcGIS.SpatialAnalyst.RasterGeneralizeOpClass.Shrink(IGeoDataset Raster, Int32 numberCells, Object& zoneList)
at ESRI.APWR.ApHydro.ArcHydroOp.LongestFlowPath(ApLayers apLayers, Int32 debug, ITrackCancel& trackcancel, IGPMessages& messages, String& exMessage) in C:\Projects\10_Final\ArcHydroTools\src\ApHydro\ArcHydroOp.vb:line 56579

Error in DEM Reconditioning in Arc hydro 10

$
0
0
Hi!
I just installed Arc Hydro for ArcGis 10 and i receive this error in processing DEM Reconditioning

"Error HRESULT E_FAIL has been returned from a call to a COM component"

Help please

Natalie

Modified DRASTIC using ArcMap

$
0
0
I am beginning a project where I need to create a series of rankings in a 30 x 30 meter grid size, add values together and produce a final total ranking value for each individual grid. The data used will be soils, percent slope, depth-to-groundwater, precipitation, ect..... What is the best and most efficient approach to this? Can this task or key components of this task be accomplished in ArcHydro?

Use of archydro for drainage analysis area with internal well as external drainage

$
0
0
Hello everyone,
I am new to this forum and to the use of archydro as well!
I read through the tutorial of the toolbar and I am already excited what it should be able to solve. But sadly my first trails did not get me where I wanted to be.
The area what I work on includes external as well as internal drainage (an arid high plateau with salt pans where the water evaporates away).
I use an STM dem (90m resolution) resampled to 30m resolution (cubic) as base for the drainage analysis of my area which is c. 800 x 300 km.
So there should be sinks in my drainage analysis, what I know is possible with archydro, but I did not figure out yet hoe I get the once I want and fill the rest. I tried to follow th tutorial with sink prescreening and evaluation. Selecting sinks and filling , where I think might be my error in handling the tool right. I went on with calculating the flow direction with sinks and after that the flow accumulation and stream delineation. After that I was a bit lost if I have to do batch watersheds or catchments etc.
I definitely know from my trails with arcgis tools that filling all the sinks won't work because it connects streams of the left and right side of the salt pans to one stream. Also somehow my trail of calculating the sink depth never worked!
It might be due to many user problems but also there I followed a tutorial.
It would be great if anyone would have some ideas. Thanks a lot in advance for every post it only can gt better than it is now :-)
Cheers daxerl
Viewing all 187 articles
Browse latest View live