Closed funkes closed 4 years ago
Changing last line to
a = trpl.DistanceIMTTrellis(magnitude, distances, gmpe_list, imts, params, distance_type="rjb", plot_type="loglog", figure_size=(7,5), filename="/home/thomas/Documents/Forschungsseminar/trellis_test_distance_output", filetype="png")
a.plot()
solved this more formal problem.
As a newbie I try to create a figure like fig.4.1 from https://github.com/GEMScienceTools/gmpe-smtk-docs/blob/master/gmpe_smtk_guide.pdf "Scaling of GMPEs with respect to magnitude". The installation of openquake and gmpe-smtk worked well, the python code fills the parameters for the plotting calls well, but one plotting call is finished immediately without result or error message.
Some data to my system:
here my tested code:
File rup_dist_plot.pdf looks well, and a nice picture is popping up, but file distance_IMT_trellis.pdf is missing.
Should I add further info? Any suggestion is greatly appreciated.