37 BUFRIO(
const std::string& configfile);
41 virtual void readMeteoData(
const Date &dateStart,
const Date &dateEnd, std::vector<std::vector<MeteoData>> &vecMeteo);
43 virtual void writeMeteoData(
const std::vector<std::vector<MeteoData>> &vecMeteo,
const std::string &name =
"");
47 std::string coordin, coordinparam, coordout, coordoutparam;
49 std::vector<BUFRFile> station_files;
50 std::vector<std::string> additional_params;
53 bool separate_stations;
58 long wigos_id_series, wigos_issuer, wigos_issue_no, station_type, surface_type, snow_depth_method;
59 std::string wigos_local_id;
61 static const std::string template_filename;
62 static const double plugin_nodata;
64 void parseInputSection();
65 void parseOutputSection();
67 void setWIGOSId(
CodesHandlePtr &message,
const std::string &subset_prefix);
BUFRIO(const std::string &configfile)
Definition: BUFRIO.cc:176
virtual void readStationData(const Date &date, std::vector< StationData > &vecStation)
Fill vecStation with StationData objects for a certain date of interest.
Definition: BUFRIO.cc:259
virtual void writeMeteoData(const std::vector< std::vector< MeteoData > > &vecMeteo, const std::string &name="")
Write vecMeteo time series to a certain destination.
Definition: BUFRIO.cc:530
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: BUFRIO.cc:247
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 meteo stations with attributes like longitude, latitude, etc.
Definition: StationData.h:41
std::unique_ptr< codes_handle, HandleDeleter > CodesHandlePtr
Definition: libcodes.h:52