Commit 1a57f912 authored by Samuel's avatar Samuel
Browse files

add config.py

parent d30d2b5d
__author__ = 'Samuel Derwort'
class Config(object):
"""Configuration for data_launcher.py and the abm_prototype model."""
def __init__(self):
# for data_launcher.py
self.input_folder = 'C:/Users/Samuel/Documents/ETHZ/Masterarbeit/ABM_CSO/Input'
self.output_folder = 'C:/Users/Samuel/Documents/ETHZ/Masterarbeit/ABM_CSO/Output'
self.output_crs = 'epsg:2056'
self.intersection_area_tol = 100000 # Tolerance for overlapping area between catchment area and municipality, m2
# for the abm prototype model
self.model_input_folder = self.output_folder # the input for the model is the output of data_launcher.py
self.input_file_tbl = '{0}/{1}'.format(self.model_input_folder, 'cache.h5')
self.input_file_nw = '{0}/{1}'.format(self.model_input_folder, 'network.gexf')
self.model_output_folder = '{0}/{1}'.format(self.output_folder, 'Analysis')
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment