yminCBD = 870663.4547 ymaxCBD = 876965.3856 ################################################################################ ################################################################################ #### NOTE: NOTHING WOULD NORMALLY CHANGE BELOW THIS POINT. #### ################################################################################ ################################################################################ # Get system user and host names. # These values can be used to distinguish between two similar runs by two # different users or runs by the same user on two different machines. user = get_user_name() host = get_host_name() #------------------------------------------------------------------------------- # Output Elevation Data #------------------------------------------------------------------------------- # Output filename for elevation # this is a combination of all the data generated in build_elevation.py combined_elevation_basename = scenario_name + '_combined_elevation_' + model #------------------------------------------------------------------------------- # Directory Structure #------------------------------------------------------------------------------- # determines time for setting up output directories time = strftime('%Y%m%d_%H%M%S', localtime())
yminCBD = 870663.4547 ymaxCBD = 876965.3856 ################################################################################ ################################################################################ #### NOTE: NOTHING WOULD NORMALLY CHANGE BELOW THIS POINT. #### ################################################################################ ################################################################################ # Get system user and host names. # These values can be used to distinguish between two similar runs by two # different users or runs by the same user on two different machines. user = get_user_name() host = get_host_name() #------------------------------------------------------------------------------- # Output Elevation Data #------------------------------------------------------------------------------- # Output filename for elevation # this is a combination of all the data generated in build_elevation.py combined_elevation_basename = scenario_name + '_combined_elevation_' + model #------------------------------------------------------------------------------- # Directory Structure #------------------------------------------------------------------------------- # determines time for setting up output directories time = strftime('%Y%m%d_%H%M%S', localtime())
#shutil.rmtree(Remote_Data_Directory, ignore_errors=True) #try: # os.remove(RUNMODEL_STDOUT) #except OSError: # pass ################################################################################ # Mainline - run the simulation, check output. ################################################################################ # set logging levels log.console_logging_level = log.INFO log.log_logging_level = log.DEBUG log.debug('Machine we are running on is "%s"' % get_host_name()) setup() # prepare user for what is about to happen log.critical(''' This validation requires a working internet connection to refresh its files. You may still run this validation without an internet connection if you have the required files. If you are behind a proxy server you will need to supply your proxy details such as the proxy server address and your proxy username and password. These can be defined in one or more of the environment variables: HTTP_PROXY PROXY_USERNAME PROXY_PASSWORD if you wish. If not supplied in environment variables you will be prompted for