RHESSysWorkflows
1.33
|
Namespaces | |
GeneratePatchMap | |
Generate patch map in the GRASS location associated with the project directory. | |
Variables | |
string | GeneratePatchMap.PATCH_RAST = 'patch' |
tuple | GeneratePatchMap.parser = argparse.ArgumentParser(description='Generate patch maps or in GRASS location associated with the project directory.') |
string | GeneratePatchMap.help = 'The configuration file. Must define section "GRASS" and option "GISBASE"' |
tuple | GeneratePatchMap.args = parser.parse_args() |
tuple | GeneratePatchMap.cmdline = RHESSysMetadata.getCommandLine() |
GeneratePatchMap.configFile = None | |
tuple | GeneratePatchMap.context = Context(args.projectDir, configFile) |
tuple | GeneratePatchMap.studyArea = RHESSysMetadata.readStudyAreaEntries(context) |
tuple | GeneratePatchMap.grassMetadata = RHESSysMetadata.readGRASSEntries(context) |
tuple | GeneratePatchMap.metadata = RHESSysMetadata.readRHESSysEntries(context) |
tuple | GeneratePatchMap.modulePath = context.config.get('GRASS', 'MODULE_PATH') |
tuple | GeneratePatchMap.grassDbase = os.path.join(context.projectDir, metadata['grass_dbase']) |
tuple | GeneratePatchMap.grassConfig = GRASSConfig(context, grassDbase, metadata['grass_location'], metadata['grass_mapset']) |
tuple | GeneratePatchMap.grassLib = GRASSLib(grassConfig=grassConfig) |
list | GeneratePatchMap.demRast = grassMetadata['dem_rast'] |
tuple | GeneratePatchMap.result = grassLib.script.run_command('g.region', rast=demRast) |
list | GeneratePatchMap.basinRast = grassMetadata['basin_rast'] |
tuple | GeneratePatchMap.demCols = int(studyArea['dem_columns']) |
list | GeneratePatchMap.clumpMap = grassMetadata['wetness_index_rast'] |