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

BUG/ENH: scautoloc with historical playback and disabled networks/stations #104

Closed
luca-s opened this issue Mar 10, 2017 · 6 comments
Closed

Comments

@luca-s
Copy link
Contributor

luca-s commented Mar 10, 2017

I am running scautoloc in playback mode on some historical data and I noticed that scautoloc fails to use stations that are not active now but that were active at that time.

I had a look at the code and the problem is in here and here.

I am wondering if we could make the check on the network/station end date only if config.playback is disabled.

Thanks

@luca-s
Copy link
Contributor Author

luca-s commented Mar 10, 2017

Related to #23 but this is a proposal to make the check on end date dependent on playback flag)

@gempa-jabe
Copy link
Member

Actually just ignoring end time is not the right thing to do. If the station location was different at that time then it will not work. scautoloc has to lookup the correct network/station epoch for the time of the pick that it is processing. Another option is to pass a reference time along with the playback option but that is sometimes hard to figure out for a script, especially when you do a waveform playback. @jsaul

@luca-s
Copy link
Contributor Author

luca-s commented Mar 10, 2017

This makes sense and it 's probably too much effort to fix this particular case. I think a good improvements would be to log more information ("discarting this network/station because end date is ....") so that users can have a clue on what is happening inside scautoloc without looking at the code.

@jsaul
Copy link
Contributor

jsaul commented Mar 10, 2017 via email

@luca-s
Copy link
Contributor Author

luca-s commented Mar 10, 2017

--playback-reference-time would be a really good option but I would keep the idea of logging the station discarding anyway.

@gempa-jabe
Copy link
Member

Fixed.

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

No branches or pull requests

3 participants