![]() |
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.
|
Public Member Functions | |
| virtual bool | writeMD (Eigen::Ref< Eigen::VectorXd > v, const std::string &units="") override |
Write MD curve. | |
| virtual bool | writeAZIM (Eigen::Ref< Eigen::VectorXd > v, const std::string &units="") override |
Write AZIM curve. | |
| virtual bool | writeINCL (Eigen::Ref< Eigen::VectorXd > v, const std::string &units="") override |
Write INCL curve. | |
| virtual bool | writeTVD (Eigen::Ref< Eigen::VectorXd > v, const std::string &units="") override |
Write TVD curve. | |
| virtual bool | writeDX (Eigen::Ref< Eigen::VectorXd > v, const std::string &units="") override |
Write DX curve. | |
| virtual bool | writeDY (Eigen::Ref< Eigen::VectorXd > v, const std::string &units="") override |
Write DY curve. | |
| virtual bool | writeOWT (Eigen::Ref< Eigen::VectorXd > v, const std::string &units="") override |
Write OWT curve. | |
| virtual bool | setActive () override |
| Set current dev curve as active for the parent H5Well. | |
| virtual bool | isActive () override |
| Check if current dev curve is active for the parent H5Well. | |
| virtual void | updateMdAzimIncl () override |
Calculate MD, AZIM, INCL based on X, Y, TVD | |
| virtual void | updateTvdDxDy () override |
Calculate MD, AZIM, INCL based on X, Y, TVD | |
| virtual size_t | getNCurves () override |
| Get number of curves. | |
| virtual size_t | getNSamp () override |
| Get number of samples. | |
| virtual Eigen::VectorXd | getCurve (const h5geo::DevDataType &name, const std::string &units="", bool doCoordTransform=false) override |
| Get curve. | |
| virtual Eigen::VectorXd | getCurve (const std::string &name, const std::string &units="", bool doCoordTransform=false) override |
| Get curve. | |
| virtual std::string | getRelativeName () override |
| Get current dev curve's name. | |
| virtual H5DevCurveParam | getParam () override |
| Get parameters that were used to create current dev curve. | |
| virtual H5WellContainer * | openWellContainer () override |
| Open H5WellContainer where current dev curve resides. | |
| virtual H5Well * | openWell () override |
| Open parent H5Well. | |
| virtual std::optional< h5gt::DataSet > | getDevCurveD () override |
| Get current dev curve's DataSet. | |
Public Member Functions inherited from H5BaseObjectImpl< H5DevCurve > | |
| virtual H5BasePoints * | openPoints (const std::string &name) override |
| Open H5BasePoints derived points. | |
| virtual H5BasePoints * | openPoints (h5gt::Group group) override |
| Open H5BasePoints derived points. | |
| virtual H5Horizon * | openHorizon (const std::string &name) override |
| virtual H5Horizon * | openHorizon (h5gt::Group group) override |
| virtual H5Points1 * | createPoints1 (std::string &name, H5PointsParam &p, h5geo::CreationType createFlag) override |
| virtual H5Points1 * | createPoints1 (h5gt::Group group, H5PointsParam &p, h5geo::CreationType createFlag) override |
| virtual H5Points2 * | createPoints2 (std::string &name, H5PointsParam &p, h5geo::CreationType createFlag) override |
| virtual H5Points2 * | createPoints2 (h5gt::Group group, H5PointsParam &p, h5geo::CreationType createFlag) override |
| virtual H5Points3 * | createPoints3 (std::string &name, H5PointsParam &p, h5geo::CreationType createFlag) override |
| virtual H5Points3 * | createPoints3 (h5gt::Group group, H5PointsParam &p, h5geo::CreationType createFlag) override |
| virtual H5Points4 * | createPoints4 (std::string &name, H5PointsParam &p, h5geo::CreationType createFlag) override |
| virtual H5Points4 * | createPoints4 (h5gt::Group group, H5PointsParam &p, h5geo::CreationType createFlag) override |
| virtual H5Horizon * | createHorizon (std::string &name, H5HorizonParam &p, h5geo::CreationType createFlag) override |
| virtual H5Horizon * | createHorizon (h5gt::Group group, H5HorizonParam &p, h5geo::CreationType createFlag) override |
| virtual H5Base * | clone () override |
| H5Base * | clone () |
| H5Base * | clone () |
| H5Base * | clone () |
| H5Base * | clone () |
| H5Base * | clone () |
| H5Base * | clone () |
| H5Base * | clone () |
| H5Base * | clone () |
| H5Base * | clone () |
| H5Base * | clone () |
| H5Base * | clone () |
| H5Base * | clone () |
| H5Base * | clone () |
| H5Base * | clone () |
| virtual bool | setSpatialReference (const std::string &str) override |
Set spatial reference for current geo-object using authName:code form. | |
| virtual bool | setSpatialReference (const std::string &authName, const std::string &code) override |
| Set spatial reference for current geo-object. | |
| virtual bool | setLengthUnits (const std::string &str) override |
| Set length units for the current geo-object. | |
| virtual bool | setTemporalUnits (const std::string &str) override |
| Set temporal units for the current geo-object. | |
| virtual bool | setAngularUnits (const std::string &str) override |
| Set angular units for the current geo-object. | |
| virtual bool | setDataUnits (const std::string &str) override |
| Set data units for the current geo-object. | |
| virtual bool | setNullValue (double val) override |
| Set NULL value for the current geo-object. | |
| virtual std::string | getSpatialReference () override |
| Get spatial reference for current geo-object. | |
| virtual std::string | getLengthUnits () override |
| Get length units for the current geo-object. | |
| virtual std::string | getTemporalUnits () override |
| Get temporal units for the current geo-object. | |
| virtual std::string | getAngularUnits () override |
| Get angular units for the current geo-object. | |
| virtual std::string | getDataUnits () override |
| Get data units for the current geo-object. | |
| virtual double | getNullValue () override |
| Get NULL value for the current geo-object. | |
| virtual h5gt::File | getH5File () const override |
| Get HDF5 file. | |
| virtual h5gt::Group | getObjG () const override |
| Get HDF5 Group. | |
| virtual std::string | getName () const override |
| Get geo-object's name without path. | |
| virtual std::string | getFullName () const override |
| Get geo-object's name with full path to that object. | |
| virtual std::vector< h5gt::Group > | getObjGroupList (const h5geo::ObjectType &objType, bool recursive) override |
| 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) override |
| 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) override |
| Get number of geo-objects of specified type within current geo-object. | |
| virtual bool | isEqual (H5BaseObject *other) const override |
| Check if geo-objects are the same. | |
| virtual bool | operator== (const H5BaseObject &other) const override |
| Check if geo-objects are the same (compares HDF5 Groups) | |
| virtual bool | operator!= (const H5BaseObject &other) const override |
| Check if geo-objects are not the same (compares HDF5 Groups) | |
Public Member Functions inherited from H5BaseImpl< H5DevCurve > | |
| virtual void | Delete () override |
Protected Member Functions | |
| H5DevCurveImpl (const h5gt::Group &group) | |
| bool | writeCurve (const h5geo::DevDataType &name, Eigen::Ref< Eigen::VectorXd > v, const std::string &units="") |
| bool | writeCurve (const std::string &name, Eigen::Ref< Eigen::VectorXd > v, const std::string &units="") |
Protected Member Functions inherited from H5BaseObjectImpl< H5DevCurve > | |
| H5BaseObjectImpl (const h5gt::Group &group) | |
| std::optional< h5gt::Group > | getParentG (const h5geo::ObjectType &objType) |
getParent Search for parent of type ObjectType for the objG | |
| virtual std::optional< h5gt::Group > | getGroupOpt (h5gt::Group &parent, const std::string &groupName) const |
| virtual std::optional< h5gt::DataSet > | getDatasetOpt (const h5gt::Group &parent, const std::string &datasetName) const |
Protected Member Functions inherited from H5BaseImpl< H5DevCurve > | |
| virtual std::vector< h5gt::Group > | getChildGroupList (h5gt::Group &group, const h5geo::ObjectType &objType, bool recursive=false) |
| virtual std::vector< std::string > | getChildNameList (h5gt::Group &group, const h5geo::ObjectType &objType, const std::string &referencePath, bool recursive=false) |
| referencePath to get relative path from it (set to empty to get full path) | |
| virtual size_t | getChildCount (h5gt::Group &group, const h5geo::ObjectType &objType, bool recursive=false) |
| std::optional< h5gt::Group > | createObject (std::string &objName, h5gt::File parentFile, const h5geo::ObjectType &objType, void *p, h5geo::CreationType createFlag) |
createObject Creates new object. If CREATE_UNDER_NEW_NAME then objName will be chaged to be unique in its parent file. | |
| std::optional< h5gt::Group > | createObject (std::string &objName, h5gt::Group parentGroup, const h5geo::ObjectType &objType, void *p, h5geo::CreationType createFlag) |
createObject Creates new object. If CREATE_UNDER_NEW_NAME then objName will be chaged to be unique in its parent group. | |
| std::optional< h5gt::Group > | createObject (h5gt::Group objG, const h5geo::ObjectType &objType, void *p, h5geo::CreationType createFlag) |
| bool | isSuccessor (const h5gt::Group &parentG, const h5gt::Group &childG) |
isSuccessor checks whether childG is successor of parentG | |
| bool | isSuccessor (const std::string &parent, const std::string &child) |
| isSuccessor works only with absolute path! | |
Friends | |
| class | H5WellImpl |
| class | H5BaseObjectImpl< H5DevCurve > |
| H5DevCurve * | h5geo::openDevCurve (h5gt::Group group) |
Additional Inherited Members | |
Static Protected Member Functions inherited from H5BaseImpl< H5DevCurve > | |
| static std::optional< h5gt::File > | createContainer (std::string &fileName, const h5geo::ContainerType &containerType, h5geo::CreationType createFlag) |
| static std::optional< h5gt::File > | createContainer (h5gt::File h5File, const h5geo::ContainerType &containerType, h5geo::CreationType createFlag) |
Protected Attributes inherited from H5BaseObjectImpl< H5DevCurve > | |
| h5gt::Group | objG |
|
overridevirtual |
Get curve.
Implements H5DevCurve.
|
overridevirtual |
Get curve.
Implements H5DevCurve.
|
overridevirtual |
Get current dev curve's DataSet.
Implements H5DevCurve.
|
overridevirtual |
Get number of curves.
Implements H5DevCurve.
|
overridevirtual |
Get number of samples.
Implements H5DevCurve.
|
overridevirtual |
Get parameters that were used to create current dev curve.
Implements H5DevCurve.
|
overridevirtual |
Get current dev curve's name.
Returned curve name is relative to DEV Group within H5Well. It is possible to use this name when H5Well::openDevCurve for example.
Implements H5DevCurve.
|
overridevirtual |
Check if current dev curve is active for the parent H5Well.
Implements H5DevCurve.
|
overridevirtual |
Open parent H5Well.
Implements H5DevCurve.
|
overridevirtual |
Open H5WellContainer where current dev curve resides.
Implements H5DevCurve.
|
overridevirtual |
Set current dev curve as active for the parent H5Well.
Implements H5DevCurve.
|
overridevirtual |
Calculate MD, AZIM, INCL based on X, Y, TVD
TVD, DX, DY must be filled.
Call it everytime TVD, DX or DY were changed
Implements H5DevCurve.
|
overridevirtual |
Calculate MD, AZIM, INCL based on X, Y, TVD
MD, AZIM, INCL must be filled.
Call it everytime MD, AZIM or INCL were changed
Implements H5DevCurve.
|
overridevirtual |
Write AZIM curve.
Implements H5DevCurve.
|
overridevirtual |
Write DX curve.
Implements H5DevCurve.
|
overridevirtual |
Write DY curve.
Implements H5DevCurve.
|
overridevirtual |
Write INCL curve.
Implements H5DevCurve.
|
overridevirtual |
Write MD curve.
Implements H5DevCurve.
|
overridevirtual |
Write OWT curve.
Implements H5DevCurve.
|
overridevirtual |
Write TVD curve.
Implements H5DevCurve.