Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add SC3ML event read module #1848
I did the SC3ML event write module some time ago, here is the read module!
Once again, an XSLT is used to convert SC3ML file to a QuakeML file. This QuakeML file is then read with the QuakeML module. The original XSLT file was created by Stephan Herrnkind who kindly changed its license from GPL to LGPL to be compatible with the ObsPy license, thank you very much to him! I added some modifications which are indicated in the file itself.
I also bring some modifications to the write module. The version attribute have been added to the root node (optional but used in the
Looks good from a first glance. @Jollyfant you're more into this topic I think, maybe you can give this a review when you have some free time?
One flake8 fail (see CircleCI log):
I just wanted to fix the regex and the assert and I finally refactored a little more…
I create a new file