EcohydroLib  1.29
Namespaces | Functions
networkanalysis.py File Reference

Namespaces

 ecohydrolib.nhdplus2.networkanalysis
 Methods for querying the NHDPlus V2 data set.
 

Functions

def ecohydrolib.nhdplus2.networkanalysis.getNHDReachcodeAndMeasureForGageSourceFea (config, source_fea)
 Get NHD Reachcode and measure along reach for a streamflow gage identified by a source_fea (e.g. More...
 
def ecohydrolib.nhdplus2.networkanalysis.getLocationForStreamGageByGageSourceFea (config, source_fea)
 Get lat/lon, in WGS84 (EPSG:4326), from gage point layer (Gage_Loc) for gage identified by a source_fea (e.g. More...
 
def ecohydrolib.nhdplus2.networkanalysis.getLocationForStreamGageByReachcodeAndMeasure (config, reachcode, measure)
 Get lat/lon, in WGS84 (EPSG:4326), from gage point layer (Gage_Loc) for gage identified by reachcode and measure. More...
 
def ecohydrolib.nhdplus2.networkanalysis.getLocationForStreamGage (config, whereFilter)
 Get lat/lon, in WGS84 (EPSG:4326), from gage point layer (Gage_Loc) for gage identified by reachcode and measure. More...
 
def ecohydrolib.nhdplus2.networkanalysis.getComIdForStreamGage (conn, reachcode, measure)
 Uses NHDFlowline and/or NHDReachCode_ComID table(s) to lookup the ComID associated with a stream gage identified by reach code and measure. More...
 
def ecohydrolib.nhdplus2.networkanalysis.getPlusFlowPredecessors (conn, comID)
 Get the immediate predecessors of the NHDPlus2 PlusFlow feature of comID. More...
 
def ecohydrolib.nhdplus2.networkanalysis.getUpstreamReachesSQL (conn, comID, allUpstreamReaches)
 Recursively searches PlusFlow table in an SQLite database for all stream reaches upstream of a given reach. More...
 
def ecohydrolib.nhdplus2.networkanalysis.getFirstOrderUpstreamReachesNotInSet
 Search for upstream reaches downstream of reaches in the specified set. More...
 
def ecohydrolib.nhdplus2.networkanalysis.getFirstOrderUpstreamReachesNotInSetSQL (conn, comID, comIdsInSet, upstreamReaches, depth, maxdepth)
 Recursively search for upstream reaches downstream of reaches in the specified set. More...
 
def ecohydrolib.nhdplus2.networkanalysis.getFirstOrderUpstreamReachesInSet
 Search for first-order upstream reaches in the specified set. More...
 
def ecohydrolib.nhdplus2.networkanalysis.getFirstOrderUpstreamReachesInSetSQL (conn, comID, comIdsInSet, upstreamReaches, depth, maxdepth)
 Recursively search for first-order upstream reaches in the specified set. More...
 
def ecohydrolib.nhdplus2.networkanalysis.getBoundingBoxForCatchmentsForGage
 Get bounding box coordinates (in WGS 84) for the drainage area associated with a given NHD (National Hydrography Dataset) streamflow gage identified by a reach code and measure. More...
 
def ecohydrolib.nhdplus2.networkanalysis.getCatchmentFeaturesForReaches
 Get features (in WGS 84) for the drainage area associated with a set of NHD (National Hydrography Dataset) stream reaches. More...
 
def ecohydrolib.nhdplus2.networkanalysis.getCatchmentFeaturesForComid
 Get features (in WGS 84) for the drainage area associated with a given NHD (National Hydrography Dataset) stream reach. More...
 
def ecohydrolib.nhdplus2.networkanalysis.getCatchmentFeaturesForGage
 Get features (in WGS 84) for the drainage area associated with a given NHD (National Hydrography Dataset) streamflow gage identified by a reach code and measure. More...