hvasbath / beat

Bayesian Earthquake Analysis Tool
GNU General Public License v3.0
133 stars 42 forks source link

GF store out of bounds example 1 #139

Closed jieminWang closed 2 days ago

jieminWang commented 3 days ago

Dear vasyurhm: When i run the example 1 . FullMT, with the : beat sample FullMT. Show same things like this:

for ii_results, tcounters_dyn in _process_dynamic(

File "/home/wjm/virtualenvs/beat_env/lib/python3.10/site-packages/pyrocko/gf/seismosizer.py", line 5169, in process_dynamic_timeseries raise e pyrocko.gf.seismosizer.SeismosizerError: Seismosizer failed with return code 14 --- !pf.OutOfBoundsContext

I think there is a problem with the source parameters or the latitude and longitude of the station. Thanks!

jieminWang commented 3 days ago

I have anothor problem, how could i read and plot the *.pkl format data ?

hvasbath commented 3 days ago

Dear vasyurhm: When i run the example 1 . FullMT, with the : beat sample FullMT. Show same things like this:

for ii_results, tcounters_dyn in _process_dynamic(

File "/home/wjm/virtualenvs/beat_env/lib/python3.10/site-packages/pyrocko/gf/seismosizer.py", line 5169, in process_dynamic_timeseries raise e pyrocko.gf.seismosizer.SeismosizerError: Seismosizer failed with return code 14 --- !pf.OutOfBoundsContext

I think there is a problem with the source parameters or the latitude and longitude of the station. Thanks!

Please see beat FAQ https://pyrocko.org/beat/docs/current/faq.html point 6

hvasbath commented 3 days ago

I have anothor problem, how could i read and plot the *.pkl format data ?

from beat.utitlity import load_objects

data = load_objects("filename")

If the pkl contains waveforms you can also use the beat check functionality see tutorial 1: beat check FullMT --what='traces'

jieminWang commented 2 days ago

Thank you! I had make two errors in example 1. The first one is priors: depth: !beat.heart.Parameter name: depth form: Uniform lower: