Skip to content
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

Fix analysissessions #267

Merged
merged 2 commits into from Mar 28, 2019
Merged

Fix analysissessions #267

merged 2 commits into from Mar 28, 2019

Conversation

tomkooij
Copy link
Member

Fix jSPARC analysisssessions

Related #237
Fixes #266

When ext_timestamp fields are read from datastore HDF5 files, they will be
type(numpy.uint64). These must be cast to int for split_ext_timestamp() to
work.
Read coincidences from datastore HDF5 files using sapphire.coincidence_query
coincidences is a generator that yields lists of (station_number, event) tuples.
Each coincidens is a list of such tuples.
save_coincidence() saves a single coincidence (muliple events/traces) to the database.
@tomkooij tomkooij merged commit 64fde48 into master Mar 28, 2019
@tomkooij tomkooij deleted the fix_analysissessions branch March 28, 2019 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant