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

Namespaces

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

Variables

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