![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Slice BL-Polish — IRunLayer for observed CSV / TSV / DAT files. More...
#include "plot/irunlayer.h"#include <QHash>#include <QString>#include <QStringList>#include <vector>Go to the source code of this file.
Classes | |
| class | openswmmvis::plot::ObservedCsvRunLayer |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::plot |
Slice BL-Polish — IRunLayer for observed CSV / TSV / DAT files.
Two-or-more-column data: column 0 = timestamp, columns 1..N = data series. Each non-time column becomes a virtual "object" accessible via ObjectRef::Observed(label). The label is the CSV header text; rows without a header are labeled "col_1", "col_2", etc.
Supported time formats (tried in order):
Unit system is inferred from CSV column suffix when present ("Depth_m", "Flow_ft3s"). Defaults to SI when unknown — the user can override later via a per-row toolbar (Slice BL polish).
Series attribute is fixed at construction time: the same CSV file may be added as different RunSources if the user wants to plot the same data against multiple attribute rows.