29 GoesStation(
const std::string& goesID,
const Config& metaCfg,
const float& in_nodata,
const double& in_TZ,
const std::string& coordin,
const std::string& coordinparam);
34 bool isValid()
const {
return validStation;}
38 void parseFieldsSpecs(
const std::vector<std::string>& fieldsNames,
MeteoData &meteo_template, std::vector<size_t> &idx);
40 std::vector<size_t> fields_idx;
41 std::vector<double> units_offset, units_multiplier, units_multiplier_neg;
45 size_t stationID_idx, year_idx, hour_idx, jdn_idx, nElems;
62 GoesIO(
const std::string& configfile);
69 std::vector< std::vector<MeteoData> >& vecMeteo);
72 void parseInputOutputSection(
const Config& cfgreader);
73 void readRaw(
const std::string& file_and_path,
const Date& dateStart,
const Date& dateEnd, std::vector< std::vector<MeteoData> >& vecMeteo);
74 void addStation(
const std::string& goesID);
76 std::vector<std::string> vecFilenames;
78 std::map<std::string, GoesStation> stations;
80 std::string meteopath;
81 std::string coordin, coordinparam;
84 bool debug, OnlyFromPast;
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
This plugin deals with data that has been transmitted through the GOES satellites (see also https://w...
Definition: Goes.h:60
GoesIO(const std::string &configfile)
Definition: Goes.cc:103
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: Goes.cc:153
virtual void readStationData(const Date &date, std::vector< StationData > &vecStation)
Fill vecStation with StationData objects for a certain date of interest.
Definition: Goes.cc:137
size_t getNElems() const
Definition: Goes.h:33
StationData getStationData() const
Definition: Goes.h:32
GoesStation()
Definition: Goes.cc:296
bool isValid() const
Definition: Goes.h:34
size_t meteoIdx
index within vecMeteo
Definition: Goes.h:36
Date parseDate(const std::vector< float > &raw_data) const
Definition: Goes.cc:377
MeteoData parseDataLine(const Date &dt, const std::vector< float > &raw_data) const
Definition: Goes.cc:384
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:108
StationData meta
The meta data of the measurement.
Definition: MeteoData.h:406
A class to represent meteo stations with attributes like longitude, latitude, etc.
Definition: StationData.h:41