38 _station_value(src._station_value),
39 _sensor_data(src._sensor_data.get() != nullptr
49 if (fields.size() < 3)
51 INFO(
"Station::createStation() - Unexpected file format.");
55 auto it = fields.begin();
56 std::string
name = *it;
57 auto const x = std::strtod(
59 auto const y = std::strtod(
62 if (++it != fields.end())
void INFO(char const *fmt, Args const &... args)
Definition of the Station class.
A Station (observation site) is basically a Point with some additional information.
Station(double x=0.0, double y=0.0, double z=0.0, std::string name="")
Constructor.
static Station * createStation(const std::string &line)
Creates a Station-object from information contained in a string (assuming the string has the right fo...
A container for sensor data at an observation site. The class stores a number of time series and has ...
std::string replaceString(const std::string &searchString, const std::string &replaceString, std::string stringToReplace)
std::vector< std::string > splitString(std::string const &str)
bool isStation(GeoLib::Point const *pnt)