markcwill / hashpy

Python wrapped fork of HASH first motion focal mechanism code.
62 stars 39 forks source link

self-contained example? #3

Open megies opened 10 years ago

megies commented 10 years ago

Hi Mark, I wanted to try this out but have trouble to get it running.. Have you got a self-contained example based on a QuakeML file?

markcwill commented 10 years ago

Hi @megies, thanks for trying it out! Short answer: I'll try and get you something ASAP next week if not today...

Long answer: I've got 3 main things to do for a 1.0 beta, move to Fortran 95 (done) add the S/P amplitude routines (done) and finish my tests with data/examples. We use database I/O and the obspy output for graphing. The ObsPy input is the only part that we don't use in production, so it's not tested very well, I hope to fix that soon.

d-chambers commented 8 years ago

Hey Mark, Did you ever get a self-contained example together?

markcwill commented 8 years ago

Hi @d-chambers -- no, but hopefully I'll have time to circle back around to updating hashpy this year. FYI, our production script is actually in the 'dev_curds' branch right now (here: hashpy/hashpy/scripts/dbhash.py).

We don't use QuakeML as input in our production system, so that was never a priority, hopefully that will change soon, or we'll at least use something similar (like JSON in QML schema) so I can make some nice integration tests!