EcohydroWorkflowLib  0.973
 All Classes Namespaces Files Functions Variables Pages
Namespaces | Variables
GetCatchmentShapefileForStreamflowGage.py File Reference

Namespaces

namespace  GetCatchmentShapefileForStreamflowGage
 Query NHDPlus2 database for shapefile of the drainage area of the given streamflow gage.
 

Variables

tuple GetCatchmentShapefileForStreamflowGage.parser argparse.ArgumentParser(description='Get shapefile for the drainage area of an NHDPlus2 streamflow gage')
 
string GetCatchmentShapefileForStreamflowGage.help 'The configuration file'
 
tuple GetCatchmentShapefileForStreamflowGage.args parser.parse_args()
 
 GetCatchmentShapefileForStreamflowGage.configFile None
 
tuple GetCatchmentShapefileForStreamflowGage.config ConfigParser.RawConfigParser()
 
 GetCatchmentShapefileForStreamflowGage.projectDir args.projectDir
 
 GetCatchmentShapefileForStreamflowGage.outfile args.outfile
 
tuple GetCatchmentShapefileForStreamflowGage.studyArea GenericMetadata.readStudyAreaEntries(projectDir)
 
list GetCatchmentShapefileForStreamflowGage.reachcode studyArea['nhd_gage_reachcode']
 
list GetCatchmentShapefileForStreamflowGage.measure studyArea['nhd_gage_measure_pct']
 
string GetCatchmentShapefileForStreamflowGage.shapeFilename "%s.shp"
 
tuple GetCatchmentShapefileForStreamflowGage.shapeFilepath os.path.join(projectDir, shapeFilename)