39 PmodIO(
const std::string& configfile);
45 std::vector< std::vector<MeteoData> >& vecvecMeteo);
48 void parseInputOutputSection();
49 MeteoData createTemplate(
const std::vector<std::string>& fields)
const;
50 MeteoData createTemplate(std::ifstream &fin,
const char& eoln)
const;
53 std::string name, id, filename, inpath;
56 static const double plugin_nodata;
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 geographic coordinate systems. This class offers an easy way to transparently conve...
Definition: Coords.h:83
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
This class reads radiation data in raw file format from PMOD/WRC Institute.
Definition: PmodIO.h:37
virtual void readMeteoData(const Date &dateStart, const Date &dateEnd, std::vector< std::vector< MeteoData > > &vecvecMeteo)
Fill vecMeteo with a time series of objects corresponding to the interval indicated by dateStart and ...
Definition: PmodIO.cc:163
virtual void readStationData(const Date &date, std::vector< StationData > &vecStation)
Fill vecStation with StationData objects for a certain date of interest.
Definition: PmodIO.cc:119
PmodIO(const std::string &configfile)
Definition: PmodIO.cc:88