Skip to content
Snippets Groups Projects
Commit 3dbce1eb authored by Peter Morstein's avatar Peter Morstein
Browse files

Merge branch 'master' of gitlab.beuth-hochschule.de:s39174/temperaturverteilung

parents e76f535f 43f0001b
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ import psycopg2
from psycopg2 import sql
cfg = configparser.ConfigParser()
cfg.read('config.ini')
cfg.read('../config.ini')
assert "POSTGRES" in cfg, "missing POSTGRES in config.ini"
assert "INTERPOLATION" in cfg, "missing INTERPOLATION in config.ini"
param_postgres = cfg["POSTGRES"]
......
......@@ -5,7 +5,7 @@ import configparser
from GetAverageData import get_interpolation_data_for_point
cfg = configparser.ConfigParser()
cfg.read('config.ini')
cfg.read('../config.ini')
assert "POSTGRES" in cfg, "missing POSTGRES in config.ini"
param_postgres = cfg["POSTGRES"]
......
......@@ -16,7 +16,7 @@ import configparser
from api.GetAverageData import get_interpolation_data_for_point
cfg = configparser.ConfigParser()
cfg.read('config.ini')
cfg.read('../config.ini')
assert "POSTGRES" in cfg, "missing POSTGRES in config.ini"
param_postgres = cfg["POSTGRES"]
param_interpol = cfg["INTERPOLATION"]
......
[POSTGRES]
host = localhost
port = 5432
user = postgres
password = postgres
dbName = temperatures_berteld_morstein
[INTERPOLATION]
; neighbouring measurements used for interpolation
amount_neighbours = 5
; in km. 25km or 10km possible
matrix_density = 25
\ No newline at end of file
......@@ -14,7 +14,7 @@ import psycopg2
import time
cfg = configparser.ConfigParser()
cfg.read('config.ini')
cfg.read('../config.ini')
assert "POSTGRES" in cfg, "missing POSTGRES in config.ini"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment