Skip to content

fix ensemble converter bug#410

Open
pavlis wants to merge 5 commits intomasterfrom
fix_converter
Open

fix ensemble converter bug#410
pavlis wants to merge 5 commits intomasterfrom
fix_converter

Conversation

@pavlis
Copy link
Copy Markdown
Collaborator

@pavlis pavlis commented Apr 12, 2023

This branch fixes a serious bug in handling ensemble data. When obspy functions were applied to ensembles the previous version obspy functions would create output that caused
the database save method to abort. The problem was related to
a subtle mishandling of an internal set container used to handle the
conversion of ensemble Metadata. This commit fixes the problem
but hasn't been verified with pytest. It shouldn't fail but could. My fix was tested on a subset of the 2012 usarray data and it solved the problem. Look at my fixes with a bit of skepticism to see if there is a cleaner solution. The way the decorators are interwoven made this hard to track so changes from what I suggest should be done cautiously.

ensemble data with obspy functions would create output that caused
the database save method to abort.   The problem was related to
a subtle mishandling of an internal set container used to handle the
conversion of ensemble Metadata.  This commit fixes the problem
but hasn't been verified with pytest.  It shouldn't fail but could.
@Aristoeu Aristoeu mentioned this pull request Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants