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

Optionally include StationXML or QuakeML as 'enhanced metadata' #14

Open
ftilmann opened this issue Dec 9, 2020 · 0 comments
Open

Optionally include StationXML or QuakeML as 'enhanced metadata' #14

ftilmann opened this issue Dec 9, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@ftilmann
Copy link

ftilmann commented Dec 9, 2020

I was thinking a little bit more about the business of QuakeML and StationXML. While they should not be required, I think it might actually be helpful to optionally provide them. My idea would be to allow optional fields to the csv "stationxml", "QuakeML" and similarly to the waveform label, this would point to either a corresponding data structure within the hdf5 file, or to a separate file (I don't know which is better, I would consider this an implementation detail on which I am happy to delegate decision making). In this way seismologically proficient users of the library can access the richer information contained in the xml files, e.g. for doing their own instrument removal, while people coming from e.g. machine learning side can just ignore these fields and work with the time series as provided. Of course, there could be some issues, like inconsistencies between the csv fields and the QuakeML (or StationXML) file, but I don't think they would matter fundamentally, as long as the procedure is described clearly (it might even be a feature in some cases, as quakeML might, for example, refer to a different catalogue. These files would not exist for all benchmark data sets, of course, but StationXML is likely to be not to difficult to generate for many, and the responsibility would be with the 'dataloader' routine that converts to internal SeisBench format.
(migrated from suggestion made in issue #12 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant