Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Scautoloc usage in Playback - Past epochs usage and end statement in the XML dataless - #23

Open
salichon opened this issue Mar 5, 2015 · 2 comments
Labels

Comments

@salichon
Copy link
Contributor

salichon commented Mar 5, 2015

If the Network, stream, sensorLocation label "" is set as a last statement in the dataless xml files, the station isn't processed in playback mode.

As precised by Jan:
scautoloc reads all stations from inventory where 'now' must match the epoch. This is actually a problem for playbacks of past data. scautoloc should use the stations information of the epoch that matches the pick time but this is currently not the case. Note that only the station itself is important, sensorLocation and stream information are not used at all.

See at least:/seiscomp3/src/trunk/apps/processing/scautoloc/app.cpp
and code lines:

DataModel::Network *network = inventory->network(n);

try {
if ( network->end() <= now )

continue;

}
catch ( ... ) {
for ( size_t s = 0; s < network->stationCount(); ++s ) {
DataModel::Station *station = network->station(s);
try {
if ( station->end() <= now )
continue;

NB:
A way to work around that issue is to remove the last statement
To be used with caution though if the dataless volume has a non-unique station history with several <\start>\ and <\end>\

@salichon salichon changed the title Scautoloc usage in Playback - Epochs and end statement in the XML datatless - Scautoloc usage in Playback - Past epochs usage and end statement in the XML dataless - Mar 5, 2015
@gempa-jabe gempa-jabe added the bug label Mar 5, 2015
@jsaul
Copy link
Contributor

jsaul commented Oct 11, 2018

I believe that this has been fixed now. Any feedback will be appreciated so that we can close the issue.

@salichon
Copy link
Contributor Author

salichon commented Oct 15, 2018

Hello @jsaul
thanks for reminding me this, it s very nice to have this fixed!
i ll proceed to some playbacks tests !

  • Use a SC3 inventory xml with some END date labels on a event occured before that date

  • Use Seiscomp3 version Upon October branch compilation or next release.

(see #197 , #196)
and fix in commit 136a1d6

Thanks @jsaul and @luca-s

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants