h5geo 0.4.0
C++17 and python API to work with geo-data (seismic, wells, maps, other in process) based on HDF5. Aimed at geoscientists and developers.
Loading...
Searching...
No Matches
h5welltops.h
1#ifndef H5WELLTOPS_H
2#define H5WELLTOPS_H
3
4#include "h5points1.h"
5
11class H5WellTops : public H5Points1
12{
13protected:
14 virtual ~H5WellTops() = default;
15
16public:
18 virtual bool writeData(
19 const std::map<std::string, double>& data,
20 const std::string& lengthUnits = "",
21 const std::string& temporalUnits = "") = 0;
22
24 virtual std::map<std::string, double> getDataAsMap(
25 const std::string& lengthUnits = "",
26 const std::string& temporalUnits = "") = 0;
27
29 virtual H5Well* openWell() = 0;
30};
31
32using H5WellTops_ptr = std::unique_ptr<H5WellTops, h5geo::ObjectDeleter>;
33
34#endif // H5WELLTOPS_H
Provides API to work with 1D points.
Definition h5points1.h:12
Provides API to work with wells.
Definition h5well.h:22
Provides API to work with welltops.
Definition h5welltops.h:12
virtual std::map< std::string, double > getDataAsMap(const std::string &lengthUnits="", const std::string &temporalUnits="")=0
Get data as std::map<name, value>
virtual H5Well * openWell()=0
Open parent H5Well.
virtual bool writeData(const std::map< std::string, double > &data, const std::string &lengthUnits="", const std::string &temporalUnits="")=0
Write data to DataSet.