RHESSysWorkflows
1.33
|
Namespaces | |
ImportRasterMapIntoGRASS | |
Import raster map already registered in metadata via EcohydroLib.RegisterRaster, into GRASS. | |
Variables | |
tuple | ImportRasterMapIntoGRASS.RESAMPLE_METHODS = list(GRASS_RASTER_RESAMPLE_METHODS) |
tuple | ImportRasterMapIntoGRASS.typeChoices = list(RHESSysMetadata.RASTER_TYPES) |
tuple | ImportRasterMapIntoGRASS.parser = argparse.ArgumentParser(description='Import raster map already registered in metadata via EcohydroLib.RegisterRaster, into GRASS. Raster type must be one of RHESSysMetadata.RASTER_TYPES.') |
string | ImportRasterMapIntoGRASS.help = 'The configuration file. Must define section "GRASS" and option "GISBASE"' |
string | ImportRasterMapIntoGRASS.nargs = '+' |
tuple | ImportRasterMapIntoGRASS.args = parser.parse_args() |
tuple | ImportRasterMapIntoGRASS.cmdline = RHESSysMetadata.getCommandLine() |
ImportRasterMapIntoGRASS.configFile = None | |
tuple | ImportRasterMapIntoGRASS.context = Context(args.projectDir, configFile) |
ImportRasterMapIntoGRASS.typeList = RHESSysMetadata.RASTER_TYPES | |
list | ImportRasterMapIntoGRASS.methodList = [args.method[0] for t in typeList] |
tuple | ImportRasterMapIntoGRASS.manifest = RHESSysMetadata.readManifestEntries(context) |
Check for necessary information in metadata. More... | |
tuple | ImportRasterMapIntoGRASS.metadata = RHESSysMetadata.readRHESSysEntries(context) |
tuple | ImportRasterMapIntoGRASS.grassMetadata = RHESSysMetadata.readGRASSEntries(context) |
list | ImportRasterMapIntoGRASS.demRast = grassMetadata['dem_rast'] |
tuple | ImportRasterMapIntoGRASS.modulePath = context.config.get('GRASS', 'MODULE_PATH') |
tuple | ImportRasterMapIntoGRASS.grassDbase = os.path.join(context.projectDir, metadata['grass_dbase']) |
tuple | ImportRasterMapIntoGRASS.grassConfig = GRASSConfig(context, grassDbase, metadata['grass_location'], metadata['grass_mapset']) |
tuple | ImportRasterMapIntoGRASS.grassLib = GRASSLib(grassConfig=grassConfig) |
tuple | ImportRasterMapIntoGRASS.result = grassLib.script.run_command('r.mask', flags='r') |
list | ImportRasterMapIntoGRASS.method = methodList[index] |
tuple | ImportRasterMapIntoGRASS.rasterPath = os.path.join(context.projectDir, manifest[t]) |
string | ImportRasterMapIntoGRASS.importName = "%s_tmp" |
ImportRasterMapIntoGRASS.overwrite = True | |
string | ImportRasterMapIntoGRASS.mapcalcCmd = "%s=int(%s * %s)" |
string | ImportRasterMapIntoGRASS.grassEntryKey = "%s_rast" |