OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
ClimateFormat.hpp File Reference

User-CSV climate-file parser / materialiser. More...

#include "FormatTypes.hpp"
#include <string>
#include <vector>
Include dependency graph for ClimateFormat.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openswmm
 
namespace  openswmm::gpkg
 
namespace  openswmm::gpkg::formats
 

Functions

FormatResult openswmm::gpkg::formats::parseClimateCsv (const std::string &path, std::vector< ClimateRow > &rows)
 
FormatResult openswmm::gpkg::formats::writeClimateCsv (const std::string &path, const std::vector< ClimateRow > &rows)
 

Detailed Description

User-CSV climate-file parser / materialiser.

Slice IO-6c. Canonical row form:

date,tmin,tmax,evap,wind,sky,humidity
2026-01-01,32.0,52.0,0.10,5.0,0.5,55.0
    One header line introduces the column order; the parser reads
    the header to map column position so future variants (column
    re-orderings) keep working. NCDC TD3200 and GHCND remain
    deferred behind the plugin SDK per the plan ยง3.6.
Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n MIT License