6#ifndef BdsDataFileSeed_H
7#define BdsDataFileSeed_H
10#include <BdsSeedTypes.h>
50 NameDesc(
BString name =
"",
BString desc =
"") : name(name), desc(desc){}
61 BError writeVolumeHeader(
int rl);
63 BError writeBlockData(
char type,
const char* buf,
BUInt numBytes);
86 BUInt oblockNumberRead;
87 BUInt oblockNumberWrite;
88 BUInt oblocketteNumber;
96 BdsSeedType10 otype10;
97 BdsSeedType11 otype11;
98 BdsSeedType30 otype30;
99 BdsSeedType52 otype52;
113 BUInt odataTimeSpanBlock;
122 BUInt oabbrevUnitsCode;
struct MSRecord_s MSRecord
Definition: BdsDataFileSeed.h:13
This class provides full Metadata information on a channel.
Definition: BdsD.h:542
This class provides Metadata information on a set of channels.
Definition: BdsD.h:564
This class provides the actual Sensor data values contained within a single data block.
Definition: BdsD.h:707
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:170
static BError omsrErr
MSR processing error.
Definition: BdsDataFileSeed.h:44
BError writeData(const DataBlock &data)
Write a block of data.
Definition: BdsDataFileSeed.cpp:1245
void msrFileWrite(void *data, int len)
Definition: BdsDataFileSeed.cpp:1143
BError end()
End write segment.
Definition: BdsDataFileSeed.cpp:1218
BError getInfo(DataInfo &dataInfo, DataFileOptions options, BList< DataError > &errors)
Get info on data.
Definition: BdsDataFileSeed.cpp:281
BError setFormat(BString format)
Set the sub-format.
Definition: BdsDataFileSeed.cpp:209
BError setInfo(const DataInfo &dataInfo, const ChannelInfos &channelInfos, WriteOptionsList options=WriteOptionSensorData)
Set information on data for write.
Definition: BdsDataFileSeed.cpp:557
BError start(BUInt channel, BUInt segment)
Start writing next segment of data.
Definition: BdsDataFileSeed.cpp:1159
BError readData(BUInt32 channel, BUInt segment, BUInt32 blockNumber, DataBlock &data)
Read a block.
Definition: BdsDataFileSeed.cpp:445
BError getMetaData(ChannelInfos &channelInfos, BUInt32 options, BList< DataError > &errors)
Return all known MetaData in the file.
Definition: BdsDataFileSeed.cpp:532
DataFileSeed()
Definition: BdsDataFileSeed.cpp:134
static DataFormats getFormats()
Definition: BdsDataFileSeed.cpp:43
BString getFixesInfo()
Get readable list of fixes that can be applied to faulty data files.
Definition: BdsDataFileSeed.cpp:197
~DataFileSeed()
Definition: BdsDataFileSeed.cpp:158
int getFeatures()
Get bitmask of supported features.
Definition: BdsDataFileSeed.cpp:189
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:193
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:640
This class defines a seismic Response characteristic.
Definition: BdsD.h:311