-
Notifications
You must be signed in to change notification settings - Fork 42
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
Error when running beat import Laquila #88
Comments
Dear @emiliaxin , thanks a lot for reporting. I was recently working on many improvements regarding plotting functionality here: d868a11 This included a fix for your reported problem. If the problem persists please let me know! |
Hi @hvasbath models - INFO Analysing problem ... geodetic - INFO Number of geodetic datasets: 2 beat - INFO Geodetic datatype listed-importing ... |
Uh thats an error in the documentation. Now it tries to import seismic inversion results from the static slip distribution estimation. Of course this cannot work. I will change that command-line in the docs. It must be:
Thanks again for reporting! |
Sorry for disturbing you again. (beat) a@a-virtual-machine:~$ beat import Laquila_kinematic --results=Laquila --mode=ffi --datatypes=geodetic --import_from_mode=ffi models - INFO Analysing problem ... geodetic - INFO Number of geodetic datasets: 2 beat - INFO Geodetic datatype listed-importing ... During handling of the above exception, another exception occurred: Traceback (most recent call last): |
I made another update to the master branch. Can you please update and try again? I am sorry, I should run these tutorials again myself. |
Hi @hvasbath (beat) a@a-virtual-machine:~$ beat import Laquila_kinematic --results=Laquila --mode=ffi --datatypes=geodetic --import_from_mode=ffi models - INFO Analysing problem ... geodetic - INFO Number of geodetic datasets: 2 beat - INFO Geodetic datatype listed-importing ... During handling of the above exception, another exception occurred: Traceback (most recent call last): Did I do something wrong? |
It seems sth in your update must have gone wrong. Your code is still on the version prior to the fix. Please repeat. |
Dear @hvasbath , Besides, I reinstalled ubuntu 20.04.3, Anaconda3-2021.05-Linux-x86_64, beat. I ran example 5 and still got the same error. Also, I noticed that the slip-distribution was missing the legend when I ran the beat tutorial Example 4, and I uploaded the Example 4 result comparison chart. The error message is: models - INFO Analysing problem ... geodetic - INFO Number of geodetic datasets: 2 beat - INFO Geodetic datatype listed-importing ... The above exception was the direct cause of the following exception: Traceback (most recent call last): |
Dear @emiliaxin , thanks a lot for your patience! Yes the plots changed a bit- the arrow was removed on purpose as it did not add much information. Hannes |
Dear @emiliaxin did you have time to retry? Is it working now? |
Hi @hvasbath , |
Awesome! WIll mark as resolved then. |
Hi,
I meet this error when I running the BEAT tutorial Example 4:TypeError: get_result_point() takes from 1 to 2 positional arguments but 3 were given.
Before I ran beat import Laquila --results=Laquila --mode='ffi' --datatypes=geodetic --import_from_mode=geometry, I ran: beat init Laquila --mode='ffi' --datatypes=geodetic.
The error message is:
(beat) a@a-virtual-machine:~$ beat import Laquila --results=Laquila --mode='ffi' --datatypes=geodetic --import_from_mode=geometry
beat - INFO Attempting to load results with mode geometry to config_ffi.yaml from directory: Laquila
config - INFO All hierarchicals ok!
config - INFO All hyperparameters ok!
config - INFO All priors ok!
config - INFO All hierarchicals ok!
config - INFO All hyperparameters ok!
config - INFO All priors ok!
models - INFO ... Initialising Geometry Optimizer ...
models - INFO Analysing problem ...
models - INFO ---------------------
geodetic - INFO Number of geodetic datasets: 2
geodetic - INFO Number of geodetic data points: 419
geodetic - WARNING Covariance estimation not implemented (yet)! Using imported covariances!
geodetic - INFO Initialising corrections ...
heart - INFO Setting up Ramps correction for Laquila_dscxn
heart - INFO Not correcting Laquila_dscxn for Euler Pole
heart - INFO Not correcting Laquila_dscxn for Strain Rate
heart - INFO Setting up Ramps correction for Laquila_ascxn
heart - INFO Not correcting Laquila_ascxn for Euler Pole
heart - INFO Not correcting Laquila_ascxn for Strain Rate
seismic - INFO Loading seismic data for event 0 from: /home/a/Laquila/seismic_data.pkl
heart - INFO Consistent number of datasets and targets in any_P_0 wavemap!
heart - INFO Number of seismic datasets for wavemap: any_P_0: 35
backend - INFO Loading multitrace from /home/a/Laquila/geometry/stage_-1
Traceback (most recent call last):
File "/home/a/anaconda3/envs/beat/bin/beat", line 33, in
sys.exit(load_entry_point('beat==1.1', 'console_scripts', 'beat')())
File "/home/a/anaconda3/envs/beat/lib/python3.6/site-packages/beat-1.1-py3.6-linux-x86_64.egg/beat/apps/beat.py", line 2127, in main
globals()'command_' + command
File "/home/a/anaconda3/envs/beat/lib/python3.6/site-packages/beat-1.1-py3.6-linux-x86_64.egg/beat/apps/beat.py", line 506, in command_import
point = plotting.get_result_point(stage, problem.config, 'max')
TypeError: get_result_point() takes from 1 to 2 positional arguments but 3 were given
Here is the log.
config_ffi.yaml.txt
config_geometry.yaml.txt
Could you please give me some suggestions?
Thank you
The text was updated successfully, but these errors were encountered: