Commit d30d2b5d authored by Samuel's avatar Samuel
Browse files

arguments added

parent b79c865a
# .idea folder
# Output folder
# Byte-compiled / optimized / DLL files
import os
import argparse
import data.survey.cantonal_authorities
import data.survey.wwtp
import data.spatial.cantons
......@@ -17,7 +19,17 @@ if __name__ == '__main__':
"""Reads geospatial and survey data and adds it to an easily accessable DataSet object. Generates input for
parser = argparse.ArgumentParser()
parser.add_argument('input_folder', help = 'Input folder with required data')
parser.add_argument('output_folder', help = 'Output folder for data analysis and model output')
parser.add_argument('output_crs', type = str, help = 'Output coordinate reference system, EPSG number')
args = parser.parse_args()
config = config.Config()
config.input_folder = args.input_folder
config.output_folder = args.output_folder
config.output_crs = 'epsg:{0}'.format(args.output_crs)
dataset = data.dataset.Dataset()
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