|
virtual bool | readSEGYTextHeader (const std::string &segy, h5geo::TextEncoding encoding=static_cast< h5geo::TextEncoding >(0)) override |
| Read text header from SEGY file.
|
|
virtual bool | readSEGYBinHeader (const std::string &segy, h5geo::Endian endian=static_cast< h5geo::Endian >(0)) override |
| Read binary header from SEGY file.
|
|
virtual bool | readSEGYTraces (const std::vector< std::string > &segyFiles, std::vector< h5geo::SegyFormat > formats=std::vector< h5geo::SegyFormat >(), std::vector< h5geo::Endian > endians=std::vector< h5geo::Endian >(), std::vector< std::vector< std::string > > trcHdrNamesArr=std::vector< std::vector< std::string > >(), size_t trcBuffer=10000, std::function< void(double)> progressCallback=nullptr) override |
| Read trace headers and trace data from SEGY file.
|
|
virtual bool | readSEGYTracesMMap (const std::vector< std::string > &segyFiles, std::vector< h5geo::SegyFormat > formats=std::vector< h5geo::SegyFormat >(), std::vector< h5geo::Endian > endians=std::vector< h5geo::Endian >(), std::vector< std::vector< std::string > > trcHdrNamesArr=std::vector< std::vector< std::string > >(), size_t trcBuffer=10000, int nThreads=-1, std::function< void(double)> progressCallback=nullptr) override |
| Read trace headers and trace data from SEGY file using Memory Mapping.
|
|
virtual bool | writeTextHeader (const char(&txtHdr)[40][80]) override |
| Write text header.
|
|
virtual bool | writeTextHeader (const std::vector< std::string > &txtHdr) override |
| Write text header.
|
|
virtual bool | writeBinHeader (const double(&binHdr)[30]) override |
| Write binary header.
|
|
virtual bool | writeBinHeader (const std::vector< double > &binHdrVec) override |
| Write text header.
|
|
virtual bool | writeBinHeader (const Eigen::Ref< const Eigen::VectorXd > &binHdrVec) override |
| Write text header.
|
|
virtual bool | writeBinHeader (const std::string &hdrName, const double &value, const std::string &unitsFrom="", const std::string &unitsTo="") override |
| Write text header.
|
|
virtual bool | writeTrace (Eigen::Ref< Eigen::MatrixXf > TRACE, const size_t &fromTrc=0, const size_t &fromSampInd=0, const std::string &dataUnits="") override |
| Write block of traces starting from trace fromTrc and from sample fromSampInd
|
|
virtual bool | writeTrace (Eigen::Ref< Eigen::MatrixXf > TRACE, const Eigen::Ref< const Eigen::VectorX< size_t > > &trcInd, const size_t &fromSampInd=0, const std::string &dataUnits="") override |
| Write traces using indexes.
|
|
virtual bool | writeTraceHeader (const Eigen::Ref< const Eigen::MatrixXd > &HDR, const size_t &fromTrc=0, const size_t &fromHdrInd=0) override |
| Write block of trace headers starting from trace fromTrc and from header index fromHdrInd
|
|
virtual bool | writeTraceHeader (const std::string &hdrName, Eigen::Ref< Eigen::MatrixXd > hdr, const size_t &fromTrc=0, const std::string &unitsFrom="", const std::string &unitsTo="") override |
| Write trace header by name.
|
|
virtual bool | writeTraceHeader (const std::string &hdrName, Eigen::Ref< Eigen::MatrixXd > hdr, const Eigen::Ref< const Eigen::VectorX< size_t > > &trcInd, const std::string &unitsFrom="", const std::string &unitsTo="") override |
| Write trace header by name and trace indexes.
|
|
virtual bool | writeXYTraceHeaders (const std::vector< std::string > &xyHdrNames, Eigen::Ref< Eigen::MatrixX2d > &xy, const size_t &fromTrc=0, const std::string &lengthUnits="", bool doCoordTransform=false) override |
| Write XY trace headers (two columns in Eigen column-major matrix)
|
|
virtual bool | writeXYTraceHeaders (const std::vector< std::string > &xyHdrNames, Eigen::Ref< Eigen::MatrixX2d > &xy, const Eigen::Ref< const Eigen::VectorX< size_t > > &trcInd, const std::string &lengthUnits="", bool doCoordTransform=false) override |
| Write XY trace headers (two columns in Eigen column-major matrix)
|
|
virtual bool | setNTrc (size_t nTrc) override |
| Resize trace and trace header DataSets.
|
|
virtual bool | setNSamp (size_t nSamp) override |
| Resize trace DataSet.
|
|
virtual std::vector< std::string > | getTextHeader () override |
| Get text header.
|
|
virtual std::map< std::string, double > | getBinHeader () override |
| Get binary header.
|
|
virtual double | getBinHeader (const std::string &hdrName, const std::string &unitsFrom="", const std::string &unitsTo="") override |
| Get text header by name.
|
|
virtual Eigen::MatrixXf | getTrace (const size_t &fromTrc, size_t nTrc=1, const size_t &fromSampInd=0, size_t nSamp=std::numeric_limits< size_t >::max(), const std::string &dataUnits="") override |
| Get block of traces.
|
|
virtual Eigen::MatrixXf | getTrace (const Eigen::Ref< const Eigen::VectorX< size_t > > &trcInd, const size_t &fromSampInd=0, size_t nSamp=std::numeric_limits< size_t >::max(), const std::string &dataUnits="") override |
| Get traces by indexes.
|
|
virtual Eigen::MatrixXd | getTraceHeader (const size_t &fromTrc, size_t nTrc=1, const size_t &fromHdr=0, size_t nHdr=std::numeric_limits< size_t >::max(), const std::vector< std::string > &unitsFrom=std::vector< std::string >(), const std::vector< std::string > &unitsTo=std::vector< std::string >()) override |
| Get block of trace headers.
|
|
virtual Eigen::VectorXd | getTraceHeader (const std::string &hdrName, const size_t &fromTrc=0, size_t nTrc=1, const std::string &unitsFrom="", const std::string &unitsTo="") override |
| Get block of trace header by name.
|
|
virtual Eigen::MatrixXd | getTraceHeader (const std::vector< size_t > &trcInd, const std::vector< size_t > &trcHdrInd, const std::vector< std::string > &unitsFrom=std::vector< std::string >(), const std::vector< std::string > &unitsTo=std::vector< std::string >()) override |
| Get trace headers by indexes.
|
|
virtual Eigen::MatrixXd | getTraceHeader (const Eigen::Ref< const Eigen::VectorX< size_t > > &trcInd, const Eigen::Ref< const Eigen::VectorX< size_t > > &trcHdrInd, const std::vector< std::string > &unitsFrom=std::vector< std::string >(), const std::vector< std::string > &unitsTo=std::vector< std::string >()) override |
| Get trace headers by indexes.
|
|
virtual Eigen::MatrixXd | getTraceHeader (const std::vector< std::string > &hdrNames, const std::vector< size_t > &trcInd, const std::vector< std::string > &unitsFrom=std::vector< std::string >(), const std::vector< std::string > &unitsTo=std::vector< std::string >()) override |
| Get trace header by indexes and name.
|
|
virtual Eigen::MatrixXd | getTraceHeader (const std::vector< std::string > &hdrNames, const Eigen::Ref< const Eigen::VectorX< size_t > > &trcInd, const std::vector< std::string > &unitsFrom=std::vector< std::string >(), const std::vector< std::string > &unitsTo=std::vector< std::string >()) override |
| Get trace headers by indexes and names.
|
|
virtual Eigen::MatrixXd | getXYTraceHeaders (const std::vector< std::string > &xyHdrNames, const size_t &fromTrc=0, size_t nTrc=std::numeric_limits< size_t >::max(), const std::string &lengthUnits="", bool doCoordTransform=false) override |
| Get XY trace headers (two columns in Eigen column-major matrix)
|
|
virtual Eigen::MatrixXd | getXYTraceHeaders (const std::vector< std::string > &xyHdrNames, const Eigen::Ref< const Eigen::VectorX< size_t > > &trcInd, const std::string &lengthUnits="", bool doCoordTransform=false) override |
| Get XY trace headers (two columns in Eigen column-major matrix)
|
|
virtual Eigen::VectorX< size_t > | getSortedData (Eigen::MatrixXf &TRACE, Eigen::MatrixXd &HDR, const std::vector< std::string > &keyList, const std::vector< double > &minList, const std::vector< double > &maxList, size_t pStep=1, size_t fromSampInd=0, size_t nSamp=std::numeric_limits< size_t >::max(), const std::string &dataUnits="", const std::string &lengthUnits="", bool doCoordTransform=false) override |
| Get sorted data based on precalculated primary sort keys.
|
|
virtual ptrdiff_t | getBinHeaderIndex (const std::string &hdrName) override |
| Get index (position within 1D dataset) for a given binary header.
|
|
virtual ptrdiff_t | getTraceHeaderIndex (const std::string &hdrName) override |
| Get index (row/col within 2D dataset) for a given trace header.
|
|
virtual Eigen::VectorXd | getSamples (const size_t &trcInd, const std::string &units="") override |
| Get vector of equally spaced samples in specified units.
|
|
virtual double | getFirstSample (const size_t &trcInd, const std::string &units="") override |
| Get first sample.
|
|
virtual double | getLastSample (const size_t &trcInd, const std::string &units="") override |
| Get last sample.
|
|
virtual double | getSampRate (const std::string &units="") override |
| Get sampling rate.
|
|
virtual size_t | getNSamp () override |
| Get number of samples.
|
|
virtual size_t | getNTrc () override |
| Get number of traces.
|
|
virtual size_t | getNTrcHdr () override |
|
virtual size_t | getNBinHdr () override |
| Get number of binary headers.
|
|
virtual size_t | getNTextHdrRows () override |
| Get number of text header rows.
|
|
virtual Eigen::VectorX< size_t > | getPKeyIndexes (const std::string &pKey, double pMin, double pMax, size_t pStep=1) override |
| Get trace indexes for given PKey
|
|
virtual Eigen::VectorXd | getPKeyValues (const std::string &pKey, const std::string &unitsFrom="", const std::string &unitsTo="") override |
| Get PKey unique values.
|
|
virtual size_t | getPKeySize (const std::string &pKey) override |
| Get number of unique values for a given PKey
|
|
virtual size_t | getPKeySize (const std::string &pKey, double pMin, double pMax, size_t pStep=1) override |
| Get number of unique values for a given PKey
|
|
virtual size_t | getPKeyTraceSize (const std::string &pKey, double pMin, double pMax, size_t pStep=1) override |
| Get number of traces to be selected for a given PKey
|
|
virtual std::vector< std::string > | getPKeyNames () override |
| Get names of prepared PKeys (names of prepared sortings PKeys )
|
|
virtual std::map< std::string, double > | getTraceHeaderMin () override |
| Get trace header minimal values.
|
|
virtual std::map< std::string, double > | getTraceHeaderMax () override |
| Get trace header maximal values.
|
|
virtual double | getTraceHeaderMin (const std::string &hdrName, const std::string &unitsFrom="", const std::string &unitsTo="") override |
| Get trace header minimal value for a given trace header.
|
|
virtual double | getTraceHeaderMax (const std::string &hdrName, const std::string &unitsFrom="", const std::string &unitsTo="") override |
| Get trace header maximal value for a given trace header.
|
|
virtual H5SeisParam | getParam () override |
| Get parameters that were used to create current seis.
|
|
virtual bool | checkTraceLimits (const size_t &fromTrc, size_t &nTrc) override |
| Check fromTrc , nTrc (passed by reference) and diminish nTrc to fit in data limits (if fromTrc is inside limit)
|
|
virtual bool | checkTraceHeaderLimits (const size_t &fromHdr, size_t &nHdr) override |
| Check fromHdr and nHdr (passed by reference) and diminish nHdr to fit in data limits (if fromTrc is inside limit)
|
|
virtual bool | checkSampleLimits (const size_t &fromSampInd, size_t &nSamp) override |
| Check fromSampInd and nSamp (passed by reference) and diminish nSamp to fit in data limits (if fromSampInd is inside limit)
|
|
virtual bool | generatePRESTKGeometry (double src_x0, double src_dx, size_t src_nx, double src_y0, double src_dy, size_t src_ny, double src_z, double rec_x0, double rec_dx, size_t rec_nx, double rec_y0, double rec_dy, size_t rec_ny, double rec_z, double orientation, bool moveRec, const std::string &lengthUnits="", bool doCoordTransform=false) override |
|
virtual bool | generateSTKGeometry (double x0, double dx, size_t nx, double y0, double dy, size_t ny, double z, double orientation, const std::string &lengthUnits="", bool doCoordTransform=false) override |
|
virtual bool | setDomain (const h5geo::Domain &val) override |
| Set domain for the seismic (TVD , TVDSS , TWT , OWT )
|
|
virtual bool | setDataType (const h5geo::SeisDataType &val) override |
| Set datatype for the seismic (STACK or PRESTACK )
|
|
virtual bool | setSurveyType (const h5geo::SurveyType &val) override |
| Set survey type for the seismic (TWO_D or THREE_D )
|
|
virtual bool | setSRD (double val, const std::string &lengthUnits="") override |
| Set Seismic Reference Datum.
|
|
virtual bool | setSampRate (double val, const std::string &units="") override |
| Set sampling rate.
|
|
virtual bool | setFirstSample (double val, const std::string &units="") override |
| Set first sample.
|
|
virtual h5geo::Domain | getDomain () override |
| Get domain (TVD , TVDSS , TWT , OWT )
|
|
virtual h5geo::SeisDataType | getDataType () override |
| Get datatype for the seismic (STACK or PRESTACK )
|
|
virtual h5geo::SurveyType | getSurveyType () override |
| Set survey type for the seismic (TWO_D or THREE_D )
|
|
virtual double | getSRD (const std::string &lengthUnits="") override |
| Get Seismic Reference Datum.
|
|
virtual bool | hasPKeySort (const std::string &pKeyName) override |
| Check if PKey sort is prepared.
|
|
virtual bool | removePKeySort (const std::string &pKeyName) override |
| Remove PKey sorting.
|
|
virtual bool | addPKeySort (const std::string &pKeyName) override |
| Prepare sorting.
|
|
virtual bool | updateTraceHeaderSampRate () override |
| Set trace header samp rate from binary header.
|
|
virtual bool | updateTraceHeaderNSamp () override |
| Set trace header number of samples from binary header.
|
|
virtual H5SeisContainer * | openSeisContainer () override |
| Open H5SeisContainer where current seismic resides.
|
|
virtual std::optional< h5gt::DataSet > | getTextHeaderD () override |
| Get text header DataSet.
|
|
virtual std::optional< h5gt::DataSet > | getBinHeaderD () override |
| Get binary header DataSet.
|
|
virtual std::optional< h5gt::DataSet > | getTraceHeaderD () override |
| Get trace header DataSet.
|
|
virtual std::optional< h5gt::DataSet > | getTraceD () override |
| Get trace DataSet.
|
|
virtual std::optional< h5gt::Group > | getSortG () override |
| Get sorting Group.
|
|
virtual std::optional< h5gt::Group > | getUValG () override |
| Get sorting unique values Group.
|
|
virtual std::optional< h5gt::Group > | getIndexesG () override |
| Get sorting indexes Group.
|
|
virtual std::optional< h5gt::Group > | getSEGYG () override |
| Get SEGY Group (for mapped H5Seis only)
|
|
virtual std::optional< h5gt::DataSet > | getSEGYTextHeaderD () override |
| Get SEGY text header DataSet (for mapped H5Seis only)
|
|
virtual std::optional< h5gt::DataSet > | getSEGYBinHeader2BytesD () override |
| Get SEGY 2-bytes binary header DataSet (for mapped H5Seis only)
|
|
virtual std::optional< h5gt::DataSet > | getSEGYBinHeader4BytesD () override |
| Get SEGY 4-bytes binary header DataSet (for mapped H5Seis only)
|
|
virtual std::optional< h5gt::DataSet > | getSEGYTraceHeader2BytesD () override |
| Get SEGY 2-bytes trace header DataSet (for mapped H5Seis only)
|
|
virtual std::optional< h5gt::DataSet > | getSEGYTraceHeader4BytesD () override |
| Get SEGY 4-bytes trace header DataSet (for mapped H5Seis only)
|
|
virtual std::optional< h5gt::DataSet > | getSEGYTraceFloatD () override |
| Get SEGY float trace DataSet (for mapped H5Seis only)
|
|
virtual bool | updateTraceHeaderLimits (size_t nTrcBuffer=1e7) override |
| Calculate and write min/max trace headers.
|
|
virtual bool | updatePKeySort (const std::string &pKeyName) override |
| Update sorting for prepared PKey
|
|
virtual Eigen::MatrixXd | calcBoundary (const std::string &lengthUnits="", bool doCoordTransform=false) override |
| Calculate XY boundary around the survey.
|
|
virtual bool | exportToVol (H5Vol *vol, const std::string &xHeader="CDP_X", const std::string &yHeader="CDP_Y", const std::string &ilHeader="INLINE", const std::string &xlHeader="XLINE", double ilMin=std::numeric_limits< double >::min(), double ilMax=std::numeric_limits< double >::max(), double xlMin=std::numeric_limits< double >::min(), double xlMax=std::numeric_limits< double >::max(), size_t fromSampInd=0, size_t nSamp=std::numeric_limits< size_t >::max(), std::function< void(double)> progressCallback=nullptr) override |
| Export seismic to H5Vol .
|
|
virtual bool | exportToSEGY (const std::string &segyFile, size_t trcBuffer=10000, h5geo::Endian endian=h5geo::Endian::Big, std::function< void(double)> progressCallback=nullptr) override |
|
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)
|
|
virtual void | Delete () override |
|