Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...
This resource contains some files/folders that have non-preferred characters in their name. Show non-conforming files/folders.
This resource contains content types with files that need to be updated to match with metadata changes. Show content type files that need updating.
Authors: |
|
|
---|---|---|
Owners: |
|
This resource does not have an owner who is an active HydroShare user. Contact CUAHSI (help@cuahsi.org) for information on this resource. |
Type: | Resource | |
Storage: | The size of this resource is 6.7 KB | |
Created: | Jul 27, 2017 at 3:19 p.m. | |
Last updated: | Jul 28, 2017 at 8:27 p.m. | |
Citation: | See how to cite this resource |
Sharing Status: | Public |
---|---|
Views: | 2154 |
Downloads: | 65 |
+1 Votes: | Be the first one to this. |
Comments: | No comments (yet) |
Abstract
This script generates an XML file containing up or down stream Level-12 HUCs from a user specified HUC anywhere in the Contiguous United States (CONUS).
Briefly, the resultant XML file contains the following information:
[1] "WhereStrings" for selecting HUCs within the National Hydrography Dataset (NHD) using SQL in ArcMap or QTGIS.
[2] Location of stream outlets "Intersection Points" between Level-12 HUCs.
[3] A list of Closed Basins within the graph hierarchy.
[4] A list of NLDAS cell ids for forcing selection.
[5] Graph selection lists using DFS, BFS and undirected Dijkstra graphs. With distances to CONUS Level-12 HUCs.
INPUTS
"-i", "--huc12id" Level-12 HUC numerical identification i.e. 020502040102 for Slab Cabin Run
"-r", "--reverse" Reverse selection i.e. false (default) selects upstream, true indicates downstream
"-o", "--ofolder" Output folder location
Example usage
[Windows]: python.exe get_HUC_Graph.py -i 020502040102 -r false -o c:\
[Ubuntu]: python3 get_HUC_Graph.py -i 020502040102 -r false -o \tmp
Further information is available here:
http://ivi.sagepub.com/lookup/doi/10.1177/1473871616661868
https://doi.org/10.13140/RG.2.1.4397.0004
Subject Keywords
Content
Additional Metadata
Name | Value |
---|---|
Type | Script |
Script Version | 1.0 |
Programming Language | Python |
Programming Language Version | Python 3 |
How to Cite
This resource is shared under the Creative Commons Attribution CC BY.
http://creativecommons.org/licenses/by/4.0/
Comments
There are currently no comments
New Comment