39 ALPUG(
const std::string& configfile);
45 std::vector< std::vector<MeteoData> >& vecMeteo);
48 void parseInputOutputSection();
50 bool isDuplicate(
const std::string& line) ;
51 Date parseDINDate(
const std::string& datum)
const;
52 bool parseLine(
const std::string& filename,
const size_t& nr_of_data_fields,
const Date& dateStart,
const Date& dateEnd,
const std::string& line,
MeteoData &md,
bool &isValid)
const;
53 void readMeteoFile(
const size_t& station_index,
const Date& dateStart,
const Date& dateEnd,
54 std::vector<MeteoData>& vecM);
57 std::vector<StationData> vecMeta;
58 std::deque<std::string> LinesBuffer;
59 std::vector<std::string> vecIDs, vecFields;
60 std::string coordin, coordinparam, coordout, coordoutparam;
61 std::string inpath, outpath;
62 double in_dflt_TZ, out_dflt_TZ;
65 static const double plugin_nodata;
66 static const size_t max_buffered_lines;
67 static const char* dflt_extension;
This plugin reads data as they come out of ALPUG stations, in ASCII.
Definition: ALPUG.h:37
virtual void readStationData(const Date &date, std::vector< StationData > &vecStation)
Fill vecStation with StationData objects for a certain date of interest.
Definition: ALPUG.cc:212
virtual void readMeteoData(const Date &dateStart, const Date &dateEnd, std::vector< std::vector< MeteoData > > &vecMeteo)
Fill vecMeteo with a time series of objects corresponding to the interval indicated by dateStart and ...
Definition: ALPUG.cc:356
ALPUG(const std::string &configfile)
Definition: ALPUG.cc:84
A class that reads a key/value file. These files (typically named *.ini) follow the INI file format s...
Definition: Config.h:79
A class to handle timestamps. This class handles conversion between different time display formats (I...
Definition: Date.h:87
A class representing the IO Layer of the software Alpine3D. For each type of IO (File,...
Definition: IOInterface.h:98
A class to represent a singular measurement received from one station at a certain time (represented ...
Definition: MeteoData.h:107