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;
This class provides information on a channel.
Definition: BdsD.h:494
This class provides metadata information on a set of channels.
Definition: BdsD.h:516
This class provides the actual seismic data values contained within a single data block.
Definition: BdsD.h:659
This stores a data error. It includes and error number and a string as well as information on what se...
Definition: BdsLib.h:35
This defines a list of BDS data converter options.
Definition: BdsDataFile.h:30
Data file convertor for SEED file formats.
Definition: BdsDataFileSeed.h:18
BError close()
Close the file.
Definition: BdsDataFileSeed.cpp:167
static BError omsrErr
MSR processing error.
Definition: BdsDataFileSeed.h:43
BError writeData(const DataBlock &data)
Write a block of data.
Definition: BdsDataFileSeed.cpp:1208
void msrFileWrite(void *data, int len)
Definition: BdsDataFileSeed.cpp:1106
BError end()
End write segment.
Definition: BdsDataFileSeed.cpp:1181
BError getInfo(DataInfo &dataInfo, DataFileOptions options, BList< DataError > &errors)
Get info on data.
Definition: BdsDataFileSeed.cpp:266
BError setFormat(BString format)
Set the sub-format.
Definition: BdsDataFileSeed.cpp:194
BError setInfo(const DataInfo &dataInfo, const ChannelInfos &channelInfos, WriteOptionsList options=WriteOptionSensorData)
Set information on data for write.
Definition: BdsDataFileSeed.cpp:539
BError start(BUInt channel, BUInt segment)
Start writing next segment of data.
Definition: BdsDataFileSeed.cpp:1122
BError readData(BUInt32 channel, BUInt segment, BUInt32 blockNumber, DataBlock &data)
Read a block.
Definition: BdsDataFileSeed.cpp:428
BError getMetaData(ChannelInfos &channelInfos, BUInt32 options, BList< DataError > &errors)
Return all known MetaData in the file.
Definition: BdsDataFileSeed.cpp:515
DataFileSeed()
Definition: BdsDataFileSeed.cpp:133
static DataFormats getFormats()
Definition: BdsDataFileSeed.cpp:42
~DataFileSeed()
Definition: BdsDataFileSeed.cpp:155
int getFeatures()
Get bitmask of supported features.
Definition: BdsDataFileSeed.cpp:186
static int onoLock
Disable libmseed locking.
Definition: BdsDataFileSeed.h:44
DataOrder getDataOrder()
Get the expected order of writing data, by sample or by channel.
Definition: BdsDataFileSeed.cpp:190
This class defines the interface for generic data file access that all of the BDS data converters sha...
Definition: BdsDataFile.h:41
DataOrder
Definition: BdsDataFile.h:43
WriteOptionsList
Definition: BdsDataFile.h:45
@ WriteOptionSensorData
Definition: BdsDataFile.h:45
This class defines information on a set of data.
Definition: BdsD.h:592
This class defines a seismic Response characteristic.
Definition: BdsD.h:274