[CIG-SHORT] HD5F output error
Brad Aagaard
baagaard at usgs.gov
Mon Jun 30 14:21:14 PDT 2014
Xiao,
I can only guess at what the problem is since you did not include the
entire error message or let us know which version of PyLith you are
using. In the future, please indicate which version of PyLith you are
using (it looks like you are using something prior to v2.0, which is the
current version) and the ENTIRE error message (everything written to
stdout is preferred).
It looks like you are using the wrong writer for the fault. You should
use DataWriterHDF5SubSubMesh (this only applies to v1.9 and before)
because the fault is a submesh and the fault fields are over the submesh.
Regards,
Brad
On 06/30/2014 02:10 PM, Ma, Xiao wrote:
> Hi,
> I am having some problem on writng output files in HDF5 Fomat.Here is the error messagae.
> ************************************************************
> TypeError: in method 'SubMeshOutputManager_writer', argument 2 of type 'pylith::
> meshio::DataWriter< pylith::topology::SubMesh,pylith::topology::Field< pylith::t
> opology::SubMesh > > *const'
> ************************************************************
> I am using the following code to output the information on the fault surface in HDF5 Fomat
>
> *************************************************************
> [pylithapp.timedependent.interfaces.fault.output]
> skip=0
> writer = pylith.meshio.DataWriterHDF5Mesh
> writer.filename=output/fault.h5
> vertex_data_fields = [slip,slip_rate,traction]
> *************************************************************
> Can you help me what is wrong?
> Best wishes,
> Xiao
>
>
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>
More information about the CIG-SHORT
mailing list