27 :
Point(x, y, z), _name(std::move(name))
32 :
Point(*coords), _name(std::move(name))
39 _station_value(src._station_value),
40 _sensor_data(src._sensor_data.get() != nullptr
50 if (fields.size() < 3)
52 INFO(
"Station::createStation() - Unexpected file format.");
56 auto it = fields.begin();
57 std::string name = *it;
58 auto const x = std::strtod(
60 auto const y = std::strtod(
63 if (++it != fields.end())
68 return new Station(x, y, z, name);
74 return new Station(x, y, z, name);
void INFO(fmt::format_string< Args... > fmt, Args &&... 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)
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)