Skip to content

Commit 8f2345e

Browse files
committed
title for map added (not as function yet)
1 parent 6233af5 commit 8f2345e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

inst/extdata/scripts/impetus/readData_BerlinWaterModel_v2.R

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ project_path <-
88

99
#data_path <- "Work-packages/WP4_Demonstration_KWB/CS-Berlin/04_Modelling/OGewaesser/BerlinWaterModel/Ergebnisse"
1010
data_path <- "kwb.BerlinWaterModel"
11-
file_name <- "qsimVis_input_hours_2017-2022_Fluoranthen.csv"
11+
file_name <- "qsimVis_input_days_2002-2022_Valsartansäure_Ozonung_alle_KW.csv"
1212

1313
# find out about column names --------------------------------------------------
1414
colNames <- read.csv(
@@ -19,7 +19,7 @@ print(colNames)
1919
# load and prepare qsim data
2020
df_in <- qsimVis::QSIM_prepare(
2121
qsim_output_file = file.path(project_path, data_path, file_name),
22-
parameter_name = "Fluoranthen.mg.m3", # "tracer.wwtp", "tracer.rain"
22+
parameter_name = "Valsartan.mg.m3", # "tracer.wwtp", "tracer.rain"
2323
date_column_name = "Datum",
2424
id_column_name = "GewaesserId",
2525
km_column_name = "Km",
@@ -161,6 +161,7 @@ qsimVis::plot_empty_map(
161161
qsimVis::Berlin_add_boarder()
162162
qsimVis::Berlin_add_waterbodies()
163163

164+
mtext(text = "Mittlere Konzentration Valsartansäure (2002-2022), Ozonung aller Klärwerke", side = 3, line = 1, cex = 1.2, font = 1)
164165
# Add colored Rivers
165166
qsimVis::add_coloredRivers(
166167
ext_rivers = rivers
@@ -174,7 +175,7 @@ qsimVis::add_river_legend(
174175

175176
# Save as png
176177
qsimVis::saveActiveDevice(
177-
filename = "WaterModelPlot_Fuoranthen_2017-2022_Zeitanteil_above_ZHK-UQN",
178+
filename = "WaterModelPlot_Valsartansäure_2002-2022_Ozonung_alle_KW_2",
178179
path = file.path(project_path, data_path),
179180
type = "", # "vector" = svg-file
180181
resolution = "low"

0 commit comments

Comments
 (0)