EcohydroLib  1.29
Namespaces | Variables
GetGADEMForBoundingBox.py File Reference

Namespaces

 GetGADEMForBoundingBox
 
 GetGAAustraliaDEMForBoundingBox
 Query OGC WCS web services provided by Geoscience Australia (http://www.ga.gov.au/data-pubs/web-services/ga-web-services) for digital elevation model (DEM) data.
 

Variables

tuple GetGADEMForBoundingBox.parser = argparse.ArgumentParser(description='Get DEM raster (in GeoTIFF format) for a bounding box from Geoscience Australia')
 
string GetGADEMForBoundingBox.help = 'The configuration file'
 
tuple GetGADEMForBoundingBox.args = parser.parse_args()
 
tuple GetGADEMForBoundingBox.cmdline = GenericMetadata.getCommandLine()
 
 GetGADEMForBoundingBox.configFile = None
 
tuple GetGADEMForBoundingBox.context = Context(args.projectDir, configFile)
 
 GetGADEMForBoundingBox.outfile = args.outfile
 
string GetGADEMForBoundingBox.demFilename = "%s.tif"
 
tuple GetGADEMForBoundingBox.demFilepath = os.path.join(context.projectDir, demFilename)
 
tuple GetGADEMForBoundingBox.studyArea = GenericMetadata.readStudyAreaEntries(context)
 
tuple GetGADEMForBoundingBox.bbox = bboxFromString(studyArea['bbox_wgs84'])
 
 GetGADEMForBoundingBox.t_srs = args.t_srs
 
string GetGADEMForBoundingBox.tmpDEMFilename = "%s-TEMP.tif"
 
tuple GetGADEMForBoundingBox.tmpDEMFilepath = os.path.join(context.projectDir, tmpDEMFilename)
 
tuple GetGADEMForBoundingBox.demSrs = getSpatialReferenceForRaster(tmpDEMFilepath)
 
 GetGADEMForBoundingBox.resample = False
 
list GetGADEMForBoundingBox.demResolutionX = args.demResolution[0]
 
list GetGADEMForBoundingBox.demResolutionY = args.demResolution[1]
 
 GetGADEMForBoundingBox.s_srs = t_srs,\
 
 GetGADEMForBoundingBox.trX = demResolutionY)
 
tuple GetGADEMForBoundingBox.asset = AssetProvenance(GenericMetadata.MANIFEST_SECTION)