-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve handling of apparent duplicates from EQ realtime #60
Comments
Shouldn't we update with the newer one? |
They are both the same event. @ivanbusthomi shared with you his google doc explaining this. Can you take a look at that? |
|
from conversation with Pak Yedi from BMKG: the shakemap id is purely a timestamp reflecting generation time. There should not be duplicate IDs in the 'raw' (modelled) shakemaps from his department (earthquakes and tsunamis). Shakemaps coming from Pak Hartadi's department (earthquake engineering) are generated from scratch completely separately from accelerometer data and will most likely have a different id for the same event. So one can assume duplicates are events that match on location, depth, magnitude etc. |
Please use the following logic to search for and handle apparent duplicates. This logic handles wanted and unwanted duplicate and will help to identify links between original and post processed shakemaps |
If the process runs smoothly; the single record for a shakemap event (from the initial source) will be the most recent of any duplicates and will use the shakemap_id of this event. Its paired record will also be the most recent of any duplicates in the shakemap_processed events (from the post processed source). This paired record will assume a linking shakemap_id the same as its duplicate from the shakemap source.
Maybe @gubuntu or @timlinux can comment on the implementation plan |
|
|
The text was updated successfully, but these errors were encountered: