gsflow / gsflow-arcpy

GSFlow ArcPy Tools
Apache License 2.0
18 stars 10 forks source link

dem_2_streams: outflow dir for swales auto set to 1 #39

Open rniswon opened 4 years ago

rniswon commented 4 years ago

From Melissa Masbruch: There is definitely an issue with the dem_2_streams scripts assigning the swales an outflow direction. In that script, it assigns all swales an outflow direction of 1 (east side of cell; line 489 in the dem_2_streams.py script). An issue arises if you also have a stream that enters the swale cell from the east side. This will cause an error when you try to run the stream_parameters.py script. I was able to "trick" the program by re-setting the flow direction to 16 for that swale in the hru_params shapefile; after doing this the script ran to completion.