[CIG-SHORT] python function to read ExodusII files
Aagaard, Brad
baagaard at usgs.gov
Mon Dec 8 09:01:57 PST 2014
Christian,
PyLith uses the NetCDF library via C++ to read Exodus files.
I recommend the netCDF4 module (which we include in the PyLith binary) for
access to NetCDF files from Python. See
examples/meshing/cubit_cellsize/exodus_add_properties.py for an example of
how we add cell size information to an Exodus file.
Brad
On Mon, Dec 8, 2014 at 8:51 AM, Christian Baillard <
christian_baillard at hotmail.com> wrote:
> Hi all,
>
> I'm trying to read the exodus file output by Trelis using python
> functions. I just wondered which python functions is used by pylith to do
> it.
> Does it exist any python functions to read exodus file (either from the
> binary form or from the ASCII file -- after a *ncdump*)?
>
> Cheers,
>
> Christian
>
>
>
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141208/2e42ad97/attachment.html>
More information about the CIG-SHORT
mailing list