61 virtual void writeMeteoData(
const std::vector<METEO_SET>& vecMeteo,
62 const std::string& name=
"");
64 std::vector<METEO_SET>& vecMeteo);
67 virtual void readPOI(std::vector<Coords>& pts);
77 IOInterface* getPlugin(
const std::string& cfgkey,
const std::string& cfgsection,
const std::string& sec_rename=
"");
78 std::vector<std::string> getListOfSources(
const std::string& plugin_key,
const std::string& sec_pattern)
const;
82 std::map<std::string, IOInterface*> mapPlugins;
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 represent DEMs and automatically compute some properties. This class stores elevation grid...
Definition: DEMObject.h:40
Definition: DataEditing.h:45
A class to handle timestamps. This class handles conversion between different time display formats (I...
Definition: Date.h:87
A class to represent 2D Grids. Typical application as DEM or Landuse Model.
Definition: Grid2DObject.h:42
A class to represent 3D Grids. Typical application: wind field.
Definition: Grid3DObject.h:39
This class is the class to use for raw I/O operations. It is responsible for transparently loading th...
Definition: IOHandler.h:37
virtual bool list2DGrids(const Date &start, const Date &end, std::map< Date, std::set< size_t > > &list)
Return the list of grids within a given time period that could be read by the plugin,...
Definition: IOHandler.cc:425
virtual void readPointsIn2DGrid(std::vector< double > &data, const MeteoGrids::Parameters ¶meter, const Date &date, const std::vector< std::pair< size_t, size_t > > &Pts)
Read the given meteo parameter into a vector for a list of points. Each plugin has its own logic for ...
Definition: IOHandler.cc:443
virtual void readMeteoData(const Date &dateStart, const Date &dateEnd, std::vector< METEO_SET > &vecMeteo)
Definition: IOHandler.cc:500
IOHandler & operator=(const IOHandler &)
Assignement operator.
Definition: IOHandler.cc:402
virtual void write2DGrid(const Grid2DObject &grid_in, const std::string &name)
Write a Grid2DObject The filename is specified relative to GRID2DPATH for most plugins.
Definition: IOHandler.cc:543
virtual void readLanduse(Grid2DObject &landuse_out)
Parse the landuse model into the Grid2DObject.
Definition: IOHandler.cc:468
virtual void readDEM(DEMObject &dem_out)
Parse the DEM (Digital Elevation Model) into the Grid2DObject.
Definition: IOHandler.cc:461
virtual void readAssimilationData(const Date &, Grid2DObject &da_out)
Parse the assimilation data into a Grid2DObject for a certain date represented by the Date object.
Definition: IOHandler.cc:532
virtual void read2DGrid(Grid2DObject &out_grid, const std::string ¶meter="")
A generic function for parsing 2D grids into a Grid2DObject. The string parameter shall be used for a...
Definition: IOHandler.cc:431
virtual void readGlacier(Grid2DObject &glacier_out)
Parse the input glacier grid into the Grid2DObject.
Definition: IOHandler.cc:474
virtual void write3DGrid(const Grid3DObject &grid_out, const std::string &options)
Write a Grid3DObject The filename is specified relative to GRID3DPATH for most plugins.
Definition: IOHandler.cc:555
const std::string toString() const
Definition: IOHandler.cc:567
virtual ~IOHandler() noexcept
Definition: IOHandler.cc:393
virtual void readPOI(std::vector< Coords > &pts)
Read a list of points by their grid coordinates This allows for example to get a list of points where...
Definition: IOHandler.cc:538
IOHandler(const IOHandler &)
Definition: IOHandler.cc:385
virtual void writeMeteoData(const std::vector< METEO_SET > &vecMeteo, const std::string &name="")
Definition: IOHandler.cc:525
virtual void read3DGrid(Grid3DObject &grid_out, const std::string &i_filename="")
A generic function for parsing 3D grids into a Grid3DObject. The string parameter shall be used for a...
Definition: IOHandler.cc:449
virtual void readStationData(const Date &date, STATIONS_SET &vecStation)
Definition: IOHandler.cc:480
A class representing the IO Layer of the software Alpine3D. For each type of IO (File,...
Definition: IOInterface.h:98
Parameters
this enum provides names for possible meteogrids (from an ARPS file, etc)
Definition: MeteoData.h:46
std::vector< StationData > STATIONS_SET
Definition: StationData.h:145