EcohydroLib  1.29
Namespaces | Variables
GetSSURGOFeaturesForBoundingbox.py File Reference

Namespaces

 GetSSURGOFeaturesForBoundingbox
 Query USDA soil datamart for SSURGO MapunitPolyExtended features and the following attributes, computed as a weighted average of the components in each mapunit, for the first soil horizon of each mapunit: ksat (chorizon.ksat_r), pctClay (chorizon.claytotal_r), pctSilt (chorizon.silttotal_r), pctSand (chorizon.andtotal_r), porosity (chorizon.wsatiated_r), 'fieldCap' (chorizon.wthirdbar_r), 'avlWatCap' (plant available water capacity; chorizon.awc_r), and drnWatCont (drainable water capacity; porosity - fieldCap).
 

Variables

tuple GetSSURGOFeaturesForBoundingbox.parser = argparse.ArgumentParser(description='Get SSURGO features for a bounding box')
 
string GetSSURGOFeaturesForBoundingbox.help = 'The configuration file'
 
tuple GetSSURGOFeaturesForBoundingbox.args = parser.parse_args()
 
tuple GetSSURGOFeaturesForBoundingbox.cmdline = GenericMetadata.getCommandLine()
 
 GetSSURGOFeaturesForBoundingbox.configFile = None
 
tuple GetSSURGOFeaturesForBoundingbox.context = Context(args.projectDir, configFile)
 
tuple GetSSURGOFeaturesForBoundingbox.manifest = GenericMetadata.readManifestEntries(context)
 
tuple GetSSURGOFeaturesForBoundingbox.shpFilepath = os.path.join( context.projectDir, manifest['soil_features'] )
 
tuple GetSSURGOFeaturesForBoundingbox.studyArea = GenericMetadata.readStudyAreaEntries(context)
 
tuple GetSSURGOFeaturesForBoundingbox.bbox = bboxFromString(studyArea['bbox_wgs84'])
 
list GetSSURGOFeaturesForBoundingbox.outputrasterresolutionX = studyArea['dem_res_x']
 
list GetSSURGOFeaturesForBoundingbox.outputrasterresolutionY = studyArea['dem_res_y']
 
list GetSSURGOFeaturesForBoundingbox.srs = studyArea['dem_srs']
 
tuple GetSSURGOFeaturesForBoundingbox.shpFilename
 
tuple GetSSURGOFeaturesForBoundingbox.asset = AssetProvenance(GenericMetadata.MANIFEST_SECTION)