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.
|
Base class for geo-objects. More...
#include <h5baseobject.h>
Public Member Functions | |
virtual H5BasePoints * | openPoints (const std::string &name)=0 |
Open H5BasePoints derived points. | |
virtual H5BasePoints * | openPoints (h5gt::Group group)=0 |
Open H5BasePoints derived points. | |
virtual H5Horizon * | openHorizon (const std::string &name)=0 |
virtual H5Horizon * | openHorizon (h5gt::Group group)=0 |
virtual H5Points1 * | createPoints1 (std::string &name, H5PointsParam &p, h5geo::CreationType createFlag)=0 |
virtual H5Points1 * | createPoints1 (h5gt::Group group, H5PointsParam &p, h5geo::CreationType createFlag)=0 |
virtual H5Points2 * | createPoints2 (std::string &name, H5PointsParam &p, h5geo::CreationType createFlag)=0 |
virtual H5Points2 * | createPoints2 (h5gt::Group group, H5PointsParam &p, h5geo::CreationType createFlag)=0 |
virtual H5Points3 * | createPoints3 (std::string &name, H5PointsParam &p, h5geo::CreationType createFlag)=0 |
virtual H5Points3 * | createPoints3 (h5gt::Group group, H5PointsParam &p, h5geo::CreationType createFlag)=0 |
virtual H5Points4 * | createPoints4 (std::string &name, H5PointsParam &p, h5geo::CreationType createFlag)=0 |
virtual H5Points4 * | createPoints4 (h5gt::Group group, H5PointsParam &p, h5geo::CreationType createFlag)=0 |
virtual H5Horizon * | createHorizon (std::string &name, H5HorizonParam &p, h5geo::CreationType createFlag)=0 |
virtual H5Horizon * | createHorizon (h5gt::Group group, H5HorizonParam &p, h5geo::CreationType createFlag)=0 |
virtual bool | setSpatialReference (const std::string &str)=0 |
Set spatial reference for current geo-object using authName:code form. | |
virtual bool | setSpatialReference (const std::string &authName, const std::string &code)=0 |
Set spatial reference for current geo-object. | |
virtual bool | setLengthUnits (const std::string &str)=0 |
Set length units for the current geo-object. | |
virtual bool | setTemporalUnits (const std::string &str)=0 |
Set temporal units for the current geo-object. | |
virtual bool | setAngularUnits (const std::string &str)=0 |
Set angular units for the current geo-object. | |
virtual bool | setDataUnits (const std::string &str)=0 |
Set data units for the current geo-object. | |
virtual bool | setNullValue (double val)=0 |
Set NULL value for the current geo-object. | |
virtual std::string | getSpatialReference ()=0 |
Get spatial reference for current geo-object. | |
virtual std::string | getLengthUnits ()=0 |
Get length units for the current geo-object. | |
virtual std::string | getTemporalUnits ()=0 |
Get temporal units for the current geo-object. | |
virtual std::string | getAngularUnits ()=0 |
Get angular units for the current geo-object. | |
virtual std::string | getDataUnits ()=0 |
Get data units for the current geo-object. | |
virtual double | getNullValue ()=0 |
Get NULL value for the current geo-object. | |
virtual h5gt::File | getH5File () const =0 |
Get HDF5 file. | |
virtual h5gt::Group | getObjG () const =0 |
Get HDF5 Group. | |
virtual std::string | getName () const =0 |
Get geo-object's name without path. | |
virtual std::string | getFullName () const =0 |
Get geo-object's name with full path to that object. | |
virtual std::vector< h5gt::Group > | getObjGroupList (const h5geo::ObjectType &objType, bool recursive)=0 |
Find all geo-objects of specified type within current geo-object and return them as vector of Groups. | |
virtual std::vector< std::string > | getObjNameList (const h5geo::ObjectType &objType, bool recursive)=0 |
Find all geo-objects of specified type within current geo-object and return them as vector of names. | |
virtual size_t | getObjCount (const h5geo::ObjectType &objType, bool recursive)=0 |
Get number of geo-objects of specified type within current geo-object. | |
virtual bool | isEqual (H5BaseObject *other) const =0 |
Check if geo-objects are the same. | |
virtual bool | operator== (const H5BaseObject &other) const =0 |
Check if geo-objects are the same (compares HDF5 Groups) | |
virtual bool | operator!= (const H5BaseObject &other) const =0 |
Check if geo-objects are not the same (compares HDF5 Groups) | |
Public Member Functions inherited from H5Base | |
virtual H5Base * | clone ()=0 |
virtual void | Delete ()=0 |
Base class for geo-objects.
|
pure virtual |
Get angular units for the current geo-object.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Get data units for the current geo-object.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Get geo-object's name with full path to that object.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Get HDF5 file.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Get length units for the current geo-object.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Get geo-object's name without path.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Get NULL value for the current geo-object.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Get number of geo-objects of specified type within current geo-object.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Get HDF5 Group.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Find all geo-objects of specified type within current geo-object and return them as vector of Groups.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Find all geo-objects of specified type within current geo-object and return them as vector of names.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Get spatial reference for current geo-object.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Get temporal units for the current geo-object.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Check if geo-objects are the same.
Same as operator ==
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Open H5BasePoints derived points.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Open H5BasePoints derived points.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Check if geo-objects are not the same (compares HDF5 Groups)
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Check if geo-objects are the same (compares HDF5 Groups)
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Set angular units for the current geo-object.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Set data units for the current geo-object.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Set length units for the current geo-object.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Set NULL value for the current geo-object.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Set spatial reference for current geo-object.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Set spatial reference for current geo-object using authName:code
form.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.
|
pure virtual |
Set temporal units for the current geo-object.
Implemented in H5BaseObjectImpl< TBase >, H5BaseObjectImpl< H5BasePoints >, H5BaseObjectImpl< H5DevCurve >, H5BaseObjectImpl< H5Horizon >, H5BaseObjectImpl< H5LogCurve >, H5BaseObjectImpl< H5Map >, H5BaseObjectImpl< H5Points1 >, H5BaseObjectImpl< H5Points2 >, H5BaseObjectImpl< H5Points3 >, H5BaseObjectImpl< H5Points4 >, H5BaseObjectImpl< H5Seis >, H5BaseObjectImpl< H5Vol >, H5BaseObjectImpl< H5Well >, and H5BaseObjectImpl< H5WellTops >.