|
BdsApi
3.0.4
This is the Blacknest BDS API.
|
Go to the documentation of this file.
6 #ifndef BdsDataFileSeed_H
7 #define BdsDataFileSeed_H
10 #include <BdsSeedTypes.h>
12 #include <libmseed-beam/libmseed.h>
13 #include <libmseed-beam/unpackdata.h>
53 BError writeVolumeHeader(
int rl);
55 BError writeBlockData(
char type,
const char* buf,
BUInt numBytes);
79 BUInt oblockNumberRead;
80 BUInt oblockNumberWrite;
81 BUInt oblocketteNumber;
89 BdsSeedType10 otype10;
90 BdsSeedType11 otype11;
91 BdsSeedType30 otype30;
92 BdsSeedType52 otype52;
106 BUInt odataTimeSpanBlock;
BError writeData(const DataBlock &data)
Write a block of data.
Definition: BdsDataFileSeed.cpp:1208
This defines a list of BDS data converter options.
Definition: BdsDataFile.h:30
static BError omsrErr
MSR processing error.
Definition: BdsDataFileSeed.h:43
BError close()
Close the file.
Definition: BdsDataFileSeed.cpp:167
WriteOptionsList
Definition: BdsDataFile.h:45
BError start(BUInt channel, BUInt segment)
Start writing next segment of data.
Definition: BdsDataFileSeed.cpp:1122
static int onoLock
Disable libmseed locking.
Definition: BdsDataFileSeed.h:44
BError setFormat(BString format)
Set the sub-format.
Definition: BdsDataFileSeed.cpp:194
BError readData(BUInt32 channel, BUInt segment, BUInt32 blockNumber, DataBlock &data)
Read a block.
Definition: BdsDataFileSeed.cpp:428
DataOrder getDataOrder()
Get the expected order of writing data, by sample or by channel.
Definition: BdsDataFileSeed.cpp:190
This class provides the actual seismic data values contained within a single data block.
Definition: BdsD.h:659
BError end()
End write segment.
Definition: BdsDataFileSeed.cpp:1181
@ WriteOptionSensorData
Definition: BdsDataFile.h:45
~DataFileSeed()
Definition: BdsDataFileSeed.cpp:155
This class defines a seismic Response characteristic.
Definition: BdsD.h:274
DataOrder
Definition: BdsDataFile.h:43
This stores a data error. It includes and error number and a string as well as information on what se...
Definition: BdsLib.h:35
DataFileSeed()
Definition: BdsDataFileSeed.cpp:133
BError setInfo(const DataInfo &dataInfo, const ChannelInfos &channelInfos, WriteOptionsList options=WriteOptionSensorData)
Set information on data for write.
Definition: BdsDataFileSeed.cpp:539
This class defines information on a set of data.
Definition: BdsD.h:592
This class defines the interface for generic data file access that all of the BDS data converters sha...
Definition: BdsDataFile.h:41
BError getMetaData(ChannelInfos &channelInfos, BUInt32 options, BList< DataError > &errors)
Return all known MetaData in the file.
Definition: BdsDataFileSeed.cpp:515
This class provides information on a channel.
Definition: BdsD.h:494
void msrFileWrite(void *data, int len)
Definition: BdsDataFileSeed.cpp:1106
static DataFormats getFormats()
Definition: BdsDataFileSeed.cpp:42
Data file convertor for SEED file formats.
Definition: BdsDataFileSeed.h:18
int getFeatures()
Get bitmask of supported features.
Definition: BdsDataFileSeed.cpp:186
BError getInfo(DataInfo &dataInfo, DataFileOptions options, BList< DataError > &errors)
Get info on data.
Definition: BdsDataFileSeed.cpp:266
This class provides metadata information on a set of channels.
Definition: BdsD.h:516