-
Notifications
You must be signed in to change notification settings - Fork 90
BUG/ENH: scautoloc with historical playback and disabled networks/stations #104
Comments
Related to #23 but this is a proposal to make the check on end date dependent on playback flag) |
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 |
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. |
Thank you for reporting this. I agree that it would be best to implement
this by adding a parameter --playback-reference-time or so in order to
make it work correctly in the case of changing station coordinates (not
uncommon in temporary deployments).
|
--playback-reference-time would be a really good option but I would keep the idea of logging the station discarding anyway. |
Fixed. |
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
The text was updated successfully, but these errors were encountered: