Usage of pylith_eqinfo

Hi.

I’m a graduated student and beginner of Pylith.

I build my model includes a small fault, moho surface, topography.
Currently, the properties are assigned from 3-D velocities model so the elastic properties are inhomogeneities.

The fault experiences an event which has Mw 5.8.
I calculate the uniform slip magnitude using area and single shear moduli.
Then, I impose one slip event on the fault surface.

I’d like crossly check deviation of simple calculation due to elastic imhomogity.

Pylith manual introduces few lines about “pylith_eqinfo”, however, I cannot understand the usage.

I try to put this command “pylith_eqinfo eqinfo.cfg”


eqinfo.cfg written like:

[fault]
faults = [g]
filename_pattern = ./fault_%s.h5

output_filename = Eqinfo_out.py

db_properties.label = Elastic properties
db_properties.iohandler.filename = ./data/gyeongju_mat_elastic.spatialdb

coordsys.space_dim = 3


I am looking forward to any comments.

Thanks in advance.

Sungho Lee

What is it that you do not understand? Are there specific parameters that you do not know how to set? If you get an error message, what is the error message?

Baagaard:

Thank you for the reply

No, I don’t know how to set “parameters” for pylith_eqinfo

The error message says like this

{default}::
– pyre.inventory(error)
– simpledb.label ← ‘’
– Descriptive label for spatial database not specified.
{default}::
– pyre.inventory(error)
– simpledb.simpleioascii.filename ← ‘’
– Filename for spatial database not specified.
eqinfo.cfg:3:
– pyre.inventory(error)
– test3.filename_pattern ← ‘test3-fault.h5’
– unknown component ‘test3’
eqinfo.cfg:4:
– pyre.inventory(error)
– test3.snapshots ← ‘[1]’
– unknown component ‘test3’
eqinfo.cfg:2:
– pyre.inventory(error)
– test3.output_filename ← ‘stats_test.py’
– unknown component ‘test3’
eqinfo.cfg:5:
– pyre.inventory(error)
– test3.snapshot_units ← ‘[day]’
– unknown component ‘test3’
eqinfo.cfg:9:
– pyre.inventory(error)
– test3.coordsys.space_dim ← ‘3’
– unknown component ‘test3.coordsys’
eqinfo.cfg:6:
– pyre.inventory(error)
– test3.db_properties.label ← ‘Elastic properties’
– unknown component ‘test3.db_properties’
eqinfo.cfg:7:
– pyre.inventory(error)
– test3.db_properties.iohandler.filename ← ‘mat_elastic.spatialdb’
– unknown component ‘test3.db_properties.iohandler’

I set like these lines:
[test3]
output_filename = stats_test.py
filename_pattern = test3-fault.h5
snapshots=[1]
snapshot_units=[day]
db_properties.label = Elastic properties
db_properties.iohandler.filename = mat_elastic.spatialdb

coordsys.space_dim = 3

Sungho

I’ve resolved the problem, it was simple mistake.

Thank you

Sungho