check uniqueness of translation table
Definition at line 313 of file channeltranslation.cc.
References datrw::tsoft::SFFchannelid::auxid, datrw::tsoft::SFFchannelid::channel, datrw::tsoft::TSOFTchannelid::datatype, datrw::tsoft::TSOFTchannelid::instrument, datrw::tsoft::SFFchannelid::instrument, datrw::tsoft::TSOFTchannelid::location, schannelid(), datrw::tsoft::SFFchannelid::station, tchannelid(), translationtable, and datrw::tsoft::Channel::TSOFTname.
Referenced by datrw::itsoftstream::help(), and main().
317 while (pc1->TSOFTname != NULL)
321 const Channel* pc2=pc1;
323 while (pc2->TSOFTname != NULL)
327 if ((tci1.location==tci2.location)
328 && (tci1.instrument==tci2.instrument)
329 && (tci1.datatype==tci2.datatype))
331 std::cout <<
"ATTENTION: " 332 <<
"TSOFT entry appears twice in translation table:" 335 << tci1.location <<
":" 336 << tci1.instrument <<
":" 337 << tci1.datatype << std::endl;
340 if ((sci1.station==sci2.station)
341 && (sci1.channel==sci2.channel)
342 && (sci1.instrument==sci2.instrument)
343 && (sci1.auxid==sci2.auxid))
345 std::cout <<
"ATTENTION: " 346 <<
"SFF entry appears twice in translation table:" 349 << sci1.station <<
":" 350 << sci1.channel <<
":" 351 << sci1.instrument <<
":" 352 << sci1.auxid << std::endl;
const Channel translationtable[]
global variable: channel name translation tableThis table is specific for SG056 at BFO...
SFFchannelid schannelid(const Channel &ci)
split SFF channel description
TSOFTchannelid tchannelid(const Channel &ci)
split TSOFT channel description