BdsApi
2.2.7
This is the Blacknest BDS API.
|
ResponseObj(const Response &response)
Definition: BdsLib.cpp:14
BString osource
The data Source.
Definition: BdsLib.h:64
void bdsChannelGetTypeAux(BString name, BString &type, BString &aux)
Get the channel type and aux fields from a generic channel name.
Definition: BdsLib.cpp:180
This class defines information on a single channels set of data stored in a file.
Definition: BdsD.h:538
BString bdsDataChannelInfo(const DataChannel &dataChannel)
Returns a string representation of a DataChannel object.
Definition: BdsLib.cpp:692
BError bdsDataChannelOverallResponse(const ChannelInfo &channelInfo, Response &response)
Returns the overal response from the list of responses in a ChannelInfo.
Definition: BdsLib.cpp:705
This class defines a seismic station.
Definition: BdsD.h:181
BString ochannel
The channel name.
Definition: BdsLib.h:63
BInt32 oerrorNumber
Error number.
Definition: BdsLib.h:55
BString otitle
The title.
Definition: BdsLib.h:56
void bdsDumpSelection(Selection sel)
Debug print out a Selection object.
Definition: BdsLib.cpp:564
This class defines a Pole/Zero Response.
Definition: BdsD.h:221
BString bdsSelectionChannelInfo(const Selection &selection, BUInt channel)
Returns a string describing the name and time period of a selection channel.
Definition: BdsLib.cpp:718
BString ouser
The user.
Definition: BdsLib.h:65
char seedChannelInstrumentCode(BString dataType)
Returns SEED instrument code from dataType.
Definition: BdsLib.cpp:939
BString bdsFileNameExpand(BString fileName, ChannelInfo &channelInfo)
Default filename from a ChannelInfo.
Definition: BdsLib.cpp:800
void bdsDumpDataInfo(DataInfo dataInfo, int includeInfo)
Debug print out a DataInfo object.
Definition: BdsLib.cpp:587
BError bdsDataInfoMergeFlatten(DataInfo &dataInfo, const DataInfo &dataInfoAdd)
Merges a DataInfo into another flattening the segments to 1 for use in dataOpen() calls.
Definition: BdsLib.cpp:487
Bool bdsSpecialChannelIgnore(BString network, BString station, BString channel)
Check if channel should be ignored.
Definition: BdsLib.cpp:888
BString ofilename
The import filename;.
Definition: BdsLib.h:58
const int NetworkNameLen
Maximum Network name length.
Definition: BdsLib.h:18
~ResponseObj()
Definition: BdsLib.cpp:17
This class provides the acual seismic data values contained within a single data block.
Definition: BdsD.h:640
int getErrorNumber() const
Get The error number.
Definition: BdsLib.cpp:97
BTimeStamp ostartTime
The start Time.
Definition: BdsLib.h:59
This class defines a seismic Response characteristic.
Definition: BdsD.h:269
BString getTitle() const
Get the title.
Definition: BdsLib.cpp:101
BString seedChannelDataType(BString channel)
Returns dataType from channel name based on SEED channel name convention.
Definition: BdsLib.cpp:952
BError setString(BString str)
Set from string.
Definition: BdsLib.cpp:109
void bdsPoleZeroGainPhase(const PoleZero &poleZero, double frequency, double &gain, double &phase)
Calculates the overal gain and phase of the given PoleZero transfer function.
Definition: BdsLib.cpp:742
DataError()
Definition: BdsLib.cpp:39
This stores a data error. It includes and error number and a string as well as information on what se...
Definition: BdsLib.h:35
void bdsPoleZeroToFap(const PoleZero &poleZero, BUInt nPoints, double calibrationFrequency, double sampleFrequency, BArray< Fap > &fap)
Convert PoleZero to FAP.
Definition: BdsLib.cpp:762
BError bdsDataInfoFromInfo(BDictString info, DataInfo &dataInfo, Bool append)
Convert info to DataInfo.
Definition: BdsLib.cpp:217
const int ChannelTypeLen
Maximum Channel type name length.
Definition: BdsLib.h:20
BString onetwork
The network Name.
Definition: BdsLib.h:61
BString getString()
Definition: BdsLib.cpp:20
This class defines information on a set of data.
Definition: BdsD.h:573
Response object adding string conversion.
Definition: BdsLib.h:25
void bdsDumpData(const DataBlock &dataBlock, int nSamples)
Debug print out a DataBlock object.
Definition: BdsLib.cpp:664
void bdsDumpPoleZeros(PoleZero poleZeros)
Debug print out a PoleZeros object.
Definition: BdsLib.cpp:171
This class defines a generic metadata or seismic data selection.
Definition: BdsD.h:456
void mergeDataInfo(const DataInfo &dataInfo, BUInt channel)
Definition: BdsLib.cpp:65
This class defines the physical location of a Station.
Definition: BdsD.h:196
BString bdsChannelGetName(BString type, BString aux)
Create a full channel name from a channels type and aux fields.
Definition: BdsLib.cpp:187
double bdsPoleZeroGain(const PoleZero &poleZero, double frequency)
Calculates the overal gain of the given PoleZero transfer function.
Definition: BdsLib.cpp:725
BError bdsDataInfoSetTimeRange(DataInfo &dataInfo)
Restricts the time tange of all of the DataInfo's channels to match the DataInfo's startTime/endTime ...
Definition: BdsLib.cpp:195
BError setStringUser(BString str, BString user)
Set from string given by user on command line.
Definition: BdsLib.cpp:143
int num() const
Get The error number.
Definition: BdsLib.cpp:160
const int ChannelAuxLen
Maximum Channel Aux length.
Definition: BdsLib.h:21
BString getString() const
Get error message.
Definition: BdsLib.cpp:154
void bdsDumpLocation(Location location)
Debug printout location.
Definition: BdsLib.cpp:688
BOAP data class definitions for: Bds.
BString bdsStationAlias(Station station)
Returns the station alias if set else its name.
Definition: BdsLib.cpp:557
void bdsDumpChannelInfos(const ChannelInfos &channelInfos)
Debug print out a ChannelInfos object.
Definition: BdsLib.cpp:636
This class provides information on a channel.
Definition: BdsD.h:477
BString odescription
The description.
Definition: BdsLib.h:57
const char * str() const
Return a char* string.
Definition: BdsLib.cpp:164
BError bdsInfoFromDataInfo(const DataInfo &dataInfo, BDictString &info)
Converts a DataInfo object into a BDictString list of named strings.
Definition: BdsLib.cpp:339
const int StationNameLen
Maximum Station name length.
Definition: BdsLib.h:19
BList< SpecialChannel > bdsSpecialChannels()
Return list of special channels.
Definition: BdsLib.cpp:880
BString bdsDataChannelRef(const DataChannel &dataChannel)
Returns the string reference name of a DataChannel object.
Definition: BdsLib.cpp:697
BError bdsDataInfoFlatten(DataInfo &dataInfo)
Flattens a DataInfo to 1 segement per channel for use in dataOpen() calls.
Definition: BdsLib.cpp:466
BString ostation
The station/array name.
Definition: BdsLib.h:62
void setString(BString str)
Definition: BdsLib.cpp:35
DataError & set(int errorNumber, BString title, BString importFilename, BTimeStamp startTime, BTimeStamp endTime, DataInfo &dataInfo, BUInt channel, BString description, BString user="")
Definition: BdsLib.cpp:47
const int SourceLen
Maximum Source length.
Definition: BdsLib.h:22
BTimeStamp oendTime
The end Time.
Definition: BdsLib.h:60
This class provides metadata information on a set of channels.
Definition: BdsD.h:499