6 #ifndef BdsDataFileSeed_H
7 #define BdsDataFileSeed_H
10 #include <BdsSeedTypes.h>
12 #include <libmseed-beam/libmseed.h>
13 #include <libmseed-beam/unpackdata.h>
54 BError writeVolumeHeader(
int rl);
56 BError writeBlockData(
char type,
const char* buf,
BUInt numBytes);
80 BUInt oblockNumberRead;
81 BUInt oblockNumberWrite;
82 BUInt oblocketteNumber;
90 BdsSeedType10 otype10;
91 BdsSeedType11 otype11;
92 BdsSeedType30 otype30;
93 BdsSeedType52 otype52;
107 BUInt odataTimeSpanBlock;
This class provides information on a channel.
Definition: BdsD.h:525
This class provides metadata information on a set of channels.
Definition: BdsD.h:547
This class provides the actual seismic data values contained within a single data block.
Definition: BdsD.h:690
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:44
BError writeData(const DataBlock &data)
Write a block of data.
Definition: BdsDataFileSeed.cpp:1264
void msrFileWrite(void *data, int len)
Definition: BdsDataFileSeed.cpp:1162
BError end()
End write segment.
Definition: BdsDataFileSeed.cpp:1237
BError getInfo(DataInfo &dataInfo, DataFileOptions options, BList< DataError > &errors)
Get info on data.
Definition: BdsDataFileSeed.cpp:278
BError setFormat(BString format)
Set the sub-format.
Definition: BdsDataFileSeed.cpp:206
BError setInfo(const DataInfo &dataInfo, const ChannelInfos &channelInfos, WriteOptionsList options=WriteOptionSensorData)
Set information on data for write.
Definition: BdsDataFileSeed.cpp:551
BError start(BUInt channel, BUInt segment)
Start writing next segment of data.
Definition: BdsDataFileSeed.cpp:1178
BError readData(BUInt32 channel, BUInt segment, BUInt32 blockNumber, DataBlock &data)
Read a block.
Definition: BdsDataFileSeed.cpp:440
BError getMetaData(ChannelInfos &channelInfos, BUInt32 options, BList< DataError > &errors)
Return all known MetaData in the file.
Definition: BdsDataFileSeed.cpp:527
DataFileSeed()
Definition: BdsDataFileSeed.cpp:133
static DataFormats getFormats()
Definition: BdsDataFileSeed.cpp:42
BString getFixesInfo()
Get readable list of fixes that can be applied to faulty data files.
Definition: BdsDataFileSeed.cpp:194
~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:45
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:623
This class defines a seismic Response characteristic.
Definition: BdsD.h:304