Namespaces | |
| namespace | RegisterGage |
| Register streamflow gage coordinates from a point shapefile into metadata store for a project directory, copying the shapefile into the project directory in the process. | |
Variables | |
| tuple | RegisterGage.parser argparse.ArgumentParser(description='Register streamflow gage shapefile with project') |
| string | RegisterGage.help 'The configuration file' |
| tuple | RegisterGage.args parser.parse_args() |
| tuple | RegisterGage.cmdline GenericMetadata.getCommandLine() |
| RegisterGage.configFile None | |
| tuple | RegisterGage.config ConfigParser.RawConfigParser() |
| RegisterGage.projectDir args.projectDir | |
| tuple | RegisterGage.inGagePath os.path.abspath(args.gageFile) |
| RegisterGage.publisher args.publisher | |
| RegisterGage.outfile args.outfile | |
| tuple | RegisterGage.studyArea GenericMetadata.readStudyAreaEntries(projectDir) |
| list | RegisterGage.bbox studyArea['bbox_wgs84'] |
| string | RegisterGage.outFilename "%s%sshp" |
| tuple | RegisterGage.outFilepath os.path.join(projectDir, outFilename) |
| list | RegisterGage.gageIDs [args.idValue] |
| tuple | RegisterGage.coords |
| list | RegisterGage.gage_lon coords[0] |
| list | RegisterGage.gage_lat coords[0] |
| tuple | RegisterGage.coordinates (gage_lon, gage_lat) |
| tuple | RegisterGage.shpFilename writeCoordinatePairsToPointShapefile(projectDir, outfile, "gage_id", gageIDs, [coordinates]) |
| tuple | RegisterGage.asset AssetProvenance(GenericMetadata.MANIFEST_SECTION) |
1.8.3