38 GrassIO(
const std::string& configfile);
58 std::string coordin, coordinparam, coordout, coordoutparam;
59 std::string grid2dpath_in, grid2dpath_out;
61 static const std::string default_extension;
62 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 represent DEMs and automatically compute some properties. This class stores elevation grid...
Definition: DEMObject.h:40
A class to handle timestamps. This class handles conversion between different time display formats (I...
Definition: Date.h:87
This class enables the access to 2D grids stored in GRASS ASCII (e.g. JGrass) format.
Definition: GrassIO.h:36
virtual bool list2DGrids(const Date &, const Date &, std::map< Date, std::set< size_t > > &)
Return the list of grids within a given time period that could be read by the plugin,...
Definition: GrassIO.h:42
virtual void readLanduse(Grid2DObject &landuse_out)
Parse the landuse model into the Grid2DObject.
Definition: GrassIO.cc:176
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: GrassIO.cc:190
virtual void readDEM(DEMObject &dem_out)
Parse the DEM (Digital Elevation Model) into the Grid2DObject.
Definition: GrassIO.cc:169
virtual void read2DGrid(Grid2DObject &dem_out, const std::string ¶meter="")
A generic function for parsing 2D grids into a Grid2DObject. The string parameter shall be used for a...
Definition: GrassIO.cc:83
virtual void write2DGrid(const Grid2DObject &grid_in, const std::string &options)
Write a Grid2DObject The filename is specified relative to GRID2DPATH for most plugins.
Definition: GrassIO.cc:205
virtual void readGlacier(Grid2DObject &glacier_out)
Parse the input glacier grid into the Grid2DObject.
Definition: GrassIO.cc:183
GrassIO(const std::string &configfile)
Definition: GrassIO.cc:57
A class to represent 2D Grids. Typical application as DEM or Landuse Model.
Definition: Grid2DObject.h:42
A class representing the IO Layer of the software Alpine3D. For each type of IO (File,...
Definition: IOInterface.h:98
virtual void write2DGrid(const Grid2DObject &grid_out, const std::string &options="")
Write a Grid2DObject The filename is specified relative to GRID2DPATH for most plugins.
Definition: IOInterface.cc:146
virtual void read2DGrid(Grid2DObject &grid_out, const std::string ¶meter="")
A generic function for parsing 2D grids into a Grid2DObject. The string parameter shall be used for a...
Definition: IOInterface.cc:76