← Back to team overview

dolfin team mailing list archive

Re: binary file format

 

On Wed, Jan 14, 2009 at 08:59, Bartosz Sawicki <sawickib@xxxxxxxxxxxxx> wrote:
> For me, XDMF is worth to consider. But it should be treat as a new format in
> Dolfin, rather that an extention of already used XML.

Right, I wasn't suggesting that the existing format should be
abandoned in favor of XDMF, just that exactly this issue has been
addressed in XDMF and a fair amount of thought went into those
decisions.  Inlining binary data, encoded or otherwise, is very weird
in an XML file.  If it's big enough that binary matters, it's already
way bigger than you want to scan around in with a pager so I can't see
why you'd ever want it inlined.

> The other option is to have one binary file, and some utility displaying its internal structure (like h5dump).

I'm happy with plain HDF5 and think h5dump output is easier to read
than XML.  I don't know of any standards for arbitrarily high-order
elements which is why I created my own format.  This is a bummer
because then visualization plugins need to be written.

Jed


References