-
Notifications
You must be signed in to change notification settings - Fork 43
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
plotting issue(moment_rate) #128
Comments
Thanks for reporting! There is a bug in the code I/someone/you will need to fix. There is a missing input argument to the plot_exists function, the outputformat is missing. |
thanks, i'll try to fix it |
Thanks for reporting! I fixed it on the current master branch. Please update your local installation with the master branch and report back if it works for you now. If not please again report the error- locally it is working here. |
thanks. i'll test it today and notify you whether it works correctly or not. |
hello. previous error does not exist. but there is a new error due to fixed nucleation dip. models - INFO Analysing problem ... seismic - INFO Loading seismic data for event 0 from: /home/x_301025/project/HojedkEQ/seismic_data.pkl seismic - INFO Fault(s) discretized to 2.0 [km] patches. |
Same here, will be able to replicate once you provided the setup from the other issue. |
data.zip |
hi. after summarizing tried to plot the moment_rate but an error came up which implied that the plot is existed, but it is not. i checked the figures directory it's not there. i used -- force but the error still exists. appreciate any help.
that's the log:
2024-04-27 19:33:57,018 - seismic - INFO - Fault(s) discretized to 2.0 [km] patches.
2024-04-27 19:33:57,018 - config - INFO - not solving for utens, got fixed at 0.0
2024-04-27 19:33:57,018 - models - INFO - Using "none" regularization ...
2024-04-27 19:33:57,019 - backend - INFO - Loading multitrace from /home/x_301025/project/HojedkEQ/ffi/stage_-1
2024-04-27 19:33:57,711 - plotting.ffi - INFO - Drawing ensemble of 0 moment rate functions ...
2024-04-27 19:33:57,711 - plotting.ffi - INFO - Drawing total rates ...
2024-04-27 19:33:57,712 - plotting.ffi - INFO - Fault 1 / 1
2024-04-27 19:33:57,823 - beat - WARNING - Could not plot moment_rate got Error: plot_exists() missing 1 required positional argument: 'force'
Traceback (most recent call last):
File "/home/x_301025/src/miniconda/envs/beatenv/lib/python3.11/site-packages/beat/apps/beat.py", line 1958, in command_plot
plotting.plots_catalog[plot](problem, po)
File "/home/x_301025/src/miniconda/envs/beatenv/lib/python3.11/site-packages/beat/plotting/ffi.py", line 148, in draw_moment_rate
if plot_exists(outpath, po.force):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: plot_exists() missing 1 required positional argument: 'force'
The text was updated successfully, but these errors were encountered: