![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Multi-format climate file reader for temperature, evaporation, wind. More...
#include <string>#include <cstdio>#include <cmath>Go to the source code of this file.
Classes | |
| struct | openswmm::climate::DailyClimateRecord |
| class | openswmm::climate::ClimateFileReader |
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::climate |
Enumerations | |
| enum class | openswmm::climate::ClimateFileFormat { openswmm::climate::UNKNOWN , openswmm::climate::USER_PREPARED , openswmm::climate::GHCND , openswmm::climate::TD3200 , openswmm::climate::DLY0204 } |
| enum | openswmm::climate::ClimateVar { openswmm::climate::TMIN = 0 , openswmm::climate::TMAX = 1 , openswmm::climate::EVAP = 2 , openswmm::climate::WIND = 3 } |
| Climate variable indices (matching legacy ClimateVarType) More... | |
| enum | openswmm::climate::WindFieldType { openswmm::climate::WDMV = 0 , openswmm::climate::AWND = 1 } |
| Wind field type in GHCND. More... | |
| enum | openswmm::climate::TempUnits { openswmm::climate::DEG_C10 = 0 , openswmm::climate::DEG_C = 1 , openswmm::climate::DEG_F = 2 } |
| Temperature unit encoding in GHCND. More... | |
Multi-format climate file reader for temperature, evaporation, wind.
Supports four climate file formats:
The reader buffers one month at a time (matching legacy FileData[4][32]). Within a month, lookups are O(1) array access. Month transitions trigger a sequential file read of the next month's data.