EcohydroLib  1.29
Variables
GetGADEMForBoundingBox Namespace Reference

Variables

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

Variable Documentation

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