EcohydroLib  1.29
Namespaces | Variables
CreateHydroShareResource.py File Reference

Namespaces

 CreateHydroShareResource
 
 GetUSGSDEMForBoundingbox
 Create a new HydroShare resource by uploading the contents of an EcohydroLib project.
 

Variables

tuple CreateHydroShareResource.parser = argparse.ArgumentParser(description='Create a new HydroShare resource by uploading the contents of an EcohydroLib project.')
 
string CreateHydroShareResource.help = 'The configuration file.'
 
tuple CreateHydroShareResource.args = parser.parse_args()
 
 CreateHydroShareResource.configFile = None
 
tuple CreateHydroShareResource.command = HydroShareCreateResource(args.projectDir, configFile)
 
 CreateHydroShareResource.exitCode = os.EX_OK
 
tuple CreateHydroShareResource.username = sys.stdin.readline()
 
tuple CreateHydroShareResource.password = getpass.getpass('HydroShare password (this will not be stored on disk): ')
 
tuple CreateHydroShareResource.auth = get_password_authentication(username, password)
 
 CreateHydroShareResource.title = args.title,
 
 CreateHydroShareResource.abstract = args.abstract,
 
 CreateHydroShareResource.keywords = args.keywords,
 
 CreateHydroShareResource.create_callback = create_console_callback,
 
 CreateHydroShareResource.verbose = True,
 
 CreateHydroShareResource.overwrite = args.overwrite)