|
OpenZGY/C++ API and Internals (ALPHA)
Access seismic data stored in ZGY format.
|
convert between internal and external data types. More...
Static Public Member Functions | |
| static SampleDataType | mapRawDataTypeToSampleDataType (InternalZGY::RawDataType) |
| static UnitDimension | mapRawHorizontalDimensionToUnitDimension (InternalZGY::RawHorizontalDimension) |
| static UnitDimension | mapRawVerticalDimensionToUnitDimension (InternalZGY::RawVerticalDimension) |
| static InternalZGY::RawDataType | mapSampleDataTypeToRawDataType (SampleDataType) |
| static InternalZGY::RawHorizontalDimension | mapUnitDimensionToRawHorizontalDimension (UnitDimension) |
| static InternalZGY::RawVerticalDimension | mapUnitDimensionToRawVerticalDimension (UnitDimension) |
| static InternalZGY::ZgyInternalWriterArgs | mapWriterArgs (const ZgyWriterArgs &) |
| static InternalZGY::LodAlgorithm | mapDecimationTypeToLodAlgorithm (DecimationType value) |
| static std::vector< InternalZGY::LodAlgorithm > | mapDecimationTypeToLodAlgorithm (const std::vector< DecimationType > &values) |
convert between internal and external data types.
|
static |
See mapRawDataTypeToSampleType() for comments.
|
static |
See mapRawDataTypeToSampleType() for comments.
|
static |
Map between enums used in the public API and the internal ones that might change without notice and might be used to define the actual numbers written to file.
As a general rule, if an invalid enum tag is encountered while converting from public to internal then this will throw an exceptiom because it would be a user error. When converting from internal to public the error is probably bad data encountered on the file. The mapping function might just return "unknown", leaving to the caller to decide whether this should be silently ignored.
|
static |
See mapRawDataTypeToSampleType() for comments.
|
static |
See mapRawDataTypeToSampleType() for comments.
The distinction between TWT and OWT, which is stored on the file, is lost. To my knowledge there is no code that recognizes OWD in ZGY files anyway, so it is better to not expose this to the API.
|
static |
See mapRawDataTypeToSampleType() for comments.
|
static |
See mapRawDataTypeToSampleType() for comments.
An explicit "unknown" is allowed, but passing e.g. "time" in this context (which is supposedly horozontal) will raise an exception.
|
static |
See mapRawDataTypeToSampleType() for comments.
An explicit "unknown" is allowed, but passing e.g. "arcangle" in this context (which is supposedly vertical) will raise an exception.
1.8.17