Allow usage of external temperatur datasets

This commit is contained in:
Yannik Schmidt
2020-08-14 17:09:07 +02:00
parent 8871515497
commit 822cae7e1a
7 changed files with 158 additions and 48 deletions

View File

@@ -17,6 +17,8 @@ target_temperatur = 20
temperatur_plot_name = Innenlufttemperatur
humidity_plot_name = rel. Luftfeuchtigkeit
temperatur_outside_plot_name = Außenlufttemperatur
humidity_outside_plot_name = rel. (a) Luftfeuchtigkeit
dewcels_plot_name = Taupunkt
y_label = Temp./r.L.
x_label = Datum/Uhrzeit
@@ -60,6 +62,8 @@ yaxis_start_value = 0
# True: die Y-Achse beginnt auch bei xaxis_start_value wenn dadurch Werte nicht angezeit werden
# False: wenn ein Wert im plot kleiner xaxis_start_value ist beginnt die Y-Achse beim kleinsten Wert im Plot
yaxis_force_start_value = False
# cap all values at two digits to prevent formating problems
cap_values_at_99 = True
# ein höheres alpha für zu einer stärkeren Sättigung der Hintergrundfarbe (0 und es ist ganz weg)
humidity_crit_alpha = 0.35
@@ -72,9 +76,11 @@ humidity_warning_color = yellow
acceptable_temp_color = blue
# Farbe der linie des graphen
humidity_color = red
temperatur_color = blue
dewcels_color = green
humidity_color = red
temperatur_color = blue
dewcels_color = green
temperatur_outside_color = cyan
humidity_outside_color = orange
plot_line_width = 0.5
plot_line_style = solid
@@ -100,10 +106,17 @@ raster_minimum_hlines = 10
add_hours_to_input = 1
add_x_labels_at_end = 1
### NFF Data URLs ###
outside_data_url = "http://umweltdaten.nuernberg.de/csv/wetterdaten/messstation-nuernberg-flugfeld/archiv/csv-export/SUN/nuernberg-flugfeld/{dtype}/individuell/{fromDate}/{toDate}/export.csv"
dtype_temperatur = "lufttemperatur-aussen"
dtype_humidity = "luftfeuchte"
nff_url_timeformat = "%%d.%%m.%%Y"
nff_input_timeformat = "%%d.%%m.%%Y %%H:%%M"
###### DEBUGGING ######
no_ask_date_input = no
input_filename = test.xls
use_input_filename = no
no_ask_date_input = yes
input_filename = "LOG32TH_20010101_2020-06-30T131045.DBF"
use_input_filename = yes
debug_no_interactive = no
terminate_on_warning = no
terminate_on_missing_input_file = True
@@ -115,12 +128,14 @@ default_target_dir = UseSourceDir
plot_temperatur_key = TEMP
plot_humidity_key = HUMIDITY
plot_dewcels_key = TAU_P
plot_outside_temperatur_key = O_TEMP
plot_outside_humidity_key = O_HUMIDITY
always_allow_days_as_xticks = yes
language = DE
aspect_ratio = A4
use_gui_backend = Agg
enable_multicore_support = False
raster_alligment_auto = True
outfile_resolution_in_dpi = 250
# <= what stepsize should datapoints be combined (s)
combine_data_points = 1
cache_dir = "./cache/"